Project Number Date
ApolloFullRunnerReport kapibary.37 12 cze 2021, 04:30

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport transfer full scenario 26 1 0 0 0 27 1 1 2 4m 4s 943ms Failed
Feature Transport transfer full scenario
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 677ms
And Get inputs from database "CREATE_TRANSPOSRT_ORDER" "super-admin-adama" 034ms
When Go to new transport "TRANSPORT" 799ms
And Fill transport form 29s 152ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 395ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 5s 233ms
And Check is transport "TRANSPORT" created in transport table and set transport id 1s 340ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 578ms
And Accept or reject "reject" transferred transport 17s 680ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 502ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 20s 239ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 2s 603ms
And Accept or reject "accept" transferred transport 17s 948ms
Then Verify that transport is accept or reject "accept" 055ms
After Hooks.deleteTransportAfterTest() 508ms
Scenario Outline Check if possible to edit transport after advice cancellation.
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 888ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 035ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 049ms
When Show all transport types 1s 156ms
And Click button advice in transport table "DELIVERY" 253ms
And Set advice window in schedule 3s 420ms
And Click button cancel in advice form 16s 154ms
And Go to "TRANSPORT_TABLE" 518ms
When Go to transport details "DELIVERY" 4s 834ms
And Fill transport form 1m 8s 768ms
And Click "save-transport-and-close" save button and wait for form to disappear 17s 472ms
And Go to transport details "DELIVERY" 4s 857ms
Then Check are transport values equals 292ms
org.junit.ComparisonFailure: Wartości w formularzu w polu CARRIER są niepoprawne, wartość na stronie: Przewo?nik Piast Automaty 1 wartość poprawna: Przewoźnik Piast Automat 2 expected: but was:
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Transport.Transport.checkAreValuesEquals(Transport.java:122)
	at CucumberTests.Transport.Transport.checkValueInTransportDetails(Transport.java:261)
	at CucumberTests.Transport.CreateTransport.checkTransportValues(CreateTransport.java:225)
	at ✽.Check are transport values equals(file:Features/Scenario/TransportTransfer.feature:39)
After Hooks.deleteTransportAfterTest() 770ms