Project Number Date
ApolloFullRunnerReport apollo-test-2.116 13 sie 2021, 02:44

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackSettings 101 4 24 0 0 129 10 4 14 3m 40s 738ms Failed
View Feature API Transport
Before Hooks.showScenarioName(Scenario) 001ms
Given Login by Api as "super-admin-piast" and get token and expect status "200" 235ms
And Set token of apiUsername "super-admin-piast" 240ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 4s 214ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 221ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 650ms
Then Login as "super-admin-piast" 9s 480ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 369ms
After Hooks.deleteTransportAfterApiTest() 574ms
After Hooks.rollbackSettings() 178ms
View Feature API Transport
Before Hooks.showScenarioName(Scenario) 001ms
Given Login by Api as "super-admin-piast" and get token and expect status "200" 261ms
And Set token of apiUsername "super-admin-piast" 233ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 149ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ALT_IDENTIFIER" with "super-admin-piast" 183ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 673ms
Then Login as "super-admin-piast" 2s 553ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 402ms
After Hooks.deleteTransportAfterApiTest() 667ms
After Hooks.rollbackSettings() 153ms
View Feature API Transport
Before Hooks.showScenarioName(Scenario) 002ms
Given Login by Api as "super-admin-piast" and get token and expect status "200" 243ms
And Set token of apiUsername "super-admin-piast" 250ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 144ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ERP_IDENTIFIER" with "super-admin-piast" 132ms
When Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 686ms
Then Login as "super-admin-piast" 2s 559ms
And Check is transport "DELIVERY" created in transport table and set transport id 1s 352ms
After Hooks.deleteTransportAfterApiTest() 677ms
After Hooks.rollbackSettings() 113ms
View Feature API Transport
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 238ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 142ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 172ms
And Login by Api as "super-admin-piast" and get token and expect status "200" 240ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 591ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY" as "super-admin-piast" with "none" for api version "v1" 1s 851ms
Then Check if response status code equals "200" 000ms
After Hooks.deleteTransportAfterApiTest() 659ms
After Hooks.rollbackSettings() 149ms
View Feature API Transport
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 245ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 138ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 182ms
And Login by Api as "super-admin-piast" and get token and expect status "200" 239ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 679ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY_EMPTY_STEP_TYPE_NAME" as "super-admin-piast" with "none" for api version "v1" 830ms
Then Check if response status code equals "422" 000ms
After Hooks.deleteTransportAfterApiTest() 636ms
After Hooks.rollbackSettings() 127ms
View Feature API Transport
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 242ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 137ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 164ms
And Login by Api as "super-admin-piast" and get token and expect status "200" 253ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 600ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY" as "super-admin-piast" with "invalidTransportId" for api version "v1" 347ms
Then Check if response status code equals "404" 000ms
After Hooks.deleteTransportAfterApiTest() 627ms
After Hooks.rollbackSettings() 142ms
View Feature API Transport
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 244ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 146ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 168ms
And Login by Api as "super-admin-piast" and get token and expect status "200" 245ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 667ms
When Edit transport by API-validation JSON file "EDIT_DELIVERY" as "super-admin-piast" with "invalidToken" for api version "v1" 031ms
Then Check if response status code equals "401" 000ms
After Hooks.deleteTransportAfterApiTest() 609ms
After Hooks.rollbackSettings() 127ms
View Feature API Transport
Before Hooks.showScenarioName(Scenario) 002ms
Given Set token of apiUsername "super-admin-piast" 241ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 141ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 163ms
And Login by Api as "super-admin-piast" and get token and expect status "200" 251ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 578ms
And Verify that custom fields from API are equivalent to custom fields from "CREATE_DELIVERY" as "super-admin-piast" 295ms
After Hooks.deleteTransportAfterApiTest() 651ms
After Hooks.rollbackSettings() 136ms
View Feature API Transport
Scenario Outline Check if it possible to edit transport by API [A-4167]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-piast" 252ms
And Get setting "TRANSPORT_IDENTIFIER_TYPE" for "piast" 147ms
And Prepare setting: "TRANSPORT_IDENTIFIER_TYPE" with value: "ID" with "super-admin-piast" 167ms
And Login as "piast-admin" and set token of apiUsername "super-admin-piast" 6s 391ms
And Create transport by JSON file "CREATE_DELIVERY" as "super-admin-piast" for api version "v1" and expect status "200" 1s 579ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 2s 596ms
And Show all transport types 1s 205ms
And Click button advice in transport table "DELIVERY" 251ms
And Set advice window in schedule 3s 952ms
And Fill advice form 13s 342ms
And Click advice save button and wait for advice form to disappear 10s 889ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (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: '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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.LEzQRD}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: a25bd0c5c1c96689075b9b6bad1f055f
	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:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:179)
	at ✽.Click advice save button and wait for advice form to disappear(file:Features/Api/Transport.feature:167)
When Edit transport by JSON file "EDIT_DELIVERY" as "super-admin-piast" for api version "v1" 000ms
And Check if response status code equals "200" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Expand advice panel 000ms
Then Check are transport values equals 000ms
After Hooks.deleteTransportAfterApiTest() 504ms
After Hooks.rollbackSettings() 135ms
View Feature Filters
Scenario Outline Check if sorting by "Finished" status is working correctly [A-7517]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-neuca" 238ms
And Get custom field settings for "DELIVERY" transport type and "neuca" company 114ms
And Mark custom fields as not obligatory 006ms
And Get setting "SORT_TABLE_BY_TRANSPORT_COMPLETED" for "neuca" 135ms
And Prepare setting: "SORT_TABLE_BY_TRANSPORT_COMPLETED" with value: "true" with "super-admin-neuca" 125ms
When Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca" 303ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createByJSONFileAs(CreateTransport.java:87)
	at CucumberTests.Transport.CreateTransport.createMultipleByJSONFileAs(CreateTransport.java:71)
	at ✽.Create 3 transports "CREATE_DELIVERY" by JSON file as "super-admin-neuca"(file:Features/Atom/Filters/Filter.feature:168)
