Given
Set token of apiUsername "super-admin-adama"
227ms
And
Set basic authorities "ROLE_USERS_TAB;ROLE_EDIT_ALL_USERS;ROLE_EDIT_USERS_MAIN_DATA" to user "adama-buyer@qa.qa-test"
427ms
And
Set user details json of user "oaa1-receiver@qa.qa-test"
014ms
When
Login as "adama-buyer@qa.qa-test"
5s 742ms
And
Go to "USERS_TAB"
3s 007ms
And
Find user "oaa1-receiver@qa.qa-test"
2s 929ms
And
Unselect warehouse "Magazyn S7" access
424ms
Then
Save user details
1s 008ms
And
Verify if "Magazyn S7" is not visible in user warehouses section
5s 541ms
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)