Scenario Outline
Check if it is possible to confirm statuses by SkApi
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
6s 167ms
When
Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz"
3s 681ms
And
Add transport by SKApi in "MGW"
2s 444ms
And
Check is transport "TRANSPORT_ORDER" created in transport table and set transport id
1m 33s 550ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiConfirmStatuses.feature:8)
And
Click button advice in transport table "TRANSPORT_ORDER"
000ms
And
Set advice window in schedule
000ms
And
Get inputs from database "CREATE_ADVICE" "super-admin-skz"
000ms
And
Fill advice form
000ms
And
Click advice save button and wait for advice form to disappear
000ms
And
Find transport in table with status "planned"
000ms
And
Confirm statuses until reach "left-the-factory" through SKAPI
000ms
Then
Check if transport has "left-the-factory"
000ms
After
Hooks.deleteTransportAfterTest()
013ms
Scenario Outline
Check if it possible to create new transport by SKApi
Given
Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz"
049ms
And
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 587ms
When
Add transport by SKApi in "MGW"
028ms
Then
Check is transport "TRANSPORT_ORDER" created in transport table and set transport id
1m 33s 600ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "TRANSPORT_ORDER"
000ms
Then
Check are transport values equals
000ms
After
Hooks.deleteTransportAfterTest()
005ms
Scenario Outline
Check if it possible to create new transport by SKApi
Given
Get inputs from database "CREATE_CONTAINER" "super-admin-skz"
027ms
And
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 426ms
When
Add transport by SKApi in "MGW"
026ms
Then
Check is transport "CONTAINER" created in transport table and set transport id
1m 33s 489ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "CONTAINER"
000ms
Then
Check are transport values equals
000ms
After
Hooks.deleteTransportAfterTest()
007ms
Scenario Outline
Check if it possible to create new transport by SKApi
Given
Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz"
022ms
And
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 577ms
When
Add transport by SKApi in "MGW"
024ms
Then
Check is transport "OWN_COLLECTION" created in transport table and set transport id
1m 33s 514ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "OWN_COLLECTION"
000ms
Then
Check are transport values equals
000ms
After
Hooks.deleteTransportAfterTest()
005ms
Scenario Outline
Check if it possible to create new transport by SKApi
Given
Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz"
029ms
And
Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz"
3s 615ms
When
Add transport by SKApi in "HRL"
023ms
Then
Check is transport "TRANSPORT_ORDER" created in transport table and set transport id
1m 33s 582ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "TRANSPORT_ORDER"
000ms
Then
Check are transport values equals
000ms
After
Hooks.deleteTransportAfterTest()
002ms
Scenario Outline
Check if it possible to create new transport by SKApi
Given
Get inputs from database "CREATE_CONTAINER" "super-admin-skz"
024ms
And
Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz"
2s 474ms
When
Add transport by SKApi in "HRL"
019ms
Then
Check is transport "CONTAINER" created in transport table and set transport id
1m 33s 539ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "CONTAINER"
000ms
Then
Check are transport values equals
000ms
After
Hooks.deleteTransportAfterTest()
004ms
Scenario Outline
Check if it possible to create new transport by SKApi
Given
Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz"
024ms
And
Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz"
2s 410ms
When
Add transport by SKApi in "HRL"
023ms
Then
Check is transport "OWN_COLLECTION" created in transport table and set transport id
1m 33s 601ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:8)
And
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "OWN_COLLECTION"
000ms
Then
Check are transport values equals
000ms
After
Hooks.deleteTransportAfterTest()
004ms
Scenario Outline
Check if it possible to create new transport by SKApi with specific client name
Given
Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz"
022ms
And
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 550ms
And
Set another client name "Pepsi"
001ms
When
Add transport by SKApi in "MGW"
022ms
Then
Check is transport "TRANSPORT_ORDER" created in transport table and set transport id
1m 33s 483ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:27)
And
Check client name in database "Pepsi" "TRANSPORT_ORDER"
000ms
After
Hooks.deleteTransportAfterTest()
001ms
Scenario Outline
Check if it transport created by SKApi without `warehouse_alias` field is in default warehouse
Given
Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz"
025ms
And
Login as "swisskrono-admin-10" and set token of apiUsername "super-admin-skz"
2s 499ms
When
Add transport by SKApi in ""
026ms
Then
Check is transport "TRANSPORT_ORDER" created in transport table and set transport id
1m 33s 517ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransport.feature:38)
And
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "TRANSPORT_ORDER"
000ms
Then
Check if transport has warehouse "MGW" in step section "0"
000ms
After
Hooks.deleteTransportAfterTest()
002ms
Scenario Outline
Check if it possible to advice transport when transport is created by sk API
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 549ms
And
Get inputs from database "CREATE_CONTAINER" "super-admin-skz"
022ms
And
Add transport by SKApi in "MGW"
022ms
And
Get inputs from database "CREATE_ADVICE" "super-admin-skz"
018ms
And
Check is transport "CONTAINER" created in transport table and set transport id
1m 33s 545ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:10)
When
Click button advice in transport table "CONTAINER"
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
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "CONTAINER"
000ms
Then
Check are advice values equals
000ms
After
Hooks.deleteTransportAfterTest()
002ms
Scenario Outline
Check if it possible to advice transport when transport is created by sk API
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 457ms
And
Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz"
027ms
And
Add transport by SKApi in "MGW"
022ms
And
Get inputs from database "CREATE_ADVICE" "super-admin-skz"
020ms
And
Check is transport "OWN_COLLECTION" created in transport table and set transport id
1m 33s 619ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:10)
When
Click button advice in transport table "OWN_COLLECTION"
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
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "OWN_COLLECTION"
000ms
Then
Check are advice values equals
000ms
After
Hooks.deleteTransportAfterTest()
002ms
Scenario Outline
Check if it possible to advice transport when transport is created by sk API
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 400ms
And
Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz"
026ms
And
Add transport by SKApi in "MGW"
020ms
And
Get inputs from database "CREATE_ADVICE" "super-admin-skz"
019ms
And
Check is transport "TRANSPORT_ORDER" created in transport table and set transport id
1m 33s 618ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:10)
When
Click button advice in transport table "TRANSPORT_ORDER"
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
Go to "TRANSPORT_TABLE"
000ms
And
Go to transport details "TRANSPORT_ORDER"
000ms
Then
Check are advice values equals
000ms
After
Hooks.deleteTransportAfterTest()
002ms
Scenario Outline
Verify that advice data are saved properly
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 457ms
And
Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz"
024ms
And
Add transport by SKApi in "MGW"
022ms
And
Get inputs from database "CREATE_ADVICE" "super-admin-skz"
016ms
And
Check is transport "OWN_COLLECTION" created in transport table and set transport id
1m 33s 523ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:31)
When
Click button advice in transport table "OWN_COLLECTION"
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
Go to "TRANSPORT_TABLE"
000ms
Then
Check advice data in SK API database "OWN_COLLECTION"
000ms
After
Hooks.deleteTransportAfterTest()
003ms
Scenario Outline
Verify that advice data are saved properly
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 476ms
And
Get inputs from database "CREATE_CONTAINER" "super-admin-skz"
024ms
And
Add transport by SKApi in "MGW"
021ms
And
Get inputs from database "CREATE_ADVICE" "super-admin-skz"
020ms
And
Check is transport "CONTAINER" created in transport table and set transport id
1m 33s 586ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:31)
When
Click button advice in transport table "CONTAINER"
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
Go to "TRANSPORT_TABLE"
000ms
Then
Check advice data in SK API database "CONTAINER"
000ms
After
Hooks.deleteTransportAfterTest()
001ms
Scenario Outline
Verify that advice data are saved properly
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 382ms
And
Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz"
023ms
And
Add transport by SKApi in "MGW"
023ms
And
Get inputs from database "CREATE_ADVICE" "super-admin-skz"
019ms
And
Check is transport "TRANSPORT_ORDER" created in transport table and set transport id
1m 33s 557ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:31)
When
Click button advice in transport table "TRANSPORT_ORDER"
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
Go to "TRANSPORT_TABLE"
000ms
Then
Check advice data in SK API database "TRANSPORT_ORDER"
000ms
After
Hooks.deleteTransportAfterTest()
001ms
Scenario Outline
Check if not possible to advice transport in the past when advice is created from transports table and transport is created by sk API
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 512ms
And
Get inputs from database "CREATE_CONTAINER" "super-admin-skz"
026ms
And
Add transport by SKApi in "MGW"
027ms
And
Get inputs from database "CREATE_ADVICE" "super-admin-skz"
018ms
And
Check is transport "CONTAINER" created in transport table and set transport id
1m 33s 630ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:50)
When
Click button advice in transport table "CONTAINER"
000ms
And
Set advice window in schedule in the past
000ms
And
Fill advice form
000ms
And
Click advice save button to check error message
000ms
Then
Check if possible advice alert is displayed
000ms
After
Hooks.deleteTransportAfterTest()
011ms
Scenario Outline
Check if advice data saved in SK API database after edition
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 580ms
And
Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz"
024ms
And
Add transport by SKApi in "MGW"
025ms
And
Get inputs from database "EDIT_ADVICE" "super-admin-skz"
017ms
And
Check is transport "OWN_COLLECTION" created in transport table and set transport id
1m 33s 668ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "OWN_COLLECTION" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:67)
And
Create advice "CREATE_ADVICE" "OWN_COLLECTION" "super-admin-skz"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
When
Go to transport details "OWN_COLLECTION"
000ms
And
Expand advice panel
000ms
And
Edit advice in transport details
000ms
And
Fill arrival date field
000ms
And
Click "save-transport-and-close" save button and wait for form to disappear
000ms
Then
Check advice data in database after edition "OWN_COLLECTION"
000ms
After
Hooks.deleteTransportAfterTest()
002ms
Scenario Outline
Check if advice data saved in SK API database after edition
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 436ms
And
Get inputs from database "CREATE_CONTAINER" "super-admin-skz"
024ms
And
Add transport by SKApi in "MGW"
021ms
And
Get inputs from database "EDIT_ADVICE" "super-admin-skz"
017ms
And
Check is transport "CONTAINER" created in transport table and set transport id
1m 33s 604ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "CONTAINER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:67)
And
Create advice "CREATE_ADVICE" "CONTAINER" "super-admin-skz"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
When
Go to transport details "CONTAINER"
000ms
And
Expand advice panel
000ms
And
Edit advice in transport details
000ms
And
Fill arrival date field
000ms
And
Click "save-transport-and-close" save button and wait for form to disappear
000ms
Then
Check advice data in database after edition "CONTAINER"
000ms
After
Hooks.deleteTransportAfterTest()
001ms
Scenario Outline
Check if advice data saved in SK API database after edition
The scenario checks if you can correctly edit an advice. After that the correctness of the data that has been sent to the SK API microservice database is also verified.
Given
Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz"
2s 353ms
And
Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz"
024ms
And
Add transport by SKApi in "MGW"
025ms
And
Get inputs from database "EDIT_ADVICE" "super-admin-skz"
018ms
And
Check is transport "TRANSPORT_ORDER" created in transport table and set transport id
1m 33s 620ms
java.lang.AssertionError: Dodane zlecenie nie pojawiło się na stronie
at org.junit.Assert.fail(Assert.java:88)
at CucumberTests.Transport.CreateTransport.checkIsTransportCreatedInTransportTable(CreateTransport.java:162)
at ✽.Check is transport "TRANSPORT_ORDER" created in transport table and set transport id(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:67)
And
Create advice "CREATE_ADVICE" "TRANSPORT_ORDER" "super-admin-skz"
000ms
And
Go to "TRANSPORT_TABLE"
000ms
When
Go to transport details "TRANSPORT_ORDER"
000ms
And
Expand advice panel
000ms
And
Edit advice in transport details
000ms
And
Fill arrival date field
000ms
And
Click "save-transport-and-close" save button and wait for form to disappear
000ms
Then
Check advice data in database after edition "TRANSPORT_ORDER"
000ms
After
Hooks.deleteTransportAfterTest()
001ms