Project Number Date
ApolloFullRunnerReport master.338 08 mar 2021, 05:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Status 14 2 0 0 0 16 0 2 2 1m 24s 434ms Failed
Feature Status
Scenario Outline Check if after created transport without advice, transport has checkpoints only from "preparation" section
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 127ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 199ms
When Find transport in table with status "new" 1s 159ms
And Open statuses popup 100ms
Then Check if transport has checkpoints from list "Utworzenie zlecenia,Dodanie awizacji,Potwierdzenie okna czasowego" in "0" 15s 041ms
org.junit.ComparisonFailure: Lista statusów jest niepoprawna expected:<[Utworzenie zlecenia,Dodanie awizacji,Potwierdzenie okna czasowego]> but was:<[]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.StatusTests.ConfirmStatuses.checkIfTransportHasCheckpointsFromListInGroup(ConfirmStatuses.java:103)
	at ✽.Check if transport has checkpoints from list "Utworzenie zlecenia,Dodanie awizacji,Potwierdzenie okna czasowego" in "0"(file:Features/Atom/Statuses/Statuses.feature:9)
After Hooks.deleteTransportAfterTest() 093ms
Scenario Outline Check if after added advice, checkpoints are generated from "steps" section
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 185ms
And Get inputs from database "ADVICE_EXTERNAL_DELIVERY" "super-admin-farmacol" 002ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 198ms
And Click button advice in transport table "EXTERNAL_DELIVERY" 157ms
And Set advice window in schedule 2s 750ms
And Fill advice form 12s 253ms
And Click advice save button and wait for advice form to disappear 30s 780ms
And Go to "TRANSPORT_TABLE" 193ms
When Find transport in table with status "advice-added" 1s 164ms
And Open statuses popup 104ms
Then Check if transport has checkpoints from list "Zgłoszenie kierowcy,Rozpoczęcie rozładunku,Zakończenie rozładunku" in "1" 15s 015ms
org.junit.ComparisonFailure: Lista statusów jest niepoprawna expected:<[Zgłoszenie kierowcy,Rozpoczęcie rozładunku,Zakończenie rozładunku]> but was:<[]>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.StatusTests.ConfirmStatuses.checkIfTransportHasCheckpointsFromListInGroup(ConfirmStatuses.java:103)
	at ✽.Check if transport has checkpoints from list "Zgłoszenie kierowcy,Rozpoczęcie rozładunku,Zakończenie rozładunku" in "1"(file:Features/Atom/Statuses/Statuses.feature:26)
After Hooks.deleteTransportAfterTest() 138ms