Project Number Date
ApolloFullRunnerReport develop.459 10 cze 2021, 07:03

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteInvitationAfterTest 220 2 10 0 0 232 32 2 34 8m 15s 622ms Failed
View Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 283ms
When Go to "INVITATIONS_TAB" 348ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 360ms
Then Create invitation success alert is displayed 821ms
And Invitation is displayed on list "automatyy1@test.pl" 210ms
After Hooks.deleteInvitationAfterTest() 082ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 141ms
When Go to "INVITATIONS_TAB" 164ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 061ms
Then Create invitation success alert is displayed 246ms
And Invitation is displayed on list "automatyy2@test.pl" 180ms
After Hooks.deleteInvitationAfterTest() 069ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 031ms
When Go to "INVITATIONS_TAB" 164ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 014ms
Then Create invitation success alert is displayed 255ms
And Invitation is displayed on list "automatyy2@test.pl" 219ms
After Hooks.deleteInvitationAfterTest() 051ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 995ms
When Go to "INVITATIONS_TAB" 155ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 995ms
Then Create invitation success alert is displayed 246ms
And Invitation is displayed on list "automatyy2@test.pl" 181ms
After Hooks.deleteInvitationAfterTest() 050ms
View Feature Invitation
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 048ms
When Go to "INVITATIONS_TAB" 160ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 029ms
Then Create invitation success alert is displayed 203ms
And Invitation is displayed on list "automatyy2@test.pl" 270ms
After Hooks.deleteInvitationAfterTest() 059ms
View Feature Invitation
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 269ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 49s 244ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 075ms
View Feature Invitation
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 864ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 36s 964ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 067ms
View Feature Invitation
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 942ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 422ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 059ms
View Feature Invitation
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 842ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 49s 490ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 074ms
View Feature Invitation
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 344ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 19s 193ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 073ms
View Feature Invitation
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 335ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 30s 906ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 066ms
View Feature Invitation
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 341ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 42s 674ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 055ms
View Feature Invitation
Given If user is login then logout 086ms
Given Set token of apiUsername "super-admin-piast" 134ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 215ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 238ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 353ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 283ms
Then Go to "INVITATIONS_TAB" 155ms
And Go to "EXPIRED_TAB" invitation status tab 074ms
Then Invitation is displayed on list "automaty31415@test.pl" 130ms
After Hooks.deleteInvitationAfterTest() 061ms
After Hooks.rollbackSettings() 045ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 127ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 186ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 182ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:64)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:63)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:153)
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() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:237)
	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() 178ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 479ms
