Project Number Date
ApolloFullRunnerReport refs/heads/develop-kapibary.4 19 maj 2021, 22:18

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteInvitationAfterTest 177 9 46 0 0 232 25 9 34 11m 44s 553ms Failed
View Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 737ms
When Go to "INVITATIONS_TAB" 561ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 2s 733ms
Then Create invitation success alert is displayed 1s 469ms
And Invitation is displayed on list "automatyy1@test.pl" 668ms
After Hooks.deleteInvitationAfterTest() 153ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 567ms
When Go to "INVITATIONS_TAB" 540ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 630ms
Then Create invitation success alert is displayed 1s 192ms
And Invitation is displayed on list "automatyy2@test.pl" 593ms
After Hooks.deleteInvitationAfterTest() 145ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 407ms
When Go to "INVITATIONS_TAB" 454ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 509ms
Then Create invitation success alert is displayed 770ms
And Invitation is displayed on list "automatyy2@test.pl" 726ms
After Hooks.deleteInvitationAfterTest() 141ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 485ms
When Go to "INVITATIONS_TAB" 479ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 565ms
Then Create invitation success alert is displayed 974ms
And Invitation is displayed on list "automatyy2@test.pl" 721ms
After Hooks.deleteInvitationAfterTest() 178ms
View Feature Invitation
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 469ms
When Go to "INVITATIONS_TAB" 489ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 481ms
Then Create invitation success alert is displayed 761ms
And Invitation is displayed on list "automatyy2@test.pl" 712ms
After Hooks.deleteInvitationAfterTest() 130ms
View Feature Invitation
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 390ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 51s 762ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 241ms
View Feature Invitation
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 372ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 37s 014ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 304ms
View Feature Invitation
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 2s 149ms
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() 230ms
View Feature Invitation
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 432ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 30s 931ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 231ms
View Feature Invitation
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 249ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 50s 410ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 193ms
View Feature Invitation
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 857ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 44s 706ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 190ms
View Feature Invitation
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 146ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 50s 682ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 249ms
View Feature Invitation
Scenario Outline Check if expired invitation is visible in expired tab
Steps
Given If user is login then logout 15s 096ms
Given Set token of apiUsername "super-admin-piast" 317ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 260ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 364ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 436ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	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-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:140)
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
After Hooks.deleteInvitationAfterTest() 109ms
After Hooks.rollbackSettings() 112ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 218ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 402ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	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.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:92)
	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:152)
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() 117ms
After Hooks.cleanUserDetailsAfterTest() 374ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	at sun.reflect.GeneratedConstructorAccessor185.newInstance(Unknown Source)
	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.put(RequestSpecificationImpl.groovy:179)
	at io.restassured.internal.RequestSpecificationImpl.put(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.putObjectToApolloApi(RestUtil.java:92)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:316)
	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 793ms
When Go to "INVITATIONS_TAB" 558ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 2s 620ms
Then Check content of message about invitation "GUSAlert" 15s 038ms
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:74)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "piast-admin" "automatyy4@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() 126ms
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 432ms
When Go to "INVITATIONS_TAB" 480ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 2s 624ms
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:74)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy4@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() 213ms
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 456ms
When Go to "INVITATIONS_TAB" 501ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 2s 563ms
Then Check content of message about invitation "GUSAlert" 15s 055ms
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:74)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy4@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() 117ms
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 419ms
When Go to "INVITATIONS_TAB" 469ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 2s 623ms
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:74)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "neuca-admin" "automatyy4@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() 118ms
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 594ms
When Go to "INVITATIONS_TAB" 489ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy4@test.pl" "PL" 2s 736ms
Then Check content of message about invitation "GUSAlert" 15s 035ms
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:74)
	at CucumberTests.Invitation.InvitationTest.checkContentInvitationAlert(InvitationTest.java:214)
	at ✽.Check content of message about invitation "GUSAlert"(file:Features/Atom/Invitations/Invitation.feature:172)
And If user is login then logout 000ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy4@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() 091ms
View Feature Invitation
Scenario Outline Check if the registrant provided a non-compliant NIP, the appropriate message will be displayed [A-7285]
Steps
Given If user is login then logout 304ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 268ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 7s 647ms
And Verify that user is redirected to registration page 15s 035ms
java.lang.AssertionError: Użytkownik nie został przekierowany do strony rejestracji!
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.Invitation.RegistrationTest.verifyThatUserIsRedirectedToRegistrationPage(RegistrationTest.java:125)
	at ✽.Verify that user is redirected to registration page(file:Features/Atom/Invitations/Invitation.feature:192)
