Given
Set token of apiUsername "super-admin-adama"
346ms
And
Add licence to apply "ADD_NEW_LICENCE" by JSON file as "super-admin-adama"
466ms
When
Login as "adama-admin"
2s 180ms
Then
Go to "CARRIER_TAB"
1s
And
Go to company "Przewoźnik Adama Automat 1" details
682ms
And
Expand "LICENCE_SECTION" section
1s 009ms
And
Confirm document in section
234ms
And
Expand "LICENCE_SECTION" section
145ms
Then
Check if new document expiration date is correct
154ms
org.junit.ComparisonFailure: expected:<1[3].06.2021> but was:<1[2].06.2021>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at CucumberTests.Applies.AppliesTest.checkExpirationDate(AppliesTest.java:79)
at ✽.Check if new document expiration date is correct(file:Features/Atom/Applies/Applies.feature:13)