Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
7s 099ms
And
Create task with new status by JSON file "NEW_STATUS_SMALLS_IMPORT" as "super-admin-skz"
461ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
2s 242ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
635ms
When
Accept or reject "accept" transferred transport
19s 510ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
019ms
And
Click button advice in transport table "SMALLS_IMPORT"
255ms
And
Set advice window in schedule
4s 054ms
And
Fill advice form
15s 059ms
java.lang.AssertionError: Nie można wypełnić pola terms-of-condition, ponieważ nie udało się go znaleźć w formularzu
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.Transport.fillForm(Transport.java:152)
at CucumberTests.Transport.AdviceTransport.fillAdviceForm(AdviceTransport.java:117)
at ✽.Fill advice form(file:Features/Atom/Statuses/ConfirmStatuses.feature:351)
And
Click advice save button and wait for advice form to disappear
000ms
And
If user is login then logout
000ms
And
Login as "swisskrono-admin"
000ms
And
Show all transport types
000ms
Then
Check if transport has "testowy-różoffy-statusik"
000ms
And
Go to "SETTINGS_TAB"
000ms
When
Disable status "testowy-różoffy-statusik" for transport "SMALLS_IMPORT"
000ms
And
Delete created transport by API
000ms
Then
If user is login then logout
000ms
Given
Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz"
000ms
And
Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz"
000ms
And
Transfer transport to carrier by JSON file "super-admin-skz" "true" confirmation
000ms
When
Accept or reject "accept" transferred transport
000ms
And
Get inputs from database "ADVICE_SMALLS" "super-admin-skz"
000ms
And
Click button advice in transport table "SMALLS_IMPORT"
000ms
And
Set advice window in schedule
000ms
And
Fill advice form
000ms
And
Click advice save button and wait for advice form to disappear
000ms
And
If user is login then logout
000ms
And
Login as "swisskrono-admin"
000ms
And
Show all transport types
000ms
Then
Check if transport has disabled status "testowy-różoffy-statusik"
000ms