And Fill tax id registration page "notbyJSON" 000ms
Then Check if non-compliant NIP message is displayed 000ms
After Hooks.deleteInvitationAfterTest() 239ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 6s 603ms
When Go to "INVITATIONS_TAB" 477ms
And Go to create invitation form 238ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 205ms
Then Check if NIP is not required to inviting to your company 30s 086ms
When Send invitation 191ms
Then Create invitation success alert is displayed 1s 345ms
And Invitation is displayed on list "aaaa@keeeper.pl" 766ms
After Hooks.deleteInvitationAfterTest() 232ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 474ms
When Go to "INVITATIONS_TAB" 455ms
And Go to create invitation form 242ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 208ms
Then Check if NIP is not required to inviting to your company 30s 163ms
When Send invitation 201ms
Then Create invitation success alert is displayed 1s 405ms
And Invitation is displayed on list "aaaa@neuca.pl" 733ms
After Hooks.deleteInvitationAfterTest() 227ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 7s 775ms
When Go to "INVITATIONS_TAB" 493ms
And Go to create invitation form 248ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 285ms
Then Check if NIP is not required to inviting to your company 30s 138ms
When Send invitation 187ms
Then Create invitation success alert is displayed 1s 792ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 769ms
After Hooks.deleteInvitationAfterTest() 222ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 485ms
When Go to "INVITATIONS_TAB" 492ms
And Go to create invitation form 250ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 204ms
When Send invitation 169ms
Then Create invitation success alert is displayed 1s 030ms
And Check content of message about invitation "ownCompany" 186ms
And Invitation is displayed on list "aaaa@keeeper.pl" 681ms
After Hooks.deleteInvitationAfterTest() 129ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 458ms
When Go to "INVITATIONS_TAB" 466ms
And Go to create invitation form 230ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 219ms
When Send invitation 169ms
Then Create invitation success alert is displayed 1s 389ms
And Check content of message about invitation "ownCompany" 168ms
And Invitation is displayed on list "aaaa@neuca.pl" 603ms
After Hooks.deleteInvitationAfterTest() 141ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 483ms
When Go to "INVITATIONS_TAB" 469ms
And Go to create invitation form 243ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 403ms
When Send invitation 172ms
Then Create invitation success alert is displayed 1s 705ms
And Check content of message about invitation "ownCompany" 135ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 529ms
After Hooks.deleteInvitationAfterTest() 142ms
View Feature Invitation
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 419ms
When Go to "INVITATIONS_TAB" 492ms
And Go to create invitation form 235ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 1s 169ms
When Send invitation 170ms
Then Verify that wrong mail domain alert is displayed 172ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 341ms
And Send invitation 137ms
Then Create invitation success alert is displayed 950ms
And Check content of message about invitation "ownCompany" 170ms
And Invitation is displayed on list "abc@keeeper.pl" 598ms
After Hooks.deleteInvitationAfterTest() 131ms
View Feature Invitation
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 383ms
When Go to "INVITATIONS_TAB" 464ms
And Go to create invitation form 245ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 1s 222ms
When Send invitation 176ms
Then Verify that wrong mail domain alert is displayed 161ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 322ms
And Send invitation 147ms
Then Create invitation success alert is displayed 1s 365ms
And Check content of message about invitation "ownCompany" 168ms
And Invitation is displayed on list "abcd@neuca.pl" 610ms
After Hooks.deleteInvitationAfterTest() 233ms
View Feature Invitation
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 475ms
When Go to "INVITATIONS_TAB" 799ms
And Go to create invitation form 259ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 1s 275ms
When Send invitation 179ms
Then Verify that wrong mail domain alert is displayed 187ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 470ms
And Send invitation 155ms
Then Create invitation success alert is displayed 1s 788ms
And Check content of message about invitation "ownCompany" 171ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 586ms
After Hooks.deleteInvitationAfterTest() 143ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 6s 488ms
When Go to "INVITATIONS_TAB" 667ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 598ms
Then Check content of message about invitation "incompatibleNIP" 386ms
After Hooks.deleteInvitationAfterTest() 261ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 309ms
When Go to "INVITATIONS_TAB" 517ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 559ms
Then Check content of message about invitation "incompatibleNIP" 316ms
After Hooks.deleteInvitationAfterTest() 128ms
View Feature Invitation
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 492ms
When Go to "INVITATIONS_TAB" 524ms
And Go to create invitation form 253ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 330ms
Then Check if company existed in apollo is suggest correctly 176ms
When Send invitation 164ms
Then Check content of message about invitation "incompatibleNIP" 364ms
After Hooks.deleteInvitationAfterTest() 136ms
View Feature Invitation
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 325ms
When Go to "INVITATIONS_TAB" 479ms
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 223ms
Then Check if company existed in apollo is suggest correctly 157ms
When Send invitation 185ms
Then Check content of message about invitation "incompatibleNIP" 296ms
After Hooks.deleteInvitationAfterTest() 121ms
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" 214ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 290ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 247ms
And Go to "INVITATIONS_TAB" 457ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 637ms
Then Create invitation success alert is displayed 15s 091ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (Session info: headless chrome=90.0.4430.212)
For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html
Build info: version: '3.6.0', revision: '6fbf3ec767', time: '2017-09-27T15:28:36.4Z'
System info: host: 'apollo-test-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=90.0.4430.24 (4c6d850f087da467d926e8eddb76550aed655991-refs/branch-heads/4430@{#429}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.SZuokF}, timeouts={implicit=0, pageLoad=300000, script=30000}, pageLoadStrategy=normal, unhandledPromptBehavior=dismiss and notify, strictFileInteractability=false, platform=LINUX, proxy=Proxy(), goog:chromeOptions={debuggerAddress=localhost:9222}, acceptInsecureCerts=false, browserVersion=90.0.4430.212, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 25a93f7dfa2a01ad0ea857fc16c68d5e
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	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.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at CucumberTests.Invitation.InvitationTest.createInvitationSuccessAlertIsDisplayed(InvitationTest.java:56)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:318)
After Hooks.deleteInvitationAfterTest() 096ms
After Hooks.cleanUserDetailsAfterTest() 1s 095ms