Project Number Date
ApolloFullRunnerReport 2021.AT1.23 28 lip 2021, 07:05

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@deleteInvitationAfterTest 281 3 10 0 0 294 32 3 35 13m 8s 060ms Failed
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 1s 174ms
And Delete invitations with email "automatyy1@test.pl" 003ms
When Go to "INVITATIONS_TAB" 285ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 1s 438ms
Then Create invitation success alert is displayed 702ms
And Invitation is displayed on list "automatyy1@test.pl" 197ms
After Hooks.deleteInvitationAfterTest() 032ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 586ms
And Delete invitations with email "automatyy2@test.pl" 002ms
When Go to "INVITATIONS_TAB" 180ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 058ms
Then Create invitation success alert is displayed 256ms
And Invitation is displayed on list "automatyy2@test.pl" 177ms
After Hooks.deleteInvitationAfterTest() 022ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 328ms
And Delete invitations with email "automatyy2@test.pl" 002ms
When Go to "INVITATIONS_TAB" 178ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 030ms
Then Create invitation success alert is displayed 251ms
And Invitation is displayed on list "automatyy2@test.pl" 171ms
After Hooks.deleteInvitationAfterTest() 022ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 452ms
And Delete invitations with email "automatyy2@test.pl" 002ms
When Go to "INVITATIONS_TAB" 175ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 040ms
Then Create invitation success alert is displayed 208ms
And Invitation is displayed on list "automatyy2@test.pl" 170ms
After Hooks.deleteInvitationAfterTest() 024ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 950ms
And Delete invitations with email "automatyy2@test.pl" 002ms
When Go to "INVITATIONS_TAB" 180ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 1s 055ms
Then Create invitation success alert is displayed 201ms
And Invitation is displayed on list "automatyy2@test.pl" 168ms
After Hooks.deleteInvitationAfterTest() 022ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 091ms
And Delete invitations with email "apolloautomattest@gmail.com" 002ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 916ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 10s 895ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 023ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-lantmannen" 087ms
And Delete invitations with email "apolloautomattest@gmail.com" 002ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 877ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 5s 897ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 024ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 103ms
And Delete invitations with email "apolloautomattest@gmail.com" 004ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 910ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 5s 838ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 020ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-adama" 094ms
And Delete invitations with email "apolloautomattest@gmail.com" 002ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 836ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 10s 839ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 030ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 091ms
And Delete invitations with email "apolloautomattest@gmail.com" 003ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 320ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 5s 818ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 023ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-alrec" 090ms
And Delete invitations with email "apolloautomattest@gmail.com" 002ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 253ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 11s 475ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 021ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 096ms
And Delete invitations with email "apolloautomattest@gmail.com" 002ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 372ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 10s 732ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 021ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 098ms
And Delete invitations with email "automaty31415@test.pl" 002ms
And If user is login then logout 361ms
Given Set token of apiUsername "super-admin-piast" 093ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 025ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 036ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 290ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 1s 096ms
Then Go to "INVITATIONS_TAB" 198ms
And Go to "EXPIRED_TAB" invitation status tab 098ms
Then Invitation is displayed on list "automaty31415@test.pl" 122ms
After Hooks.deleteInvitationAfterTest() 021ms
After Hooks.rollbackSettings() 029ms
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" 103ms
And Delete invitations with email "automaty31415@test.pl" 002ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 215ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 123ms
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 Piast Cargo Transport Sp. z o.o., 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() 161ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 423ms
And Delete invitations with email "automatyy43@test.pl" 002ms
When Go to "INVITATIONS_TAB" 173ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 1s 062ms
Then Check content of message about invitation "GUSAlert" 945ms
And If user is login then logout 223ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 5s 225ms
And Verify that user is redirected to registration page 161ms
And Fill tax id registration page "notByJSON" 187ms
Then Verify that user is redirected to registration page 091ms
And Check if data from GUS are automatically completed 2s 081ms
After Hooks.deleteInvitationAfterTest() 006ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 1s 036ms
And Delete invitations with email "automatyy45@test.pl" 002ms
When Go to "INVITATIONS_TAB" 178ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 1s 053ms
Then Check content of message about invitation "GUSAlert" 239ms
And If user is login then logout 252ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 5s 216ms
And Verify that user is redirected to registration page 127ms
And Fill tax id registration page "notByJSON" 215ms
Then Verify that user is redirected to registration page 084ms
And Check if data from GUS are automatically completed 2s 076ms
After Hooks.deleteInvitationAfterTest() 006ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 092ms
And Delete invitations with email "automatyy46@test.pl" 001ms
When Go to "INVITATIONS_TAB" 189ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 1s 102ms
Then Check content of message about invitation "GUSAlert" 303ms
And If user is login then logout 169ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 5s 206ms
And Verify that user is redirected to registration page 141ms
And Fill tax id registration page "notByJSON" 196ms
Then Verify that user is redirected to registration page 096ms
And Check if data from GUS are automatically completed 2s 074ms
After Hooks.deleteInvitationAfterTest() 003ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 670ms
And Delete invitations with email "automatyy47@test.pl" 002ms
When Go to "INVITATIONS_TAB" 173ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 1s 139ms
Then Check content of message about invitation "GUSAlert" 479ms
And If user is login then logout 073ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 5s 224ms
And Verify that user is redirected to registration page 171ms
And Fill tax id registration page "notByJSON" 205ms
Then Verify that user is redirected to registration page 083ms
And Check if data from GUS are automatically completed 2s 070ms
After Hooks.deleteInvitationAfterTest() 005ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 903ms
And Delete invitations with email "automatyy48@test.pl" 002ms
When Go to "INVITATIONS_TAB" 187ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 1s 108ms
Then Check content of message about invitation "GUSAlert" 357ms
And If user is login then logout 224ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 5s 222ms
And Verify that user is redirected to registration page 146ms
And Fill tax id registration page "notByJSON" 216ms
Then Verify that user is redirected to registration page 083ms
And Check if data from GUS are automatically completed 2s 072ms
After Hooks.deleteInvitationAfterTest() 005ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 094ms
And Delete invitations with email "automatyy99@test.pl" 004ms
And If user is login then logout 15s 059ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 295ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 5s 184ms
And Verify that user is redirected to registration page 143ms
And Fill tax id registration page "notbyJSON" 202ms
Then Check if non-compliant NIP message is displayed 2s 030ms
After Hooks.deleteInvitationAfterTest() 021ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 035ms
And Delete invitations with email "aaaa@keeeper.pl" 002ms
When Go to "INVITATIONS_TAB" 188ms
And Go to create invitation form 077ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 385ms
Then Check if NIP is not required to inviting to your company 30s 108ms
When Send invitation 079ms
Then Create invitation success alert is displayed 278ms
And Invitation is displayed on list "aaaa@keeeper.pl" 216ms
After Hooks.deleteInvitationAfterTest() 027ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 1s 037ms
And Delete invitations with email "aaaa@neuca.pl" 003ms
When Go to "INVITATIONS_TAB" 161ms
And Go to create invitation form 088ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 426ms
Then Check if NIP is not required to inviting to your company 30s 063ms
When Send invitation 081ms
Then Create invitation success alert is displayed 372ms
And Invitation is displayed on list "aaaa@neuca.pl" 203ms
After Hooks.deleteInvitationAfterTest() 021ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 1s 070ms
And Delete invitations with email "aaaa@farmacol.com.pl" 002ms
When Go to "INVITATIONS_TAB" 183ms
And Go to create invitation form 097ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 454ms
Then Check if NIP is not required to inviting to your company 30s 031ms
When Send invitation 093ms
Then Create invitation success alert is displayed 369ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 218ms
After Hooks.deleteInvitationAfterTest() 027ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 093ms
And Delete invitations with email "aaaa@keeeper.pl" 002ms
When Go to "INVITATIONS_TAB" 186ms
And Go to create invitation form 093ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 393ms
When Send invitation 050ms
Then Create invitation success alert is displayed 253ms
And Check content of message about invitation "ownCompany" 053ms
And Invitation is displayed on list "aaaa@keeeper.pl" 184ms
After Hooks.deleteInvitationAfterTest() 025ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 985ms
And Delete invitations with email "aaaa@neuca.pl" 002ms
When Go to "INVITATIONS_TAB" 168ms
And Go to create invitation form 071ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 406ms
When Send invitation 063ms
Then Create invitation success alert is displayed 312ms
And Check content of message about invitation "ownCompany" 045ms
And Invitation is displayed on list "aaaa@neuca.pl" 169ms
After Hooks.deleteInvitationAfterTest() 021ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 982ms
And Delete invitations with email "aaaa@farmacol.com.pl" 002ms
When Go to "INVITATIONS_TAB" 170ms
And Go to create invitation form 064ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 434ms
When Send invitation 070ms
Then Create invitation success alert is displayed 367ms
And Check content of message about invitation "ownCompany" 068ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 174ms
After Hooks.deleteInvitationAfterTest() 022ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 959ms
And Delete invitations with email "abc@keeeper.pl" 001ms
When Go to "INVITATIONS_TAB" 175ms
And Go to create invitation form 074ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 374ms
When Send invitation 048ms
Then Verify that wrong mail domain alert is displayed 059ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 092ms
And Send invitation 038ms
Then Create invitation success alert is displayed 254ms
And Check content of message about invitation "ownCompany" 041ms
And Invitation is displayed on list "abc@keeeper.pl" 175ms
After Hooks.deleteInvitationAfterTest() 020ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 916ms
And Delete invitations with email "abcd@neuca.pl" 002ms
When Go to "INVITATIONS_TAB" 168ms
And Go to create invitation form 069ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 408ms
When Send invitation 055ms
Then Verify that wrong mail domain alert is displayed 045ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 095ms
And Send invitation 051ms
Then Create invitation success alert is displayed 309ms
And Check content of message about invitation "ownCompany" 049ms
And Invitation is displayed on list "abcd@neuca.pl" 193ms
After Hooks.deleteInvitationAfterTest() 022ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 985ms
And Delete invitations with email "abcde@farmacol.com.pl" 001ms
When Go to "INVITATIONS_TAB" 181ms
And Go to create invitation form 078ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 444ms
When Send invitation 074ms
Then Verify that wrong mail domain alert is displayed 044ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 091ms
And Send invitation 049ms
Then Create invitation success alert is displayed 309ms
And Check content of message about invitation "ownCompany" 063ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 167ms
After Hooks.deleteInvitationAfterTest() 019ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 030ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 002ms
When Go to "INVITATIONS_TAB" 180ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 078ms
Then Check content of message about invitation "incompatibleNIP" 104ms
After Hooks.deleteInvitationAfterTest() 003ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 928ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 001ms
When Go to "INVITATIONS_TAB" 170ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 1s 028ms
Then Check content of message about invitation "incompatibleNIP" 108ms
After Hooks.deleteInvitationAfterTest() 004ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 032ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 002ms
When Go to "INVITATIONS_TAB" 177ms
And Go to create invitation form 070ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 951ms
Then Check if company existed in apollo is suggest correctly 047ms
When Send invitation 052ms
Then Check content of message about invitation "incompatibleNIP" 105ms
After Hooks.deleteInvitationAfterTest() 004ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 916ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 001ms
When Go to "INVITATIONS_TAB" 170ms
And Go to create invitation form 068ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 918ms
Then Check if company existed in apollo is suggest correctly 042ms
When Send invitation 052ms
Then Check content of message about invitation "incompatibleNIP" 104ms
After Hooks.deleteInvitationAfterTest() 003ms
View Feature Invitation
Scenario Outline Check if it is possible to invite existing user in order to associate him with principal company [A-7315]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-alrec" 092ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 252ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 876ms
And Go to "INVITATIONS_TAB" 169ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 1s 059ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 15s 012ms
org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[contains(@class, 'success')]"}
  (Session info: headless chrome=91.0.4472.164)
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', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent-2/temp/buildTmp/.com.google.Chrome.2YbeIG}, 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=91.0.4472.164, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: 8119d38f5b5fa3d915c8676ab5fda1e1
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	at sun.reflect.GeneratedConstructorAccessor188.newInstance(Unknown Source)
	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:70)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:350)
