Project Number Date
ApolloFullRunnerReport apollo-test-2.80 14 lip 2021, 05:39

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 61 5 32 0 0 98 3 5 8 11m 49s 738ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 011ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 221ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 356ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 021ms
And Show all transport types 1s 158ms
And Click button advice in transport table "CONTAINER" 252ms
And Set advice window in schedule 2s 796ms
And Fill advice form 13s 924ms
And Click advice save button and wait for advice form to disappear 30s 966ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 8s 018ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 160ms
After Hooks.cleanUserDetailsAfterTest() 199ms
Scenario Outline Check if mail was sent to creator after creating advice
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 343ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 089ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AdviceMail.feature:6)
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 000ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 000ms
And Show all transport types 000ms
And Click button advice in transport table "DELIVERY" 000ms
And Set advice window in schedule 000ms
And Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 000ms
Then Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 074ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	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 "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 083ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 290ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 324ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 022ms
And Show all transport types 1s 157ms
And Click button advice in transport table "LOAD" 244ms
And Set advice window in schedule 2s 783ms
And Fill advice form 15s 618ms
And Click advice save button and wait for advice form to disappear 31s 030ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 7s 096ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 230ms
After Hooks.cleanUserDetailsAfterTest() 217ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 662ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 210ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 321ms
And Show all transport types 1s 163ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 47s 957ms
And Go to "TRANSPORT_TABLE" 484ms
And Go to transport details "CONTAINER" 2s 882ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 020ms
When Go to transport details "CONTAINER" 3s 585ms
And Fill transport form 5s 197ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 020ms
And Expand advice panel 246ms
And Edit advice in transport details 15s 242ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 174ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 20s 409ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 255ms
After Hooks.cleanUserDetailsAfterTest() 206ms
Scenario Outline Check if mail was sent to creator after editing advice
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 301ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 098ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AdviceMail.feature:25)
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 000ms
And Show all transport types 000ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 000ms
When Go to transport details "DELIVERY" 000ms
And Fill transport form 000ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 000ms
And Expand advice panel 000ms
And Edit advice in transport details 000ms
And Click "save-transport-and-close" save button and wait for form to disappear 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 000ms
Then Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 077ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/99422683 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	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)
Scenario Outline Check if mail was sent to creator after editing advice
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 592ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 288ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 334ms
And Show all transport types 1s 161ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 49s 580ms
And Go to "TRANSPORT_TABLE" 475ms
And Go to transport details "LOAD" 2s 821ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 019ms
When Go to transport details "LOAD" 3s 534ms
And Fill transport form 28s 752ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 022ms
And Expand advice panel 246ms
And Edit advice in transport details 21s 344ms
And Click "save-transport-and-close" save button and wait for form to disappear 491ms
java.lang.AssertionError: Nie udało się zapisać zmian! Pojawił się komunikat walidacyjny w polu:
[do]
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Transport.TransportFormPage.clickSaveButtonAndWaitForFormToDisappear(TransportFormPage.java:195)
	at CucumberTests.Transport.CreateTransport.clickSaveButtonAndWaitForFormToDisappear(CreateTransport.java:201)
	at ✽.Click "save-transport-and-close" save button and wait for form to disappear(file:Features/Atom/Mail/AdviceMail.feature:37)
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 133ms
After Hooks.cleanUserDetailsAfterTest() 198ms
Scenario Outline Check if mail was sent to creator after status confirmation
Steps
Given Set token of apiUsername "super-admin-skd" 117ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 091ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/16994123 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:108)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:90)
	at ✽.Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AdviceMail.feature:49)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 000ms
And Confirm status "ARRIVAL" by Public API "v1" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 000ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 000ms
Then Check if user got a mail 000ms
Hooks
After Hooks.deleteTransportAfterTest() 001ms
After Hooks.cleanUserDetailsAfterTest() 075ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem /users/16994123 - status odpowiedzi: 422 , komunikat:  [errors:[Przepraszamy, ale podany login jest już zajęty.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:166)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:319)
	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)
Scenario Outline Check if verification mail was sent to transport creator
Steps
Given Set token of apiUsername "super-admin-hochland" 114ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 036ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 215ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 3s 262ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 336ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 3m 19s 109ms
Then Check if user got a mail 000ms
java.lang.AssertionError: Użytkownik nie otrzymał maila. Actual: 
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failEquals(Assert.java:185)
	at org.junit.Assert.assertNotEquals(Assert.java:161)
	at CucumberTests.Mail.MailTest.checkIfUseGotMail(MailTest.java:39)
	at ✽.Check if user got a mail(file:Features/Atom/Mail/AdviceMail.feature:70)
After Hooks.deleteTransportAfterTest() 278ms
After Hooks.cleanUserDetailsAfterTest() 290ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 042ms