Project Number Date
ApolloFullRunnerReport master.419 11 maj 2021, 22:24

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport transfer full scenario 16 2 9 0 0 27 0 2 2 2m 26s 809ms Failed
Feature Transport transfer full scenario
Scenario Outline Check if it is possible to transfer and retransfer transport to carrier
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 127ms
And Get inputs from database "CREATE_TRANSPOSRT_ORDER" "super-admin-adama" 001ms
When Go to new transport "TRANSPORT" 372ms
And Fill transport form 26s 554ms
And Click "save-transport-and-close" save button and wait for form to disappear 10s 060ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@type='submit' and @data-field-name='save-transport-and-close'] (tried for 10 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'ns3112421', ip: '94.23.29.183', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-136-generic', java.version: '1.8.0_201'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.kOQtfd}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=90.0.4430.93, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 956e8697bb7466c00b5148bf446d263b
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.waitUntilElementDisappear(BasePage.java:198)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:192)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:188)
	at ✽.Click "save-transport-and-close" save button and wait for form to disappear(file:Features/Scenario/TransportTransfer.feature:9)
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 000ms
And Check is transport "TRANSPORT" created in transport table and set transport id 000ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 000ms
And Accept or reject "reject" transferred transport 000ms
And Login as "adama-admin" and set token of apiUsername "super-admin-adama" 000ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 000ms
And Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 000ms
And Accept or reject "accept" transferred transport 000ms
Then Verify that transport is accept or reject "accept" 000ms
After Hooks.deleteTransportAfterTest() 000ms
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" 1s 156ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 001ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 244ms
When Show all transport types 1s 034ms
And Click button advice in transport table "DELIVERY" 105ms
And Set advice window in schedule 2s 709ms
And Click button cancel in advice form 15s 398ms
And Go to "TRANSPORT_TABLE" 145ms
When Go to transport details "DELIVERY" 4s 439ms
And Fill transport form 1m 1s 790ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 139ms
And Go to transport details "DELIVERY" 4s 425ms
Then Check are transport values equals 103ms
org.junit.ComparisonFailure: Wartości w formularzu w polu CARRIER są niepoprawne, wartość na stronie: Przewoźnik Piast Automat 1 wartość poprawna: Przewoźnik Piast Automat 2 expected:<...oźnik Piast Automat [2]> but was:<...oźnik Piast Automat [1]>
	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() 137ms