Given
Set token of apiUsername "super-admin-adama"
219ms
And
Set basic authorities "ROLE_USERS_TAB;ROLE_EDIT_ALL_USERS;ROLE_EDIT_USERS_MAIN_DATA" to user "adama-buyer@qa.qa-test"
452ms
And
Set user details json of user "oaa1-receiver@qa.qa-test"
015ms
When
Login as "adama-buyer@qa.qa-test"
5s 892ms
And
Go to "USERS_TAB"
3s 065ms
And
Find user "oaa1-receiver@qa.qa-test"
2s 729ms
And
Unselect warehouse "Magazyn S7" access
438ms
Then
Save user details
983ms
And
Verify if "Magazyn S7" is not visible in user warehouses section
5s 016ms
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)