After Hooks.deleteInvitationAfterTest() 006ms
After Hooks.cleanUserDetailsAfterTest() 232ms
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" 1s 111ms
When Create company "Farmacol-NEU" with given nip "DE" "12344321123" "Dostawca \ Odbiorca" 2s 072ms
And If user is login then logout 076ms
And Login as "super-admin-neuca" 1s 757ms
And Go to "INVITATIONS_TAB" 178ms
And Create invitation with given nip "SUPPLIER" "SUPPLIER" "farmacol-neu@qp.pl" "DE" "12344321123" 1s 104ms
And If user is login then logout 266ms
And Mock invitation email by admin panel "super-admin-neuca" "farmacol-neu@qp.pl" 5s 228ms
And Register to application "SUPPLIER" 16s 323ms
And Wait "4" seconds 4s
And Login as "farmacol-neu@qp.pl" 31s 132ms
org.openqa.selenium.TimeoutException: Expected condition failed: Nie udalo sie poprawnie zalogowac farmacol-neu@qp.pl (tried for 20 second(s) with 500 MILLISECONDS interval)
	at org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:82)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:231)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.login_as(LoginTest.java:50)
	at ✽.Login as "farmacol-neu@qp.pl"(file:Features/Atom/Invitations/Invitation.feature:381)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //a[text()='Logout'] | //a[text()='Wyloguj']
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', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-63-generic', java.version: '1.8.0_292'
Driver info: driver.version: unknown
	at org.openqa.selenium.support.ui.ExpectedConditions.lambda$findElement$0(ExpectedConditions.java:882)
	at java.util.Optional.orElseThrow(Optional.java:290)
	at org.openqa.selenium.support.ui.ExpectedConditions.findElement(ExpectedConditions.java:881)
	at org.openqa.selenium.support.ui.ExpectedConditions.access$000(ExpectedConditions.java:43)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:205)
	at org.openqa.selenium.support.ui.ExpectedConditions$7.apply(ExpectedConditions.java:201)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.checkElementIsVisible(BasePage.java:183)
	at Pages.LoginPage.loginAs(LoginPage.java:38)
	at CucumberTests.BaseTest.loginAs(BaseTest.java:102)
	at CucumberTests.LoginTest.login_as(LoginTest.java:50)
	at sun.reflect.GeneratedMethodAccessor231.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at cucumber.runtime.Utils$1.call(Utils.java:26)
	at cucumber.runtime.Timeout.timeout(Timeout.java:16)
	at cucumber.runtime.Utils.invoke(Utils.java:20)
	at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57)
	at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50)
	at cucumber.runner.TestStep.executeStep(TestStep.java:63)
	at cucumber.runner.TestStep.run(TestStep.java:49)
	at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43)
	at cucumber.runner.TestCase.run(TestCase.java:45)
	at cucumber.runner.Runner.runPickle(Runner.java:40)
	at cucumber.runtime.junit.PickleRunners$WithStepDescriptions.run(PickleRunners.java:97)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:68)
	at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:23)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:73)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:122)
	at cucumber.api.junit.Cucumber.runChild(Cucumber.java:64)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
	at cucumber.api.junit.Cucumber$1.evaluate(Cucumber.java:131)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:367)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:274)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:238)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:161)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:290)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:242)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:121)
And User is successfully logged 000ms
After Hooks.deleteCompanyAfterTest() 079ms
After Hooks.deleteInvitationAfterTest() 005ms