Then Login as "neuca-admin" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Confirm statuses until reach "process-ended" 000ms
Then Check if sorting by 'Finished' status is working correctly 000ms
After Hooks.deleteTransportsAfterTest() 000ms
After Hooks.rollbackAllCustomFieldsSettings() 319ms
After Hooks.rollbackSettings() 099ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 228ms
And Delete invitations with email "automaty31415@test.pl" 088ms
And If user is login then logout 257ms
Given Set token of apiUsername "super-admin-piast" 249ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 159ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 203ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 424ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 752ms
Then Go to "INVITATIONS_TAB" 504ms
And Go to "EXPIRED_TAB" invitation status tab 253ms
Then Invitation is displayed on list "automaty31415@test.pl" 415ms
After Hooks.deleteInvitationAfterTest() 129ms
After Hooks.rollbackSettings() 126ms
View Feature DedicatedWindow
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 257ms
And Get setting "AUTOMATIC_DELETING_UNUSED_DEDICATED_WINDOWS_INTERVAL" for "swisskrono" 134ms
And Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz" 321ms
And Prepare setting for automatic time window delete with "super-admin-skz" 217ms
When Login as "swisskrono-admin" 8s 040ms
And Go to "WAREHOUSE_TAB" 915ms
Then Check if dedicated window is deleted from schedule 1m 15s 257ms
After Hooks.rollbackSettings() 182ms
View Feature Move transport to archive
Scenario Outline Check if delayed transport is moved to archived and can be restored
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 835ms
And Check expected date interval for principal "neuca" in transport type "DELIVERY" and task "ARRIVE" 023ms
And Get setting "DELAY_TIME_TO_MOVE_ORDER_TO_ARCHIVE_AFTER_TASK_TIMEOUT" for "neuca" 129ms
And Set proper delay time to move order to archive after task timeout 136ms
When Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca" 313ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /transports; status: 422, komunikat: [errors:[Właściwość [id] klasy [class logintegra.commands.warehouse.TimeWindowCommand] nie może być null]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.CreateTransport.createTransportWithTimeWindowStartAtClosestFullHourByAPIAs(CreateTransport.java:116)
	at ✽.Create transport with time window start at closest full hour "CREATE_DELIVERY" by API as "super-admin-neuca"(file:Features/Atom/Transport/Archive.feature:9)
And Go to "WAREHOUSE_TAB" 000ms
And Change warehouse in schedule to: "Katowice" 000ms
And Wait "60" seconds 000ms
And Verify that transport window is grey 000ms
And Verify that transport is in archive 000ms
Then Restore transport from archive 000ms
And Verify that transport has been successfully restored 000ms
After Hooks.deleteTransportAfterTest() 000ms
After Hooks.rollbackSettings() 125ms
View Feature Move transport to archive
Scenario Outline Check if confirming transport status removed it to the archive
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-dayco" 230ms
And Get custom field settings for "OWN_COLLECTION" transport type and "dayco" company 114ms
And Mark custom fields as not obligatory 005ms
And Login as "dayco-admin" 2s 121ms
And Create transport "CREATE_OWN_COLLECTION" by JSON file as "super-admin-dayco" 2s 067ms
And Get setting "ARCHIVING_JOB_INTERVAL" for "dayco" 141ms
And Prepare setting: "ARCHIVING_JOB_INTERVAL" with value: "10s" with "super-admin-dayco" 190ms
When Go to "TRANSPORT_TABLE" 381ms
And Click button advice in transport table "OWN_COLLECTION" 1s 277ms
And Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco" 25s 667ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='save'] (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: '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=92.0.4515.107 (87a818b10553a07434ea9e2b6dccf3cbe7895134-refs/branch-heads/4515@{#1634}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.LEzQRD}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, webauthn:extension:credBlob=true, acceptInsecureCerts=false, browserVersion=92.0.4515.131, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: a25bd0c5c1c96689075b9b6bad1f055f
	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:215)
	at Pages.Transport.AdviceFormPage.confirm(AdviceFormPage.java:27)
	at CucumberTests.Transport.AdviceTransport.clickAdviceSaveButtonAndWaitForAdviceFormToDisappear(AdviceTransport.java:179)
	at CucumberTests.Transport.AdviceTransport.createAdvice(AdviceTransport.java:73)
	at ✽.Create advice "ADVICE_OWN_COLLECTION" "OWN_COLLECTION" "super-admin-dayco"(file:Features/Atom/Transport/Archive.feature:46)
And Go to "TRANSPORT_TABLE" 000ms
And Find transport in table with status "planned-magazyn-tychy" 000ms
And Confirm statuses until reach "process-ended" 000ms
And Wait until transport disappear from transport table 000ms
Then Go to "ARCHIVE_TAB" 000ms
And Show "OWN_COLLECTION" 000ms
And Verify that created transport is "true" in transport table 000ms
After Hooks.deleteTransportAfterTest() 519ms
After Hooks.rollbackAllCustomFieldsSettings() 529ms
After Hooks.rollbackSettings() 131ms