Project Number Date
ApolloFullRunnerReport A-7183.341 15 mar 2021, 05:07

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Status 26 2 0 0 0 28 1 2 3 1m 57s 056ms 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" 1s 134ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 179ms
When Find transport in table with status "new" 3s 211ms
And Open statuses popup 094ms
Then Check if transport has checkpoints from list "Utworzenie zlecenia,Dodanie awizacji,Potwierdzenie okna czasowego" in "0" 15s 045ms
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:130)
	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() 056ms
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 150ms
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 191ms
And Click button advice in transport table "EXTERNAL_DELIVERY" 117ms
And Set advice window in schedule 2s 625ms
And Fill advice form 12s 239ms
And Click advice save button and wait for advice form to disappear 30s 718ms
And Go to "TRANSPORT_TABLE" 254ms
When Find transport in table with status "advice-added" 3s 186ms
And Open statuses popup 110ms
Then Check if transport has checkpoints from list "Zgłoszenie kierowcy,Rozpoczęcie rozładunku,Zakończenie rozładunku" in "1" 15s 007ms
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:130)
	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() 118ms
Given Set token of apiUsername "super-admin-farmacol" 088ms
And Create transport "CREATE_EXTERNAL_DELIVERY" by JSON file as "super-admin-farmacol" 1s 182ms
And Create advice by JSON file "CREATE_ADVICE_FOR_EXTERNAL_DELIVERY" as "super-admin-farmacol" 678ms
And Get "START_OF_UNLOADING" data for transport type "EXTERNAL_DELIVERY" and principal "farmacol" 023ms
When Login as "farmacol-admin" 1s 137ms
And Go to "TRANSPORT_TABLE" 283ms
And Confirm statuses until reach "registered-katowice-przyjęcia" 6s 578ms
And Disable task by API 043ms
And Find transport pencil button in transports table 1s 270ms
And Click pencil and move transport to next day in schedule 18s 171ms
And Go to "TRANSPORT_TABLE" 205ms
Then Verify that "START_OF_UNLOADING" is not visible 121ms
After Hooks.deleteTransportAfterTest() 119ms
After Hooks.rollbackTaskChanges() 035ms