Project Number Date
ApolloFullRunnerReport develop.437 26 maj 2021, 09:53

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 7m 57s 261ms Failed
View Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 409ms
When Go to "INVITATIONS_TAB" 405ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 473ms
Then Create invitation success alert is displayed 809ms
And Invitation is displayed on list "automatyy1@test.pl" 265ms
After Hooks.deleteInvitationAfterTest() 054ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 196ms
When Go to "INVITATIONS_TAB" 182ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 174ms
Then Create invitation success alert is displayed 250ms
And Invitation is displayed on list "automatyy2@test.pl" 186ms
After Hooks.deleteInvitationAfterTest() 050ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 017ms
When Go to "INVITATIONS_TAB" 175ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 115ms
Then Create invitation success alert is displayed 260ms
And Invitation is displayed on list "automatyy2@test.pl" 194ms
After Hooks.deleteInvitationAfterTest() 052ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 094ms
When Go to "INVITATIONS_TAB" 173ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 142ms
Then Create invitation success alert is displayed 259ms
And Invitation is displayed on list "automatyy2@test.pl" 178ms
After Hooks.deleteInvitationAfterTest() 055ms
View Feature Invitation
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 1s 101ms
When Go to "INVITATIONS_TAB" 182ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 114ms
Then Create invitation success alert is displayed 255ms
And Invitation is displayed on list "automatyy2@test.pl" 248ms
After Hooks.deleteInvitationAfterTest() 054ms
View Feature Invitation
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 800ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 1m 3s 788ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 060ms
View Feature Invitation
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 812ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 611ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 070ms
View Feature Invitation
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 775ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 1m 1s 888ms
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" 804ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 31s 522ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 063ms
View Feature Invitation
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 342ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 32s 046ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 060ms
View Feature Invitation
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 301ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 13s 473ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 053ms
View Feature Invitation
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 346ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 13s 583ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 053ms
View Feature Invitation
Given If user is login then logout 080ms
Given Set token of apiUsername "super-admin-piast" 133ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 223ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 275ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 347ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 305ms
Then Go to "INVITATIONS_TAB" 178ms
And Go to "EXPIRED_TAB" invitation status tab 086ms
Then Invitation is displayed on list "automaty31415@test.pl" 139ms
After Hooks.deleteInvitationAfterTest() 050ms
After Hooks.rollbackSettings() 044ms
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 212ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 172ms
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.GeneratedMethodAccessor94.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.GeneratedMethodAccessor93.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() 001ms
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() 156ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 366ms
When Go to "INVITATIONS_TAB" 164ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 1s 235ms
Then Check content of message about invitation "GUSAlert" 814ms
And If user is login then logout 093ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 5s 380ms
And Verify that user is redirected to registration page 210ms
And Fill tax id registration page "notByJSON" 224ms
Then Verify that user is redirected to registration page 085ms
And Check if data from GUS are automatically completed 2s 082ms
After Hooks.deleteInvitationAfterTest() 008ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 102ms
When Go to "INVITATIONS_TAB" 192ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 1s 152ms
Then Check content of message about invitation "GUSAlert" 246ms
And If user is login then logout 075ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 5s 194ms
And Verify that user is redirected to registration page 170ms
And Fill tax id registration page "notByJSON" 193ms
Then Verify that user is redirected to registration page 082ms
And Check if data from GUS are automatically completed 2s 083ms
After Hooks.deleteInvitationAfterTest() 008ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 172ms
When Go to "INVITATIONS_TAB" 185ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 1s 148ms
Then Check content of message about invitation "GUSAlert" 317ms
And If user is login then logout 093ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 5s 300ms
And Verify that user is redirected to registration page 194ms
And Fill tax id registration page "notByJSON" 200ms
Then Verify that user is redirected to registration page 092ms
And Check if data from GUS are automatically completed 2s 074ms
After Hooks.deleteInvitationAfterTest() 007ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 057ms
When Go to "INVITATIONS_TAB" 190ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 1s 251ms
Then Check content of message about invitation "GUSAlert" 310ms
And If user is login then logout 096ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 5s 334ms
And Verify that user is redirected to registration page 147ms
And Fill tax id registration page "notByJSON" 175ms
Then Verify that user is redirected to registration page 083ms
And Check if data from GUS are automatically completed 2s 079ms
After Hooks.deleteInvitationAfterTest() 007ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 166ms
When Go to "INVITATIONS_TAB" 191ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 1s 231ms
Then Check content of message about invitation "GUSAlert" 372ms
And If user is login then logout 092ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 5s 282ms
And Verify that user is redirected to registration page 180ms
And Fill tax id registration page "notByJSON" 210ms
Then Verify that user is redirected to registration page 086ms
And Check if data from GUS are automatically completed 2s 080ms
After Hooks.deleteInvitationAfterTest() 012ms
View Feature Invitation
Given If user is login then logout 15s 029ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 332ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 212ms
And Verify that user is redirected to registration page 196ms
And Fill tax id registration page "notbyJSON" 175ms
Then Check if non-compliant NIP message is displayed 2s 026ms
After Hooks.deleteInvitationAfterTest() 043ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 111ms
When Go to "INVITATIONS_TAB" 195ms
And Go to create invitation form 093ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 477ms
Then Check if NIP is not required to inviting to your company 30s 044ms
When Send invitation 100ms
Then Create invitation success alert is displayed 265ms
And Invitation is displayed on list "aaaa@keeeper.pl" 277ms
After Hooks.deleteInvitationAfterTest() 063ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 769ms
When Go to "INVITATIONS_TAB" 171ms
And Go to create invitation form 099ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 537ms
Then Check if NIP is not required to inviting to your company 30s 083ms
When Send invitation 086ms
Then Create invitation success alert is displayed 265ms
And Invitation is displayed on list "aaaa@neuca.pl" 227ms
After Hooks.deleteInvitationAfterTest() 038ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 031ms
When Go to "INVITATIONS_TAB" 189ms
And Go to create invitation form 090ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 532ms
Then Check if NIP is not required to inviting to your company 30s 030ms
When Send invitation 091ms
Then Create invitation success alert is displayed 322ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 300ms
After Hooks.deleteInvitationAfterTest() 050ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 131ms
When Go to "INVITATIONS_TAB" 140ms
And Go to create invitation form 088ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 454ms
When Send invitation 053ms
Then Create invitation success alert is displayed 254ms
And Check content of message about invitation "ownCompany" 051ms
And Invitation is displayed on list "aaaa@keeeper.pl" 189ms
After Hooks.deleteInvitationAfterTest() 066ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 044ms
When Go to "INVITATIONS_TAB" 161ms
And Go to create invitation form 090ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 489ms
When Send invitation 063ms
Then Create invitation success alert is displayed 255ms
And Check content of message about invitation "ownCompany" 051ms
And Invitation is displayed on list "aaaa@neuca.pl" 203ms
After Hooks.deleteInvitationAfterTest() 059ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 144ms
When Go to "INVITATIONS_TAB" 190ms
And Go to create invitation form 078ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 466ms
When Send invitation 068ms
Then Create invitation success alert is displayed 304ms
And Check content of message about invitation "ownCompany" 046ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 188ms
After Hooks.deleteInvitationAfterTest() 052ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 102ms
When Go to "INVITATIONS_TAB" 191ms
And Go to create invitation form 088ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 418ms
When Send invitation 050ms
Then Verify that wrong mail domain alert is displayed 055ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 103ms
And Send invitation 039ms
Then Create invitation success alert is displayed 208ms
And Check content of message about invitation "ownCompany" 045ms
And Invitation is displayed on list "abc@keeeper.pl" 195ms
After Hooks.deleteInvitationAfterTest() 058ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 097ms
When Go to "INVITATIONS_TAB" 155ms
And Go to create invitation form 078ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 476ms
When Send invitation 061ms
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" 105ms
And Send invitation 045ms
Then Create invitation success alert is displayed 258ms
And Check content of message about invitation "ownCompany" 055ms
And Invitation is displayed on list "abcd@neuca.pl" 191ms
After Hooks.deleteInvitationAfterTest() 049ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 090ms
When Go to "INVITATIONS_TAB" 181ms
And Go to create invitation form 087ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 496ms
When Send invitation 078ms
Then Verify that wrong mail domain alert is displayed 054ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 116ms
And Send invitation 070ms
Then Create invitation success alert is displayed 318ms
And Check content of message about invitation "ownCompany" 061ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 211ms
After Hooks.deleteInvitationAfterTest() 051ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 810ms
When Go to "INVITATIONS_TAB" 158ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 071ms
Then Check content of message about invitation "incompatibleNIP" 110ms
After Hooks.deleteInvitationAfterTest() 005ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 361ms
When Go to "INVITATIONS_TAB" 179ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 112ms
Then Check content of message about invitation "incompatibleNIP" 110ms
After Hooks.deleteInvitationAfterTest() 007ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 178ms
When Go to "INVITATIONS_TAB" 168ms
And Go to create invitation form 088ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 1s 041ms
Then Check if company existed in apollo is suggest correctly 052ms
When Send invitation 077ms
Then Check content of message about invitation "incompatibleNIP" 121ms
After Hooks.deleteInvitationAfterTest() 007ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 034ms
When Go to "INVITATIONS_TAB" 188ms
And Go to create invitation form 091ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 948ms
Then Check if company existed in apollo is suggest correctly 059ms
When Send invitation 041ms
Then Check content of message about invitation "incompatibleNIP" 099ms
After Hooks.deleteInvitationAfterTest() 009ms
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" 122ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 192ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 016ms
And Go to "INVITATIONS_TAB" 168ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 426ms
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.GeneratedMethodAccessor241.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() 001ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:237)
	at sun.reflect.GeneratedMethodAccessor235.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() 213ms