Project Number Date
ApolloFullRunnerReport develop.386 19 kwi 2021, 22:59

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 27s 607ms 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 172ms
And Get inputs from database "CREATE_TRANSPOSRT_ORDER" "super-admin-adama" 001ms
When Go to new transport "TRANSPORT" 438ms
And Fill transport form 26s 780ms
And Click "save-transport-and-close" save button and wait for form to disappear 10s 206ms
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=89.0.4389.23 (61b08ee2c50024bab004e48d2b1b083cdbdac579-refs/branch-heads/4389@{#294}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.JKCeeY}, 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=89.0.4389.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 54a9d938fde986a1148e4cc3557fb8c1
	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 226ms
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 200ms
When Show all transport types 1s 048ms
And Click button advice in transport table "DELIVERY" 126ms
And Set advice window in schedule 2s 624ms
And Click button cancel in advice form 15s 323ms
And Go to "TRANSPORT_TABLE" 225ms
When Go to transport details "DELIVERY" 4s 537ms
And Fill transport form 1m 2s 449ms
And Click "save-transport-and-close" save button and wait for form to disappear 15s 686ms
And Go to transport details "DELIVERY" 4s 436ms
Then Check are transport values equals 120ms
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() 097ms