Project Number Date
ApolloFullRunnerReport apollo-test-2.59 29 cze 2021, 06:33

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
DedicatedWindow 44 1 0 0 0 45 6 2 8 2m 48s 059ms Failed
Feature DedicatedWindow
Scenario Outline Check if possible to create dedicated window
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 10s 122ms
When Select "PHA1" to create dedicated window for 4s 061ms
And Click in free spot in schedule page to create dedicated window 2s 193ms
Then Check if dedicated window for "PHA1" is in the schedule 153ms
Hooks
After Hooks.deleteDedicatedWindowAfterTest() 10s 411ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //div[@data-schedule-window='221501648'] (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=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.uUQP7f}, 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: b422fd0a70e32c7691437eec1d8e53d6
	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 CucumberTests.Hooks.deleteDedicatedWindowAfterTest(Hooks.java:258)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 6s 201ms
When Select "PPA1" to create dedicated window for 3s 365ms
And Click in free spot in schedule page to create dedicated window 2s 185ms
Then Check if dedicated window for "PPA1" is in the schedule 156ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 464ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 774ms
When Select "PLA1" to create dedicated window for 3s 845ms
And Click in free spot in schedule page to create dedicated window 2s 193ms
Then Check if dedicated window for "PLA1" is in the schedule 183ms
After Hooks.deleteDedicatedWindowAfterTest() 15s 878ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 870ms
When Select "PKA1" to create dedicated window for 3s 059ms
And Click in free spot in schedule page to create dedicated window 2s 204ms
Then Check if dedicated window for "PKA1" is in the schedule 171ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 481ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 5s 009ms
When Select "PAA1" to create dedicated window for 3s 130ms
And Click in free spot in schedule page to create dedicated window 2s 197ms
Then Check if dedicated window for "PAA1" is in the schedule 156ms
After Hooks.deleteDedicatedWindowAfterTest() 16s 564ms
Given Set token of apiUsername "super-admin-skz" 239ms
And Get setting "AUTOMATIC_DELETING_UNUSED_DEDICATED_WINDOWS_INTERVAL" for "swisskrono" 128ms
And Create "CREATE_DEDICATED_WINDOW" window by JSON file for test as "super-admin-skz" 337ms
And Prepare setting for automatic time window delete with "super-admin-skz" 202ms
When Login as "swisskrono-admin" 8s 039ms
And Go to "WAREHOUSE_TAB" 913ms
Then Check if dedicated window is deleted from schedule 54s 197ms
After Hooks.rollbackSettings() 221ms
Scenario Outline Check if it is possible to resize dedicated window
Steps
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 985ms
And Go to "WAREHOUSE_TAB" 1s 132ms
And Select "PHA1" to create dedicated window for 3s 324ms
And Click in free spot in schedule page to create dedicated window 2s 183ms
When Check if dedicated window for "PHA1" is in the schedule 182ms
Then Set time window height "1" "dedicatedWindow" 5s 661ms
And Check height of the time window after expanding by "1" in "dedicatedWindow" 077ms
And Set time window height "-1" "dedicatedWindow" 5s 620ms
And Check height of the time window after expanding by "-1" in "dedicatedWindow" 084ms
org.junit.ComparisonFailure: Okno nie zmieniło swojego rozmiaru expected:<[2]0,00> but was:<[4]0,00>
	at org.junit.Assert.assertEquals(Assert.java:115)
	at CucumberTests.Schedule.ResizeTimeWindowTest.checkHeightOfTimeWindowAfterExpandingByIn(ResizeTimeWindowTest.java:49)
	at ✽.Check height of the time window after expanding by "-1" in "dedicatedWindow"(file:Features/Atom/TimeWindow/DedicatedWindow.feature:40)
After Hooks.deleteDedicatedWindowAfterTest() 15s 889ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 3s 203ms
And Go to "WAREHOUSE_TAB" 1s 147ms
And Select "PHA1" to create dedicated window for 3s 268ms
And Click in free spot in schedule page to create dedicated window 2s 195ms
When Check if dedicated window for "PHA1" is in the schedule 166ms
Then Set time window height "2" "dedicatedWindow" 5s 694ms
And Check height of the time window after expanding by "2" in "dedicatedWindow" 069ms
And Set time window height "-2" "dedicatedWindow" 5s 687ms
And Check height of the time window after expanding by "-2" in "dedicatedWindow" 073ms
After Hooks.deleteDedicatedWindowAfterTest() 15s 905ms