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

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteInvitationAfterTest 231 9 47 0 0 287 26 9 35 11m 37s 175ms Failed
View Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 384ms
And Delete invitations with email "automatyy1@test.pl" 018ms
When Go to "INVITATIONS_TAB" 510ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 2s 389ms
Then Create invitation success alert is displayed 409ms
And Invitation is displayed on list "automatyy1@test.pl" 541ms
After Hooks.deleteInvitationAfterTest() 047ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 639ms
And Delete invitations with email "automatyy2@test.pl" 015ms
When Go to "INVITATIONS_TAB" 434ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 327ms
Then Create invitation success alert is displayed 311ms
And Invitation is displayed on list "automatyy2@test.pl" 477ms
After Hooks.deleteInvitationAfterTest() 046ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 390ms
And Delete invitations with email "automatyy2@test.pl" 012ms
When Go to "INVITATIONS_TAB" 381ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 345ms
Then Create invitation success alert is displayed 269ms
And Invitation is displayed on list "automatyy2@test.pl" 511ms
After Hooks.deleteInvitationAfterTest() 049ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 438ms
And Delete invitations with email "automatyy2@test.pl" 015ms
When Go to "INVITATIONS_TAB" 496ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 432ms
Then Create invitation success alert is displayed 299ms
And Invitation is displayed on list "automatyy2@test.pl" 474ms
After Hooks.deleteInvitationAfterTest() 050ms
View Feature Invitation
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 067ms
And Delete invitations with email "automatyy2@test.pl" 017ms
When Go to "INVITATIONS_TAB" 403ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 444ms
Then Create invitation success alert is displayed 252ms
And Invitation is displayed on list "automatyy2@test.pl" 441ms
After Hooks.deleteInvitationAfterTest() 065ms
View Feature Invitation
Given Set token of apiUsername "super-admin-skz" 119ms
And Delete invitations with email "apolloautomattest@gmail.com" 018ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 788ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 59s 840ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 083ms
View Feature Invitation
Given Set token of apiUsername "super-admin-lantmannen" 121ms
And Delete invitations with email "apolloautomattest@gmail.com" 013ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 823ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 32s 451ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 069ms
View Feature Invitation
Given Set token of apiUsername "super-admin-keeeper" 128ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 863ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 1m 2s 101ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 153ms
View Feature Invitation
Given Set token of apiUsername "super-admin-adama" 122ms
And Delete invitations with email "apolloautomattest@gmail.com" 017ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 823ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 56s 963ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 159ms
View Feature Invitation
Given Set token of apiUsername "super-admin-piast" 123ms
And Delete invitations with email "apolloautomattest@gmail.com" 017ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 367ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 32s 366ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 094ms
View Feature Invitation
Given Set token of apiUsername "super-admin-alrec" 120ms
And Delete invitations with email "apolloautomattest@gmail.com" 014ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 320ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 560ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 082ms
View Feature Invitation
Given Set token of apiUsername "super-admin-sempertrans" 119ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 320ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 234ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 148ms
View Feature Invitation
Scenario Outline Check if expired invitation is visible in expired tab
Steps
Given Set token of apiUsername "super-admin-piast" 121ms
And Delete invitations with email "automaty31415@test.pl" 014ms
And If user is login then logout 15s 079ms
Given Set token of apiUsername "super-admin-piast" 119ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 059ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 054ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 190ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: io.restassured.internal.RestAssuredResponseImpl@22d989c0
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:160)
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 000ms
Then Go to "INVITATIONS_TAB" 000ms
And Go to "EXPIRED_TAB" invitation status tab 000ms
Then Invitation is displayed on list "automaty31415@test.pl" 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:245)
	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)
After Hooks.rollbackSettings() 046ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 124ms
And Delete invitations with email "automaty31415@test.pl" 012ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 105ms
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 "automaty31415@test.pl" by JSON file(file:Features/Atom/Invitations/Invitation.feature:173)
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 000ms
When Login as "piast-admin" 000ms
Then Go to "INVITATIONS_TAB" 000ms
And Go to invitation details 000ms
Then Reject invitation by button as user 000ms
When If user is login then logout 000ms
Then Login as "super-admin-alrec" and set token of apiUsername "super-admin-alrec" 000ms
And Go to "INVITATIONS_TAB" 000ms
And Go to "REJECTED_TAB" invitation status tab 000ms
Then Invitation is displayed on list "automaty31415@test.pl" 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:245)
	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)
