Given
Login as "super-admin-skd" and set token of apiUsername "super-admin-skd"
1s 001ms
And
Set basic authorities "ROLE_CLASSIFICATION_TAB;ROLE_QUEUES_TAB" to user "super-admin-skd"
082ms
And
Create square with "Plac automaty 1" by JSON file as "super-admin-skd"
043ms
And
Create queue with "Kolejka automaty 1" by JSON file as "super-admin-skd"
084ms
And
Create place with "Miejsce automaty 1" by JSON file as "super-admin-skd"
044ms
When
Go to "SETTINGS_TAB"
297ms
And
Click "Plac automaty 1" edit square button
1s 109ms
And
Click "Miejsce automaty 1" edit place button
1s 113ms
And
Click delete squares object button and confirm alert
2s 045ms
Then
Go to "QUEUES_TAB"
237ms
And
Refresh page
2s 156ms
And
Go to square: "Plac automaty 1"
051ms
And
Verify that "Miejsce 1" is not visible in page
1s 010ms
java.lang.AssertionError: Miejsce 1 jest nadal widoczny na stronie
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertFalse(Assert.java:64)
at CucumberTests.Squares.EditSquare.verifyThatObjectVisibleInPage(EditSquare.java:52)
at ✽.Verify that "Miejsce 1" is not visible in page(file:Features/Atom/Squares/Squares.feature:160)