Project Number Date
ApolloFullRunnerReport apollo-test-2.91 23 lip 2021, 04:22

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteInvitationAfterTest 279 2 13 0 0 294 32 3 35 18m 41s 492ms Failed
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 736ms
And Delete invitations with email "automatyy1@test.pl" 019ms
When Go to "INVITATIONS_TAB" 564ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 2s 616ms
Then Create invitation success alert is displayed 1s 748ms
And Invitation is displayed on list "automatyy1@test.pl" 685ms
After Hooks.deleteInvitationAfterTest() 160ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 6s 125ms
And Delete invitations with email "automatyy2@test.pl" 016ms
When Go to "INVITATIONS_TAB" 449ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 354ms
Then Create invitation success alert is displayed 1s 264ms
And Invitation is displayed on list "automatyy2@test.pl" 677ms
After Hooks.deleteInvitationAfterTest() 162ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 682ms
And Delete invitations with email "automatyy2@test.pl" 013ms
When Go to "INVITATIONS_TAB" 450ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 427ms
Then Create invitation success alert is displayed 851ms
And Invitation is displayed on list "automatyy2@test.pl" 673ms
After Hooks.deleteInvitationAfterTest() 153ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 736ms
And Delete invitations with email "automatyy2@test.pl" 016ms
When Go to "INVITATIONS_TAB" 437ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 400ms
Then Create invitation success alert is displayed 1s 046ms
And Invitation is displayed on list "automatyy2@test.pl" 679ms
After Hooks.deleteInvitationAfterTest() 164ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 445ms
And Delete invitations with email "automatyy2@test.pl" 013ms
When Go to "INVITATIONS_TAB" 485ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 347ms
Then Create invitation success alert is displayed 815ms
And Invitation is displayed on list "automatyy2@test.pl" 678ms
After Hooks.deleteInvitationAfterTest() 139ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 238ms
And Delete invitations with email "apolloautomattest@gmail.com" 014ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 570ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 31s 922ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 249ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-lantmannen" 239ms
And Delete invitations with email "apolloautomattest@gmail.com" 015ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 515ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 26s 607ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 167ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 248ms
And Delete invitations with email "apolloautomattest@gmail.com" 015ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 2s 604ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 31s 834ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 323ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 250ms
And Delete invitations with email "apolloautomattest@gmail.com" 017ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 529ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 16s 891ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 157ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 245ms
And Delete invitations with email "apolloautomattest@gmail.com" 015ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 552ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 39s 082ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 242ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 225ms
And Delete invitations with email "apolloautomattest@gmail.com" 012ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 944ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 33s 186ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 160ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 256ms
And Delete invitations with email "apolloautomattest@gmail.com" 012ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 367ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 36s 977ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 165ms
View Feature Invitation
Scenario Outline Check if expired invitation is visible in expired tab
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-piast" 250ms
And Delete invitations with email "automaty31415@test.pl" 013ms
And If user is login then logout 15s 084ms
Given Set token of apiUsername "super-admin-piast" 264ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 117ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 144ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 509ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: [errors:[Niezgodny numer NIP! W platformie istnieje już użytkownik z podanym adresem mailowym (loginem). Jest on przypisany do firmy JQLXL, NIP: . Prosimy o poprawienie danych.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:161)
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 000ms
Then Go to "INVITATIONS_TAB" 000ms
And Go to "EXPIRED_TAB" invitation status tab 000ms
Then Invitation is displayed on list "automaty31415@test.pl" 000ms
Hooks
After Hooks.deleteInvitationAfterTest() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteInvitationAfterTest(Hooks.java:260)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaHookDefinition.execute(JavaHookDefinition.java:60)
	at cucumber.runner.HookDefinitionMatch.runStep(HookDefinitionMatch.java:16)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.TestCase.run(TestCase.java:49)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
After Hooks.rollbackSettings() 118ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-piast" 242ms
And Delete invitations with email "automaty31415@test.pl" 015ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 1s 179ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 400ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: [errors:[Niezgodny numer NIP! W platformie istnieje już użytkownik z podanym adresem mailowym (loginem). Jest on przypisany do firmy JQLXL, NIP: . Prosimy o poprawienie danych.]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:175)
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:260)
	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() 953ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 706ms