After Hooks.cleanUserDetailsAfterTest() 073ms
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)
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 260ms
And Delete invitations with email "automatyy43@test.pl" 015ms
When Go to "INVITATIONS_TAB" 494ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 2s 353ms
Then Check content of message about invitation "GUSAlert" 15s 046ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 028ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 209ms
And Delete invitations with email "automatyy45@test.pl" 017ms
When Go to "INVITATIONS_TAB" 488ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 2s 337ms
Then Check content of message about invitation "GUSAlert" 15s 034ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 026ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 197ms
And Delete invitations with email "automatyy46@test.pl" 015ms
When Go to "INVITATIONS_TAB" 496ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 2s 387ms
Then Check content of message about invitation "GUSAlert" 15s 044ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 025ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 801ms
And Delete invitations with email "automatyy47@test.pl" 014ms
When Go to "INVITATIONS_TAB" 460ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 2s 489ms
Then Check content of message about invitation "GUSAlert" 15s 060ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 027ms
View Feature Invitation
Scenario Outline Check if new company from Poland is correctly verified in GUS [A-7282]
Steps
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 255ms
And Delete invitations with email "automatyy48@test.pl" 014ms
When Go to "INVITATIONS_TAB" 453ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 2s 448ms
Then Check content of message about invitation "GUSAlert" 15s 078ms
java.lang.AssertionError: Komunikat o poprawnym wysłaniu zaproszenia na mejla się nie pojawił
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at Pages.Invitation.InvitationPage.getSuccessAlertContent(InvitationPage.java:79)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:228)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:194)
And If user is login then logout 000ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 000ms
And Verify that user is redirected to registration page 000ms
And Fill tax id registration page "notByJSON" 000ms
Then Verify that user is redirected to registration page 000ms
And Check if data from GUS are automatically completed 000ms
After Hooks.deleteInvitationAfterTest() 025ms
View Feature Invitation
Scenario Outline Check if the registrant provided a non-compliant NIP, the appropriate message will be displayed [A-7285]
Steps
Given Set token of apiUsername "super-admin-piast" 224ms
And Delete invitations with email "automatyy99@test.pl" 015ms
And If user is login then logout 586ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 394ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 7s 355ms
And Verify that user is redirected to registration page 278ms
And Fill tax id registration page "notbyJSON" 15s 078ms
java.lang.AssertionError: Formularz do podania NIP'u nie pojawił się
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Invitation.RegistrationTest.fillTaxIdRegistrationPage(RegistrationTest.java:131)
	at ✽.Fill tax id registration page "notbyJSON"(file:Features/Atom/Invitations/Invitation.feature:218)
