Given
Set token of apiUsername "super-admin-adama"
236ms
And
Set basic authorities "ROLE_USERS_TAB;ROLE_EDIT_ALL_USERS;ROLE_EDIT_USERS_MAIN_DATA" to user "adama-buyer@qa.qa-test"
456ms
And
Set user details json of user "oaa1-receiver@qa.qa-test"
015ms
When
Login as "adama-buyer@qa.qa-test"
5s 839ms
And
Go to "USERS_TAB"
2s 976ms
And
Find user "oaa1-receiver@qa.qa-test"
3s 760ms
And
Unselect warehouse "Magazyn S7" access
427ms
Then
Save user details
981ms
And
Verify if "Magazyn S7" is not visible in user warehouses section
5s 043ms
java.lang.AssertionError: Magazyn jest nadal widoczny w szczegółach użytkownika
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at CucumberTests.User.EditUserTest.verifyIfWarehouseNameIsNotVisibleInUserWarehousesSection(EditUserTest.java:282)
at ✽.Verify if "Magazyn S7" is not visible in user warehouses section(file:Features/Atom/Users/UserAuthority.feature:71)