When Go to "INVITATIONS_TAB" 171ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 1s 147ms
Then Check content of message about invitation "GUSAlert" 1s 128ms
And If user is login then logout 089ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 5s 383ms
And Verify that user is redirected to registration page 185ms
And Fill tax id registration page "notByJSON" 196ms
Then Verify that user is redirected to registration page 081ms
And Check if data from GUS are automatically completed 2s 083ms
After Hooks.deleteInvitationAfterTest() 007ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 093ms
When Go to "INVITATIONS_TAB" 194ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 1s 098ms
Then Check content of message about invitation "GUSAlert" 314ms
And If user is login then logout 094ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 5s 379ms
And Verify that user is redirected to registration page 181ms
And Fill tax id registration page "notByJSON" 196ms
Then Verify that user is redirected to registration page 084ms
And Check if data from GUS are automatically completed 2s 083ms
After Hooks.deleteInvitationAfterTest() 009ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 167ms
When Go to "INVITATIONS_TAB" 196ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 1s 166ms
Then Check content of message about invitation "GUSAlert" 318ms
And If user is login then logout 093ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 5s 298ms
And Verify that user is redirected to registration page 159ms
And Fill tax id registration page "notByJSON" 206ms
Then Verify that user is redirected to registration page 104ms
And Check if data from GUS are automatically completed 2s 074ms
After Hooks.deleteInvitationAfterTest() 006ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 025ms
When Go to "INVITATIONS_TAB" 176ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 1s 145ms
Then Check content of message about invitation "GUSAlert" 291ms
And If user is login then logout 070ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 5s 237ms
And Verify that user is redirected to registration page 130ms
And Fill tax id registration page "notByJSON" 217ms
Then Verify that user is redirected to registration page 081ms
And Check if data from GUS are automatically completed 2s 084ms
After Hooks.deleteInvitationAfterTest() 008ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 204ms
When Go to "INVITATIONS_TAB" 191ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 1s 193ms
Then Check content of message about invitation "GUSAlert" 366ms
And If user is login then logout 086ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 5s 366ms
And Verify that user is redirected to registration page 215ms
And Fill tax id registration page "notByJSON" 219ms
Then Verify that user is redirected to registration page 087ms
And Check if data from GUS are automatically completed 2s 080ms
After Hooks.deleteInvitationAfterTest() 006ms
View Feature Invitation
Given If user is login then logout 15s 056ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 352ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 356ms
And Verify that user is redirected to registration page 185ms
And Fill tax id registration page "notbyJSON" 222ms
Then Check if non-compliant NIP message is displayed 2s 027ms
After Hooks.deleteInvitationAfterTest() 046ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 148ms
When Go to "INVITATIONS_TAB" 197ms
And Go to create invitation form 085ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 448ms
Then Check if NIP is not required to inviting to your company 30s 065ms
When Send invitation 093ms
Then Create invitation success alert is displayed 256ms
And Invitation is displayed on list "aaaa@keeeper.pl" 279ms
After Hooks.deleteInvitationAfterTest() 058ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 908ms
When Go to "INVITATIONS_TAB" 154ms
And Go to create invitation form 077ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 468ms
Then Check if NIP is not required to inviting to your company 30s 124ms
When Send invitation 082ms
Then Create invitation success alert is displayed 316ms
And Invitation is displayed on list "aaaa@neuca.pl" 299ms
After Hooks.deleteInvitationAfterTest() 061ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 182ms
When Go to "INVITATIONS_TAB" 165ms
And Go to create invitation form 093ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 491ms
Then Check if NIP is not required to inviting to your company 30s 039ms
When Send invitation 099ms
Then Create invitation success alert is displayed 319ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 285ms
After Hooks.deleteInvitationAfterTest() 051ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 130ms
When Go to "INVITATIONS_TAB" 165ms
And Go to create invitation form 082ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 418ms
When Send invitation 055ms
Then Create invitation success alert is displayed 192ms
And Check content of message about invitation "ownCompany" 059ms
And Invitation is displayed on list "aaaa@keeeper.pl" 183ms
After Hooks.deleteInvitationAfterTest() 075ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 982ms
When Go to "INVITATIONS_TAB" 164ms
And Go to create invitation form 074ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 482ms
When Send invitation 070ms
Then Create invitation success alert is displayed 260ms
And Check content of message about invitation "ownCompany" 051ms
And Invitation is displayed on list "aaaa@neuca.pl" 195ms
After Hooks.deleteInvitationAfterTest() 056ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 074ms
When Go to "INVITATIONS_TAB" 180ms
And Go to create invitation form 085ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 500ms
When Send invitation 066ms
Then Create invitation success alert is displayed 307ms
And Check content of message about invitation "ownCompany" 044ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 175ms
After Hooks.deleteInvitationAfterTest() 050ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 088ms
When Go to "INVITATIONS_TAB" 178ms
And Go to create invitation form 078ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 424ms
When Send invitation 071ms
Then Verify that wrong mail domain alert is displayed 059ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 100ms
And Send invitation 052ms
Then Create invitation success alert is displayed 266ms
And Check content of message about invitation "ownCompany" 057ms
And Invitation is displayed on list "abc@keeeper.pl" 176ms
After Hooks.deleteInvitationAfterTest() 047ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 003ms
When Go to "INVITATIONS_TAB" 168ms
And Go to create invitation form 084ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 445ms
When Send invitation 071ms
Then Verify that wrong mail domain alert is displayed 051ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 107ms
And Send invitation 046ms
Then Create invitation success alert is displayed 325ms
And Check content of message about invitation "ownCompany" 055ms
And Invitation is displayed on list "abcd@neuca.pl" 224ms
After Hooks.deleteInvitationAfterTest() 053ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 092ms
When Go to "INVITATIONS_TAB" 179ms
And Go to create invitation form 084ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 489ms
When Send invitation 081ms
Then Verify that wrong mail domain alert is displayed 051ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 118ms
And Send invitation 057ms
Then Create invitation success alert is displayed 317ms
And Check content of message about invitation "ownCompany" 069ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 189ms
After Hooks.deleteInvitationAfterTest() 055ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 882ms
When Go to "INVITATIONS_TAB" 174ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 140ms
Then Check content of message about invitation "incompatibleNIP" 118ms
After Hooks.deleteInvitationAfterTest() 007ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 579ms
When Go to "INVITATIONS_TAB" 171ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 023ms
Then Check content of message about invitation "incompatibleNIP" 116ms
After Hooks.deleteInvitationAfterTest() 005ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 113ms
When Go to "INVITATIONS_TAB" 168ms
And Go to create invitation form 067ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 988ms
Then Check if company existed in apollo is suggest correctly 056ms
When Send invitation 047ms
Then Check content of message about invitation "incompatibleNIP" 105ms
After Hooks.deleteInvitationAfterTest() 004ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 006ms
When Go to "INVITATIONS_TAB" 149ms
And Go to create invitation form 084ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 974ms
Then Check if company existed in apollo is suggest correctly 060ms
When Send invitation 049ms
Then Check content of message about invitation "incompatibleNIP" 113ms
After Hooks.deleteInvitationAfterTest() 006ms
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 220ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 037ms
And Go to "INVITATIONS_TAB" 155ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 404ms
javax.persistence.PersistenceException: org.hibernate.exception.DataException: could not extract ResultSet
	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:149)
	at org.hibernate.internal.ExceptionConverterImpl.convert(ExceptionConverterImpl.java:157)
	at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1515)
	at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1554)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:128)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findCompanyTaxIdNumberByEmail(ApolloSelectDbService.java:403)
	at Pages.Invitation.InvitationPage.fillForm(InvitationPage.java:47)
	at CucumberTests.Invitation.InvitationTest.createInvitation(InvitationTest.java:48)
	at ✽.Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL"(file:Features/Atom/Invitations/Invitation.feature:317)