Then Check if non-compliant NIP message is displayed 000ms
After Hooks.deleteInvitationAfterTest() 048ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 263ms
And Delete invitations with email "aaaa@keeeper.pl" 016ms
When Go to "INVITATIONS_TAB" 494ms
And Go to create invitation form 240ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 997ms
Then Check if NIP is not required to inviting to your company 30s 098ms
When Send invitation 161ms
Then Create invitation success alert is displayed 334ms
And Invitation is displayed on list "aaaa@keeeper.pl" 567ms
After Hooks.deleteInvitationAfterTest() 069ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 047ms
And Delete invitations with email "aaaa@neuca.pl" 017ms
When Go to "INVITATIONS_TAB" 486ms
And Go to create invitation form 248ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 999ms
Then Check if NIP is not required to inviting to your company 30s 158ms
When Send invitation 175ms
Then Create invitation success alert is displayed 455ms
And Invitation is displayed on list "aaaa@neuca.pl" 580ms
After Hooks.deleteInvitationAfterTest() 146ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 299ms
And Delete invitations with email "aaaa@farmacol.com.pl" 018ms
When Go to "INVITATIONS_TAB" 440ms
And Go to create invitation form 217ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 105ms
Then Check if NIP is not required to inviting to your company 30s 123ms
When Send invitation 201ms
Then Create invitation success alert is displayed 517ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 534ms
After Hooks.deleteInvitationAfterTest() 068ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 186ms
And Delete invitations with email "aaaa@keeeper.pl" 016ms
When Go to "INVITATIONS_TAB" 434ms
And Go to create invitation form 216ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 060ms
When Send invitation 172ms
Then Create invitation success alert is displayed 287ms
And Check content of message about invitation "ownCompany" 177ms
And Invitation is displayed on list "aaaa@keeeper.pl" 535ms
After Hooks.deleteInvitationAfterTest() 047ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 198ms
And Delete invitations with email "aaaa@neuca.pl" 018ms
When Go to "INVITATIONS_TAB" 423ms
And Go to create invitation form 192ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 061ms
When Send invitation 170ms
Then Create invitation success alert is displayed 409ms
And Check content of message about invitation "ownCompany" 166ms
And Invitation is displayed on list "aaaa@neuca.pl" 541ms
After Hooks.deleteInvitationAfterTest() 050ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 223ms
And Delete invitations with email "aaaa@farmacol.com.pl" 013ms
When Go to "INVITATIONS_TAB" 414ms
And Go to create invitation form 200ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 177ms
When Send invitation 164ms
Then Create invitation success alert is displayed 403ms
And Check content of message about invitation "ownCompany" 169ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 474ms
After Hooks.deleteInvitationAfterTest() 047ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 282ms
And Delete invitations with email "abc@keeeper.pl" 016ms
When Go to "INVITATIONS_TAB" 454ms
And Go to create invitation form 231ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 894ms
When Send invitation 137ms
Then Verify that wrong mail domain alert is displayed 138ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 294ms
And Send invitation 113ms
Then Create invitation success alert is displayed 292ms
And Check content of message about invitation "ownCompany" 133ms
And Invitation is displayed on list "abc@keeeper.pl" 499ms
After Hooks.deleteInvitationAfterTest() 046ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 926ms
And Delete invitations with email "abcd@neuca.pl" 014ms
When Go to "INVITATIONS_TAB" 413ms
And Go to create invitation form 201ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 971ms
When Send invitation 140ms
Then Verify that wrong mail domain alert is displayed 143ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 299ms
And Send invitation 132ms
Then Create invitation success alert is displayed 363ms
And Check content of message about invitation "ownCompany" 136ms
And Invitation is displayed on list "abcd@neuca.pl" 456ms
After Hooks.deleteInvitationAfterTest() 044ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 244ms
And Delete invitations with email "abcde@farmacol.com.pl" 015ms
When Go to "INVITATIONS_TAB" 412ms
And Go to create invitation form 205ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 1s 202ms
When Send invitation 169ms
Then Verify that wrong mail domain alert is displayed 160ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 420ms
And Send invitation 143ms
Then Create invitation success alert is displayed 411ms
And Check content of message about invitation "ownCompany" 199ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 482ms
After Hooks.deleteInvitationAfterTest() 066ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 040ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 013ms
When Go to "INVITATIONS_TAB" 427ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 524ms
Then Check content of message about invitation "incompatibleNIP" 221ms
After Hooks.deleteInvitationAfterTest() 028ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 141ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 492ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 407ms
Then Check content of message about invitation "incompatibleNIP" 153ms
After Hooks.deleteInvitationAfterTest() 022ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 080ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 013ms
When Go to "INVITATIONS_TAB" 480ms
And Go to create invitation form 237ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 068ms
Then Check if company existed in apollo is suggest correctly 131ms
When Send invitation 142ms
Then Check content of message about invitation "incompatibleNIP" 246ms
After Hooks.deleteInvitationAfterTest() 026ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 037ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 479ms
And Go to create invitation form 239ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 063ms
Then Check if company existed in apollo is suggest correctly 164ms
When Send invitation 156ms
Then Check content of message about invitation "incompatibleNIP" 244ms
After Hooks.deleteInvitationAfterTest() 029ms
View Feature Invitation
Scenario Outline Check if it is possible to invite existing user in order to associate him with principal company [A-7315]
Steps
Given Set token of apiUsername "super-admin-alrec" 131ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 241ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 946ms
And Go to "INVITATIONS_TAB" 475ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 237ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:136)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findCompanyTaxIdNumberByEmail(ApolloSelectDbService.java:409)
	at Pages.Invitation.InvitationPage.fillForm(InvitationPage.java:44)
	at CucumberTests.Invitation.InvitationTest.createInvitation(InvitationTest.java:51)
	at ✽.Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL"(file:Features/Atom/Invitations/Invitation.feature:347)
And Wait "3" seconds 000ms
Then Create invitation success alert is displayed 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:245)
	at sun.reflect.GeneratedMethodAccessor238.invoke(Unknown Source)
	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)
After Hooks.cleanUserDetailsAfterTest() 223ms
View Feature Invitation
Given Login as "super-admin-farmacol" and set token of apiUsername "super-admin-farmacol" 2s 863ms
When Create company "Farmacol-NEU" with given nip "DE" "12344321123" "Dostawca \ Odbiorca" 4s 275ms
And If user is login then logout 494ms
And Login as "super-admin-neuca" 2s 418ms
And Go to "INVITATIONS_TAB" 360ms
And Create invitation with given nip "SUPPLIER" "SUPPLIER" "farmacol-neu@qp.pl" "DE" "12344321123" 2s 444ms
And If user is login then logout 5s 620ms
And Mock invitation email by admin panel "super-admin-neuca" "farmacol-neu@qp.pl" 7s 468ms
And Register to application "SUPPLIER" 19s 119ms
And Wait "4" seconds 4s
And Login as "farmacol-neu@qp.pl" 2s 486ms
And User is successfully logged 030ms
After Hooks.deleteCompanyAfterTest() 201ms
After Hooks.deleteInvitationAfterTest() 030ms