Project Number Date
ApolloFullRunnerReport master.304 09 lut 2021, 04:39

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteAnnouncementAfterTest 36 3 22 0 0 61 3 3 6 2m 12s 787ms Failed
View Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 483ms
When Go to "ANNOUNCEMENTS_TAB" 084ms
And Go to manage announcements tab 119ms
And Go to add new announcement form 173ms
And Add new announcement with subject "Nowe ogłoszenie" and content "Treść" for roleGroups "ADMIN,LOGISTICIAN" 400ms
Then Verify that announcement with "Nowe ogłoszenie" is present in admin table 867ms
After Hooks.deleteAnnouncementAfterTest() 220ms
View Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 684ms
When Go to "ANNOUNCEMENTS_TAB" 085ms
And Go to manage announcements tab 089ms
And Go to add new announcement form 200ms
And Add new announcement with subject "Ogłoszenie dla ochrony" and content "Treść" for roleGroups "GUARD" 304ms
Then Login as "neuca-guard" 2s 435ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is visible 036ms
Then Login as "neuca-admin" 2s 345ms
And Verify that announcement with subject "Ogłoszenie dla ochrony" is not visible 15s 036ms
After Hooks.deleteAnnouncementAfterTest() 063ms
View Feature Announcements
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 359ms
When Go to "ANNOUNCEMENTS_TAB" 100ms
And Go to manage announcements tab 114ms
And Go to add new announcement form 155ms
And Add new announcement with subject "Ogłoszenie dla obserwatora" and content "Treść" for roleGroups "OBSERVER" 336ms
Then Login as "neuca-observer" 2s 234ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is visible 040ms
Then Login as "neuca-guard" 1s 829ms
And Verify that announcement with subject "Ogłoszenie dla obserwatora" is not visible 15s 036ms
After Hooks.deleteAnnouncementAfterTest() 197ms
View Feature Announcements
Scenario Outline Check if it is possible to edit announcement
Steps
Given Set token of apiUsername "super-admin-neuca" 091ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 128ms
Then Login as "neuca-warehouseman" 1s 667ms
And Verify that announcement tab is open 15s 032ms
java.lang.AssertionError: Nagłówek "Ogłoszenia" nie jest widoczny
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Announcements.AnnouncementsTest.verifyThatAnnouncementTabIsOpen(AnnouncementsTest.java:139)
	at ✽.Verify that announcement tab is open(file:Features/Atom/Announcements/Announcements.feature:45)
And Verify by ID from API that announcement is visible 000ms
Then Check if announcement is unwrapping correctly 000ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 000ms
Given Login as "neuca-admin" 000ms
And Go to manage announcements tab 000ms
And Edit announcement and change content to "*jednak podwyżek nie będzie - hue hue" 000ms
Then Login as "neuca-warehouseman" 000ms
And Verify by ID from API that announcement is visible 000ms
Then Check if announcement is unwrapping correctly 000ms
And Check that announcement has an edit author 000ms
And Check if announcement content is edit correctly "*jednak podwyżek nie będzie - hue hue" 000ms
After Hooks.deleteAnnouncementAfterTest() 112ms
View Feature Announcements
Scenario Outline Check if marking unread advertisements is working correctly
Steps
Given Set token of apiUsername "super-admin-neuca" 104ms
And Login as "neuca-admin" 1s 618ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 132ms
Then Login as "neuca-warehouseman" 1s 487ms
And Verify by ID from API that announcement is visible 15s 028ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: By.xpath: //a[@href='#/announcements?max=100&page=1'] | //a[@href='/announcements?max=100&page=1'] (tried for 10 second(s) with 500 MILLISECONDS interval)
	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:205)
	at CucumberTests.Announcements.AnnouncementsTest.verifyByIDFromAPIThatAnnouncementIsVisible(AnnouncementsTest.java:132)
	at ✽.Verify by ID from API that announcement is visible(file:Features/Atom/Announcements/Announcements.feature:68)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[@href='#/announcements?max=100&page=1'] | //a[@href='/announcements?max=100&page=1']
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
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-128-generic', java.version: '1.8.0_201'
Driver info: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:643)
	at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:640)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.waitUntilElementClickable(BasePage.java:205)
	at CucumberTests.Announcements.AnnouncementsTest.verifyByIDFromAPIThatAnnouncementIsVisible(AnnouncementsTest.java:132)
	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.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	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)
Then Check if announcement is wrap 000ms
Then Check if announcement has a red mark "announcementOnTheTop" 000ms
Then Check if announcement is unwrapping correctly 000ms
And Check if announcement content "Podwyżki dla wszystkich! ąśćżń" and subject "Ogłoszonko dla Magazyniera" is correctly 000ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementOnTheTop" 000ms
Then Refresh page 000ms
And Check if text bold and red exclamation mark disappear after reading announcement "announcementAtTheBottom" 000ms
After Hooks.deleteAnnouncementAfterTest() 102ms
View Feature Announcements
Scenario Outline Adding counter of unread announcements
Steps
Given Set token of apiUsername "super-admin-neuca" 092ms
And Login as "neuca-warehouseman" 1s 466ms
Then Check counter of unread announcements 30s 077ms
And Create announcement by JSON file "CREATE_ANNOUNCEMENT_FOR_WAREHOUSEMAN" as "super-admin-neuca" 133ms
When Refresh page 2s 158ms
Then Verify that announcement tab is open 15s 010ms
java.lang.AssertionError: Nagłówek "Ogłoszenia" nie jest widoczny
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Announcements.AnnouncementsTest.verifyThatAnnouncementTabIsOpen(AnnouncementsTest.java:139)
	at ✽.Verify that announcement tab is open(file:Features/Atom/Announcements/Announcements.feature:88)
And Check if the number of unread announcement is higher by one 000ms
And Check if announcement is unwrapping correctly 000ms
When Refresh page 000ms
And Check if the number of unread announcements is the same as at the beginning 000ms
After Hooks.deleteAnnouncementAfterTest() 120ms