And Delete invitations with email "automatyy43@test.pl" 015ms
When Go to "INVITATIONS_TAB" 449ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 2s 362ms
Then Check content of message about invitation "GUSAlert" 1s 380ms
And If user is login then logout 245ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 7s 346ms
And Verify that user is redirected to registration page 456ms
And Fill tax id registration page "notByJSON" 536ms
Then Verify that user is redirected to registration page 164ms
And Check if data from GUS are automatically completed 2s 260ms
After Hooks.deleteInvitationAfterTest() 027ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 547ms
And Delete invitations with email "automatyy45@test.pl" 013ms
When Go to "INVITATIONS_TAB" 463ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 2s 383ms
Then Check content of message about invitation "GUSAlert" 1s 025ms
And If user is login then logout 599ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 7s 219ms
And Verify that user is redirected to registration page 339ms
And Fill tax id registration page "notByJSON" 557ms
Then Verify that user is redirected to registration page 162ms
And Check if data from GUS are automatically completed 2s 238ms
After Hooks.deleteInvitationAfterTest() 026ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 531ms
And Delete invitations with email "automatyy46@test.pl" 012ms
When Go to "INVITATIONS_TAB" 453ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 2s 443ms
Then Check content of message about invitation "GUSAlert" 1s 176ms
And If user is login then logout 220ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 7s 233ms
And Verify that user is redirected to registration page 352ms
And Fill tax id registration page "notByJSON" 534ms
Then Verify that user is redirected to registration page 148ms
And Check if data from GUS are automatically completed 2s 231ms
After Hooks.deleteInvitationAfterTest() 024ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 745ms
And Delete invitations with email "automatyy47@test.pl" 018ms
When Go to "INVITATIONS_TAB" 449ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 2s 452ms
Then Check content of message about invitation "GUSAlert" 1s 770ms
And If user is login then logout 549ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 7s 243ms
And Verify that user is redirected to registration page 258ms
And Fill tax id registration page "notByJSON" 559ms
Then Verify that user is redirected to registration page 156ms
And Check if data from GUS are automatically completed 2s 236ms
After Hooks.deleteInvitationAfterTest() 032ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 6s 908ms
And Delete invitations with email "automatyy48@test.pl" 012ms
When Go to "INVITATIONS_TAB" 450ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 2s 434ms
Then Check content of message about invitation "GUSAlert" 2s 185ms
And If user is login then logout 227ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 7s 212ms
And Verify that user is redirected to registration page 422ms
And Fill tax id registration page "notByJSON" 543ms
Then Verify that user is redirected to registration page 149ms
And Check if data from GUS are automatically completed 2s 235ms
After Hooks.deleteInvitationAfterTest() 026ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 003ms
Given Set token of apiUsername "super-admin-piast" 343ms
And Delete invitations with email "automatyy99@test.pl" 013ms
And If user is login then logout 15s 082ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 417ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 7s 292ms
And Verify that user is redirected to registration page 317ms
And Fill tax id registration page "notbyJSON" 511ms
Then Check if non-compliant NIP message is displayed 2s 069ms
After Hooks.deleteInvitationAfterTest() 130ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 8s 081ms
And Delete invitations with email "aaaa@keeeper.pl" 014ms
When Go to "INVITATIONS_TAB" 470ms
And Go to create invitation form 205ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 134ms
Then Check if NIP is not required to inviting to your company 30s 101ms
When Send invitation 177ms
Then Create invitation success alert is displayed 1s 184ms
And Invitation is displayed on list "aaaa@keeeper.pl" 703ms
After Hooks.deleteInvitationAfterTest() 260ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 9s 730ms
And Delete invitations with email "aaaa@neuca.pl" 020ms
When Go to "INVITATIONS_TAB" 428ms
And Go to create invitation form 224ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 100ms
Then Check if NIP is not required to inviting to your company 30s 107ms
When Send invitation 172ms
Then Create invitation success alert is displayed 1s 627ms
And Invitation is displayed on list "aaaa@neuca.pl" 750ms
After Hooks.deleteInvitationAfterTest() 239ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 9s 341ms
And Delete invitations with email "aaaa@farmacol.com.pl" 016ms
When Go to "INVITATIONS_TAB" 449ms
And Go to create invitation form 216ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 162ms
Then Check if NIP is not required to inviting to your company 30s 121ms
When Send invitation 171ms
Then Create invitation success alert is displayed 1s 933ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 717ms
After Hooks.deleteInvitationAfterTest() 160ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 466ms
And Delete invitations with email "aaaa@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 454ms
And Go to create invitation form 197ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 085ms
When Send invitation 144ms
Then Create invitation success alert is displayed 1s 045ms
And Check content of message about invitation "ownCompany" 144ms
And Invitation is displayed on list "aaaa@keeeper.pl" 560ms
After Hooks.deleteInvitationAfterTest() 157ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 334ms
And Delete invitations with email "aaaa@neuca.pl" 022ms
When Go to "INVITATIONS_TAB" 431ms
And Go to create invitation form 190ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 069ms
When Send invitation 157ms
Then Create invitation success alert is displayed 1s 740ms
And Check content of message about invitation "ownCompany" 147ms
And Invitation is displayed on list "aaaa@neuca.pl" 597ms
After Hooks.deleteInvitationAfterTest() 159ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 447ms
And Delete invitations with email "aaaa@farmacol.com.pl" 016ms
When Go to "INVITATIONS_TAB" 446ms
And Go to create invitation form 192ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 194ms
When Send invitation 151ms
Then Create invitation success alert is displayed 1s 868ms
And Check content of message about invitation "ownCompany" 133ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 567ms
After Hooks.deleteInvitationAfterTest() 146ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 474ms
And Delete invitations with email "abc@keeeper.pl" 013ms
When Go to "INVITATIONS_TAB" 462ms
And Go to create invitation form 199ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 1s 070ms
When Send invitation 145ms
Then Verify that wrong mail domain alert is displayed 157ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 312ms
And Send invitation 129ms
Then Create invitation success alert is displayed 1s 056ms
And Check content of message about invitation "ownCompany" 132ms
And Invitation is displayed on list "abc@keeeper.pl" 545ms
After Hooks.deleteInvitationAfterTest() 143ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 179ms
And Delete invitations with email "abcd@neuca.pl" 014ms
When Go to "INVITATIONS_TAB" 431ms
And Go to create invitation form 214ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 1s 117ms
When Send invitation 159ms
Then Verify that wrong mail domain alert is displayed 147ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 316ms
And Send invitation 133ms
Then Create invitation success alert is displayed 1s 684ms
And Check content of message about invitation "ownCompany" 156ms
And Invitation is displayed on list "abcd@neuca.pl" 553ms
After Hooks.deleteInvitationAfterTest() 255ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 468ms
And Delete invitations with email "abcde@farmacol.com.pl" 012ms
When Go to "INVITATIONS_TAB" 468ms
And Go to create invitation form 207ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 1s 206ms
When Send invitation 154ms
Then Verify that wrong mail domain alert is displayed 148ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 383ms
And Send invitation 124ms
Then Create invitation success alert is displayed 1s 910ms
And Check content of message about invitation "ownCompany" 135ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 498ms
After Hooks.deleteInvitationAfterTest() 139ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 7s 170ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 463ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 444ms
Then Check content of message about invitation "incompatibleNIP" 435ms
After Hooks.deleteInvitationAfterTest() 027ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 5s 011ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 015ms
When Go to "INVITATIONS_TAB" 447ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 497ms
Then Check content of message about invitation "incompatibleNIP" 297ms
After Hooks.deleteInvitationAfterTest() 025ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 460ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 450ms
And Go to create invitation form 225ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 166ms
Then Check if company existed in apollo is suggest correctly 138ms
When Send invitation 198ms
Then Check content of message about invitation "incompatibleNIP" 380ms
After Hooks.deleteInvitationAfterTest() 021ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 457ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 458ms
And Go to create invitation form 204ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 148ms
Then Check if company existed in apollo is suggest correctly 128ms
When Send invitation 130ms
Then Check content of message about invitation "incompatibleNIP" 296ms
After Hooks.deleteInvitationAfterTest() 025ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 229ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 598ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 167ms
And Go to "INVITATIONS_TAB" 504ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 441ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 103ms
After Hooks.deleteInvitationAfterTest() 026ms
After Hooks.cleanUserDetailsAfterTest() 1s 426ms
View Feature Invitation
Scenario Outline Check if new user can be registered to company existing in different principal space
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Login as "super-admin-farmacol" and set token of apiUsername "super-admin-farmacol" 8s 496ms
When Create company "Farmacol-NEU" with given nip "DE" "12344321123" "Dostawca \ Odbiorca" 5s 738ms
And If user is login then logout 230ms
And Login as "super-admin-neuca" 9s 951ms
And Go to "INVITATIONS_TAB" 441ms
And Create invitation with given nip "SUPPLIER" "SUPPLIER" "farmacol-neu@qp.pl" "DE" "12344321123" 2s 452ms
And If user is login then logout 573ms
And Mock invitation email by admin panel "super-admin-neuca" "farmacol-neu@qp.pl" 7s 271ms
And Register to application "SUPPLIER" 18s 937ms
And Wait "4" seconds 4s
And Login as "farmacol-neu@qp.pl" 7s 757ms
And User is successfully logged 032ms
Hooks
After Hooks.deleteCompanyAfterTest() 363ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem disableCompany?id=224550583 - status odpowiedzi: 403 , komunikat:  [path:/apollo/api/disableCompany, error:Forbidden, message:Forbidden, timestamp:1626985882632, status:403]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:274)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:110)
	at CucumberTests.Hooks.deleteCompanyAfterTest(Hooks.java:235)
	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.deleteInvitationAfterTest() 031ms