Project Number Date
ApolloFullRunnerReport apollo-test-2.55 26 cze 2021, 06:23

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackSettings 75 2 1 0 0 78 6 2 8 7m 13s 309ms Failed
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 294ms
And Set token of apiUsername "super-admin-piast" 250ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 256ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 029ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 399ms
Then Login as "super-admin-piast" 3s 406ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 416ms
After Hooks.deleteTransportAfterApiTest() 801ms
After Hooks.rollbackSettings() 001ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 240ms
And Set token of apiUsername "super-admin-piast" 243ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 173ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ALT_IDENTIFIER" with "super-admin-piast" 025ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 370ms
Then Login as "super-admin-piast" 2s 224ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 398ms
After Hooks.deleteTransportAfterApiTest() 788ms
After Hooks.rollbackSettings() 000ms
View Feature API Transport
Given Login by Api as "super-admin-piast" and get token and expect status "200" 277ms
And Set token of apiUsername "super-admin-piast" 244ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 159ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 026ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 334ms
Then Login as "super-admin-piast" 2s 291ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 403ms
After Hooks.deleteTransportAfterApiTest() 761ms
After Hooks.rollbackSettings() 000ms
View Feature Filters
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Steps
Given Set token of apiUsername "super-admin-neuca" 229ms
And Get custom field settings for "DELIVERY" transport type and "neuca" company 191ms
And Mark custom fields as not obligatory 006ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 146ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 030ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 21s 238ms
Then Login as "neuca-admin" 2s 305ms
And Go to "TRANSPORT_TABLE" 454ms
And Confirm statuses until reach "process-ended" 4s 601ms
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.QjWBMw}, 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: 5543bfa202c08f772282e85c9514c180
	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.getAttribute(RemoteWebElement.java:128)
	at Utils.StatusUtil.waitUntilAttributeOfWebElementChangeValue(StatusUtil.java:38)
	at Pages.Transport.TransportsPage.confirmNextStatus(TransportsPage.java:303)
	at Pages.Transport.TransportsPage.confirmStatuses(TransportsPage.java:290)
	at CucumberTests.StatusTests.ConfirmStatuses.confirmStatusesUntilReach(ConfirmStatuses.java:84)
	at ✽.Confirm statuses until reach "process-ended"(file:Features/Atom/Filters/Filter.feature:170)
Then Check if sorting by 'Finished' status is working correctly 000ms
After Hooks.deleteTransportsAfterTest() 2s 839ms
After Hooks.rollbackAllCustomFieldsSettings() 397ms
After Hooks.rollbackSettings() 129ms
View Feature Invitation
Given Set token of apiUsername "super-admin-piast" 236ms
And Delete invitations with email "automaty31415@test.pl" 017ms
And If user is login then logout 15s 109ms
Given Set token of apiUsername "super-admin-piast" 229ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 128ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 149ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 310ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 5s 999ms
Then Go to "INVITATIONS_TAB" 574ms
And Go to "EXPIRED_TAB" invitation status tab 295ms
Then Invitation is displayed on list "automaty31415@test.pl" 446ms
After Hooks.deleteInvitationAfterTest() 137ms
After Hooks.rollbackSettings() 122ms
View Feature DedicatedWindow
Given Set token of apiUsername "super-admin-skz" 241ms
And Get setting "AUTOMATIC_DELETING_UNUSED_DEDICATED_WINDOWS_INTERVAL" for "swisskrono" 130ms
And Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz" 324ms
And Prepare setting for automatic time window delete with "super-admin-skz" 203ms
When Login as "swisskrono-admin" 8s 007ms
And Go to "WAREHOUSE_TAB" 892ms
Then Check if dedicated window is deleted from schedule 1m 15s 009ms
After Hooks.rollbackSettings() 216ms
View Feature Move transport to archive
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 428ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 015ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 134ms
And Set proper delay time to move order to archive after task timeout 129ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 1s 972ms
And Go to "WAREHOUSE_TAB" 973ms
And Change warehouse in schedule to: "Katowice" 1s 507ms
And Wait "60" seconds 1m
And Verify that transport window is grey 087ms
And Verify that transport is in archive 9s 497ms
Then Restore transport from archive 2s 504ms
And Verify that transport has been successfully restored 15s 639ms
After Hooks.deleteTransportAfterTest() 928ms
After Hooks.rollbackSettings() 116ms
View Feature Move transport to archive
Scenario Outline Check if confirming transport status removed it to the archive
Steps
Given Set token of apiUsername "super-admin-dayco" 224ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 129ms
And Mark custom fields as not obligatory 005ms
And Login as "dayco-admin" 2s 247ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 054ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 131ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 029ms
When Go to "TRANSPORT_TABLE" 410ms
And Click button advice in transport table "OWN_COLLECTION" 1s 454ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 46s 002ms
And Go to "TRANSPORT_TABLE" 440ms
And Find transport in table with status "planned-magazyn-tychy" 3s 661ms
And Confirm statuses until reach "process-ended" 13s 685ms
And Wait "12" seconds 12s
Then Go to "ARCHIVE_TAB" 457ms
And Show "OWN_COLLECTION" 151ms
And Verify that created transport is "true" in transport table 1m 32s 354ms
java.lang.AssertionError: expected: but was:
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at org.junit.Assert.assertEquals(Assert.java:144)
	at CucumberTests._PerformanceTests.TransportTableTest.verifyThatCreatedTransportIsInTransportTable(TransportTableTest.java:116)
	at ✽.Verify that created transport is "true" in transport table(file:Features/Atom/Transport/Archive.feature:54)
After Hooks.deleteTransportAfterTest() 1s 077ms
After Hooks.rollbackAllCustomFieldsSettings() 503ms
After Hooks.rollbackSettings() 156ms