Project Number Date
ApolloFullRunnerReport apollo-test-2.89 21 lip 2021, 06:06

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 32s 893ms Failed
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 703ms
And Delete invitations with email "automatyy1@test.pl" 019ms
When Go to "INVITATIONS_TAB" 572ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 2s 664ms
Then Create invitation success alert is displayed 1s 729ms
And Invitation is displayed on list "automatyy1@test.pl" 661ms
After Hooks.deleteInvitationAfterTest() 173ms
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" 013ms
When Go to "INVITATIONS_TAB" 499ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 366ms
Then Create invitation success alert is displayed 1s 261ms
And Invitation is displayed on list "automatyy2@test.pl" 736ms
After Hooks.deleteInvitationAfterTest() 152ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 667ms
And Delete invitations with email "automatyy2@test.pl" 014ms
When Go to "INVITATIONS_TAB" 530ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 391ms
Then Create invitation success alert is displayed 860ms
And Invitation is displayed on list "automatyy2@test.pl" 745ms
After Hooks.deleteInvitationAfterTest() 150ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 617ms
And Delete invitations with email "automatyy2@test.pl" 015ms
When Go to "INVITATIONS_TAB" 491ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 396ms
Then Create invitation success alert is displayed 1s 061ms
And Invitation is displayed on list "automatyy2@test.pl" 734ms
After Hooks.deleteInvitationAfterTest() 252ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 374ms
And Delete invitations with email "automatyy2@test.pl" 017ms
When Go to "INVITATIONS_TAB" 495ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 441ms
Then Create invitation success alert is displayed 818ms
And Invitation is displayed on list "automatyy2@test.pl" 671ms
After Hooks.deleteInvitationAfterTest() 163ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 210ms
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 440ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 27s 870ms
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-lantmannen" 213ms
And Delete invitations with email "apolloautomattest@gmail.com" 014ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 2s 023ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 10s 785ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 150ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 232ms
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" 1s 875ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 33s 628ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 241ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 239ms
And Delete invitations with email "apolloautomattest@gmail.com" 019ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 625ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 32s 168ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 246ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 261ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 479ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 33s 091ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 177ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 237ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 980ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 33s 004ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 261ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 233ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 262ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 37s 081ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 176ms
View Feature Invitation
Scenario Outline Check if expired invitation is visible in expired tab
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-piast" 244ms
And Delete invitations with email "automaty31415@test.pl" 014ms
And If user is login then logout 15s 095ms
Given Set token of apiUsername "super-admin-piast" 249ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 143ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 155ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 439ms
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 MIKBB, 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() 120ms
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" 231ms
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 202ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 386ms
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 MIKBB, 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() 969ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 810ms
And Delete invitations with email "automatyy43@test.pl" 013ms
When Go to "INVITATIONS_TAB" 464ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 2s 348ms
Then Check content of message about invitation "GUSAlert" 1s 448ms
And If user is login then logout 269ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 7s 272ms
And Verify that user is redirected to registration page 447ms
And Fill tax id registration page "notByJSON" 554ms
Then Verify that user is redirected to registration page 154ms
And Check if data from GUS are automatically completed 2s 242ms
After Hooks.deleteInvitationAfterTest() 030ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 432ms
And Delete invitations with email "automatyy45@test.pl" 015ms
When Go to "INVITATIONS_TAB" 505ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 2s 486ms
Then Check content of message about invitation "GUSAlert" 1s 042ms
And If user is login then logout 223ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 7s 393ms
And Verify that user is redirected to registration page 371ms
And Fill tax id registration page "notByJSON" 544ms
Then Verify that user is redirected to registration page 154ms
And Check if data from GUS are automatically completed 2s 245ms
After Hooks.deleteInvitationAfterTest() 029ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 476ms
And Delete invitations with email "automatyy46@test.pl" 014ms
When Go to "INVITATIONS_TAB" 453ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 2s 377ms
Then Check content of message about invitation "GUSAlert" 1s 263ms
And If user is login then logout 267ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 7s 257ms
And Verify that user is redirected to registration page 392ms
And Fill tax id registration page "notByJSON" 518ms
Then Verify that user is redirected to registration page 171ms
And Check if data from GUS are automatically completed 2s 227ms
After Hooks.deleteInvitationAfterTest() 024ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 437ms
And Delete invitations with email "automatyy47@test.pl" 012ms
When Go to "INVITATIONS_TAB" 454ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 2s 480ms
Then Check content of message about invitation "GUSAlert" 1s 817ms
And If user is login then logout 264ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 7s 232ms
And Verify that user is redirected to registration page 252ms
And Fill tax id registration page "notByJSON" 542ms
Then Verify that user is redirected to registration page 164ms
And Check if data from GUS are automatically completed 2s 224ms
After Hooks.deleteInvitationAfterTest() 029ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 6s 791ms
And Delete invitations with email "automatyy48@test.pl" 013ms
When Go to "INVITATIONS_TAB" 446ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 2s 509ms
Then Check content of message about invitation "GUSAlert" 2s 047ms
And If user is login then logout 536ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 7s 383ms
And Verify that user is redirected to registration page 426ms
And Fill tax id registration page "notByJSON" 615ms
Then Verify that user is redirected to registration page 150ms
And Check if data from GUS are automatically completed 2s 228ms
After Hooks.deleteInvitationAfterTest() 031ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 252ms
And Delete invitations with email "automatyy99@test.pl" 011ms
And If user is login then logout 15s 067ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 405ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 7s 411ms
And Verify that user is redirected to registration page 476ms
And Fill tax id registration page "notbyJSON" 549ms
Then Check if non-compliant NIP message is displayed 2s 080ms
After Hooks.deleteInvitationAfterTest() 151ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 7s 865ms
And Delete invitations with email "aaaa@keeeper.pl" 016ms
When Go to "INVITATIONS_TAB" 474ms
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 074ms
Then Check if NIP is not required to inviting to your company 30s 068ms
When Send invitation 180ms
Then Create invitation success alert is displayed 1s 148ms
And Invitation is displayed on list "aaaa@keeeper.pl" 701ms
After Hooks.deleteInvitationAfterTest() 154ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 9s 685ms
And Delete invitations with email "aaaa@neuca.pl" 016ms
When Go to "INVITATIONS_TAB" 477ms
And Go to create invitation form 192ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 062ms
Then Check if NIP is not required to inviting to your company 30s 141ms
When Send invitation 186ms
Then Create invitation success alert is displayed 1s 761ms
And Invitation is displayed on list "aaaa@neuca.pl" 760ms
After Hooks.deleteInvitationAfterTest() 166ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 9s 267ms
And Delete invitations with email "aaaa@farmacol.com.pl" 014ms
When Go to "INVITATIONS_TAB" 458ms
And Go to create invitation form 207ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 177ms
Then Check if NIP is not required to inviting to your company 30s 120ms
When Send invitation 172ms
Then Create invitation success alert is displayed 1s 959ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 787ms
After Hooks.deleteInvitationAfterTest() 247ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 414ms
And Delete invitations with email "aaaa@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 443ms
And Go to create invitation form 211ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 089ms
When Send invitation 147ms
Then Create invitation success alert is displayed 1s 147ms
And Check content of message about invitation "ownCompany" 208ms
And Invitation is displayed on list "aaaa@keeeper.pl" 557ms
After Hooks.deleteInvitationAfterTest() 161ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 239ms
And Delete invitations with email "aaaa@neuca.pl" 015ms
When Go to "INVITATIONS_TAB" 525ms
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 174ms
When Send invitation 144ms
Then Create invitation success alert is displayed 1s 672ms
And Check content of message about invitation "ownCompany" 145ms
And Invitation is displayed on list "aaaa@neuca.pl" 526ms
After Hooks.deleteInvitationAfterTest() 141ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 513ms
And Delete invitations with email "aaaa@farmacol.com.pl" 017ms
When Go to "INVITATIONS_TAB" 505ms
And Go to create invitation form 228ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 202ms
When Send invitation 146ms
Then Create invitation success alert is displayed 1s 931ms
And Check content of message about invitation "ownCompany" 170ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 577ms
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" 2s 417ms
And Delete invitations with email "abc@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 477ms
And Go to create invitation form 233ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 1s 158ms
When Send invitation 176ms
Then Verify that wrong mail domain alert is displayed 171ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 315ms
And Send invitation 120ms
Then Create invitation success alert is displayed 1s 075ms
And Check content of message about invitation "ownCompany" 152ms
And Invitation is displayed on list "abc@keeeper.pl" 523ms
After Hooks.deleteInvitationAfterTest() 148ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 318ms
And Delete invitations with email "abcd@neuca.pl" 014ms
When Go to "INVITATIONS_TAB" 436ms
And Go to create invitation form 220ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 1s 125ms
When Send invitation 146ms
Then Verify that wrong mail domain alert is displayed 154ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 323ms
And Send invitation 129ms
Then Create invitation success alert is displayed 1s 683ms
And Check content of message about invitation "ownCompany" 140ms
And Invitation is displayed on list "abcd@neuca.pl" 540ms
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" 2s 424ms
And Delete invitations with email "abcde@farmacol.com.pl" 013ms
When Go to "INVITATIONS_TAB" 497ms
And Go to create invitation form 222ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 1s 274ms
When Send invitation 173ms
Then Verify that wrong mail domain alert is displayed 183ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 406ms
And Send invitation 126ms
Then Create invitation success alert is displayed 1s 918ms
And Check content of message about invitation "ownCompany" 137ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 532ms
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 153ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 017ms
When Go to "INVITATIONS_TAB" 493ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 468ms
Then Check content of message about invitation "incompatibleNIP" 454ms
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 095ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 013ms
When Go to "INVITATIONS_TAB" 591ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 462ms
Then Check content of message about invitation "incompatibleNIP" 282ms
After Hooks.deleteInvitationAfterTest() 023ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 383ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 015ms
When Go to "INVITATIONS_TAB" 510ms
And Go to create invitation form 206ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 173ms
Then Check if company existed in apollo is suggest correctly 128ms
When Send invitation 176ms
Then Check content of message about invitation "incompatibleNIP" 335ms
After Hooks.deleteInvitationAfterTest() 021ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 399ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 013ms
When Go to "INVITATIONS_TAB" 450ms
And Go to create invitation form 207ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 084ms
Then Check if company existed in apollo is suggest correctly 133ms
When Send invitation 143ms
Then Check content of message about invitation "incompatibleNIP" 345ms
After Hooks.deleteInvitationAfterTest() 025ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 232ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 648ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 180ms
And Go to "INVITATIONS_TAB" 432ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 498ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 116ms
After Hooks.deleteInvitationAfterTest() 029ms
After Hooks.cleanUserDetailsAfterTest() 1s 251ms
View Feature Invitation
Scenario Outline Check if new user can be registered to company existing in different principal space
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "super-admin-farmacol" and set token of apiUsername "super-admin-farmacol" 8s 320ms
When Create company "Farmacol-NEU" with given nip "DE" "12344321123" "Dostawca \ Odbiorca" 5s 819ms
And If user is login then logout 267ms
And Login as "super-admin-neuca" 9s 916ms
And Go to "INVITATIONS_TAB" 522ms
And Create invitation with given nip "SUPPLIER" "SUPPLIER" "farmacol-neu@qp.pl" "DE" "12344321123" 2s 426ms
And If user is login then logout 236ms
And Mock invitation email by admin panel "super-admin-neuca" "farmacol-neu@qp.pl" 7s 446ms
And Register to application "SUPPLIER" 18s 753ms
And Wait "4" seconds 4s
And Login as "farmacol-neu@qp.pl" 7s 840ms
And User is successfully logged 038ms
Hooks
After Hooks.deleteCompanyAfterTest() 188ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem companies/224216703/disable/ - status odpowiedzi: 403 , komunikat:  [path:/apollo/api/companies/224216703/disable/, error:Forbidden, message:Forbidden, timestamp:1626812967902, 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() 035ms