Caused by: org.hibernate.exception.DataException: could not extract ResultSet
	at org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:118)
	at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:42)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)
	at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:97)
	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:69)
	at org.hibernate.loader.Loader.getResultSet(Loader.java:2167)
	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1930)
	at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1892)
	at org.hibernate.loader.Loader.doQuery(Loader.java:937)
	at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:340)
	at org.hibernate.loader.Loader.doList(Loader.java:2689)
	at org.hibernate.loader.Loader.doList(Loader.java:2672)
	at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2506)
	at org.hibernate.loader.Loader.list(Loader.java:2501)
	at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:338)
	at org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:2221)
	at org.hibernate.internal.AbstractSharedSessionContract.list(AbstractSharedSessionContract.java:1051)
	at org.hibernate.query.internal.NativeQueryImpl.doList(NativeQueryImpl.java:168)
	at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1506)
	at org.hibernate.query.internal.AbstractProducedQuery.getSingleResult(AbstractProducedQuery.java:1554)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getStringResult(ApolloSelectDbService.java:128)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findCompanyTaxIdNumberByEmail(ApolloSelectDbService.java:403)
	at Pages.Invitation.InvitationPage.fillForm(InvitationPage.java:47)
	at CucumberTests.Invitation.InvitationTest.createInvitation(InvitationTest.java:48)
	at sun.reflect.GeneratedMethodAccessor246.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.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)
Caused by: org.postgresql.util.PSQLException: BŁĄD: ponad jeden wiersz zwrócony przez podzapytanie użyte jako wyrażenie
	at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2103)
	at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1836)
	at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:512)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:388)
	at org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:273)
	at org.hibernate.engine.jdbc.internal.ResultSetReturnImpl.extract(ResultSetReturnImpl.java:60)
	... 60 more
Then Create invitation success alert is displayed 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:237)
	at sun.reflect.GeneratedMethodAccessor240.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() 191ms