Project Number Date
ApolloFullRunnerReport apollo-test-2.81 15 lip 2021, 06:54

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Transport Form - Discrepancy Report scenarios 76 3 10 0 0 89 9 3 12 6m 6s 856ms Failed
Feature Transport Form - Discrepancy Report scenarios
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 096ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 189ms
And Go to transport details "DELIVERY" 3s 011ms
When Open section: "discrepancy-report-panel" 1s 244ms
Then Verify that no discrepancies found label is visible in discrepancy report section 164ms
And Select "NIE" in the "insp.-accord.-with-ins." 2s 752ms
And Verify that discrepancy report custom fields are visible in discrepancy report section 219ms
After Hooks.deleteTransportAfterTest() 880ms
Scenario Outline Check if discrepancy report section will open with validation errors
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 063ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 021ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 044ms
And Go to transport details "DELIVERY" 2s 987ms
And Fill transport form 40s 445ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 207ms
When Go to transport details "DELIVERY" 2s 907ms
Then Select "NIE" in the "insp.-accord.-with-ins." 2s 648ms
And Click "save-transport" save button 880ms
And Wait "2" seconds 2s
And Verify that discrepancy report section is open 064ms
And Verify that discrepancy report section contains validation errors 060ms
java.lang.AssertionError: Sekcja: Protokół Niezgodności nie posiada klasy 'has-error'!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Transport.TransportFormTest.verifyThatDiscrepancyReportSectionContainsValidationErrors(TransportFormTest.java:184)
	at ✽.Verify that discrepancy report section contains validation errors(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:29)
After Hooks.deleteTransportAfterTest() 873ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 080ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 106ms
When Go to transport details "DELIVERY" 2s 949ms
Then Verify that discrepancy report section is available 114ms
And Open section: "discrepancy-report-panel" 1s 302ms
And Verify that generate new discrepancy report button is visible 117ms
After Hooks.deleteTransportAfterTest() 931ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 951ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-hochland" 2s 870ms
When Go to transport details "OWN_COLLECTION" 3s 093ms
Then Verify that discrepancy report section is available 097ms
And Open section: "discrepancy-report-panel" 1s 288ms
And Verify that generate new discrepancy report button is visible 082ms
After Hooks.deleteTransportAfterTest() 859ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 934ms
And Create transport "CREATE_OWN_COLLECTION_POWDER_FACTORY" by JSON file as "super-admin-hochland" 2s 802ms
When Go to transport details "OWN_COLLECTION_POWDER_FACTORY" 3s 093ms
Then Verify that discrepancy report section is available 080ms
And Open section: "discrepancy-report-panel" 1s 137ms
And Verify that generate new discrepancy report button is visible 070ms
After Hooks.deleteTransportAfterTest() 1s 003ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 969ms
And Create transport "CREATE_EXPORT" by JSON file as "super-admin-hochland" 3s 069ms
When Go to transport details "EXPORT" 3s 098ms
Then Verify that discrepancy report section is available 071ms
And Open section: "discrepancy-report-panel" 1s 142ms
And Verify that generate new discrepancy report button is visible 207ms
After Hooks.deleteTransportAfterTest() 1s 607ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 552ms
And Create transport "CREATE_TRANSFER_BETWEEN_WAREHOUSES" by JSON file as "super-admin-hochland" 1s 939ms
When Go to transport details "TRANSFER_BETWEEN_WAREHOUSES" 3s 054ms
Then Verify that discrepancy report section is available 186ms
And Open section: "discrepancy-report-panel" 1s 368ms
And Verify that generate new discrepancy report button is visible 076ms
After Hooks.deleteTransportAfterTest() 538ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 845ms
And Create transport "CREATE_CISTERN_DELIVERY" by JSON file as "super-admin-hochland" 2s 664ms
When Go to transport details "CISTERN_DELIVERY" 3s 098ms
Then Verify that discrepancy report section is not available 15s 088ms
After Hooks.deleteTransportAfterTest() 860ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 231ms
And Create transport "CREATE_CISTERN_COLLECTION" by JSON file as "super-admin-hochland" 2s 637ms
When Go to transport details "CISTERN_COLLECTION" 2s 963ms
Then Verify that discrepancy report section is not available 15s 051ms
After Hooks.deleteTransportAfterTest() 747ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 098ms
And Create transport "CREATE_WEIGHING" by JSON file as "super-admin-hochland" 2s 183ms
When Go to transport details "WEIGHING" 3s 042ms
Then Verify that discrepancy report section is not available 15s 073ms
After Hooks.deleteTransportAfterTest() 623ms
Scenario Outline Check if discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 059ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 072ms
When Go to "TRANSPORT_TABLE" 407ms
And Go to transport details "DELIVERY" 2s 952ms
And Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0" 1s 422ms
org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document
  (Session info: headless chrome=91.0.4472.114)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.lTPSR1}, 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=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: f758a2f28e68e2c4d26d83f38049210a
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:279)
	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:83)
	at CucumberTests.Transport.Transport.selectValue(Transport.java:222)
	at CucumberTests.Transport.Transport.fillSelectInput(Transport.java:211)
	at CucumberTests.Transport.Transport.fillForm(Transport.java:166)
	at CucumberTests.Transport.TransportFormTest.changeFilledValueInTransportDetails(TransportFormTest.java:280)
	at ✽.Change filled value in transport details "warehouseman" "select" "Dorosz Mieczysław" "0"(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:68)
And Change filled value in transport details "unloaded-stere" "text" "3" "0" 000ms
And Open section: "discrepancy-report-panel" 000ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 000ms
And Fill transport form 000ms
And Fill discrepancy report section without closing the form 000ms
And Generate discrepancy report 000ms
And Download discrepancy report 000ms
Then Verify that discrepancy report file has correct values 000ms
After Hooks.deleteTransportAfterTest() 918ms
Scenario Outline Check if edited discrepancy report is properly generated
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 945ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 031ms
When Go to "TRANSPORT_TABLE" 373ms
And Go to transport details "DELIVERY" 2s 887ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 016ms
And Fill transport form 40s 452ms
And Open section: "discrepancy-report-panel" 1s 145ms
And Fill discrepancy report section without closing the form 21s 934ms
And Generate discrepancy report 20s 033ms
And Download discrepancy report 336ms
And Verify that discrepancy report file has correct values 16s 367ms
And Fill edited discrepancy report section 18s 650ms
And Generate edited discrepancy report 2s 867ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: By.xpath: //button[@data-button-name='generate-discrepancy-report-button'] (tried for 2 second(s) with 500 MILLISECONDS interval)
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.lTPSR1}, 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=91.0.4472.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: f758a2f28e68e2c4d26d83f38049210a
	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.waitUntilElementClickable(BasePage.java:223)
	at CucumberTests.Transport.TransportFormTest.generateEditedDiscrepancyReport(TransportFormTest.java:240)
	at ✽.Generate edited discrepancy report(file:Features/Atom/Transport/TransportForm/DiscrepancyReport.feature:95)
And Download discrepancy report 000ms
Then Verify that discrepancy report file has correct values 000ms
After Hooks.deleteTransportAfterTest() 972ms