Project Number Date
ApolloFullRunnerReport apollo-test-2.97 28 lip 2021, 04:21

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 19m 3s 277ms Failed
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 802ms
And Delete invitations with email "automatyy1@test.pl" 019ms
When Go to "INVITATIONS_TAB" 700ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 3s 003ms
Then Create invitation success alert is displayed 1s 968ms
And Invitation is displayed on list "automatyy1@test.pl" 751ms
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 235ms
And Delete invitations with email "automatyy2@test.pl" 014ms
When Go to "INVITATIONS_TAB" 499ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 429ms
Then Create invitation success alert is displayed 1s 314ms
And Invitation is displayed on list "automatyy2@test.pl" 726ms
After Hooks.deleteInvitationAfterTest() 160ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 725ms
And Delete invitations with email "automatyy2@test.pl" 015ms
When Go to "INVITATIONS_TAB" 543ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 449ms
Then Create invitation success alert is displayed 885ms
And Invitation is displayed on list "automatyy2@test.pl" 737ms
After Hooks.deleteInvitationAfterTest() 158ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 854ms
And Delete invitations with email "automatyy2@test.pl" 014ms
When Go to "INVITATIONS_TAB" 548ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 303ms
Then Create invitation success alert is displayed 1s 152ms
And Invitation is displayed on list "automatyy2@test.pl" 732ms
After Hooks.deleteInvitationAfterTest() 137ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 355ms
And Delete invitations with email "automatyy2@test.pl" 016ms
When Go to "INVITATIONS_TAB" 499ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 568ms
Then Create invitation success alert is displayed 840ms
And Invitation is displayed on list "automatyy2@test.pl" 670ms
After Hooks.deleteInvitationAfterTest() 137ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skz" 235ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 934ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 34s 182ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 166ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-lantmannen" 245ms
And Delete invitations with email "apolloautomattest@gmail.com" 012ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 542ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 31s 539ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 176ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-keeeper" 254ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 945ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 31s 762ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 263ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-adama" 240ms
And Delete invitations with email "apolloautomattest@gmail.com" 015ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 564ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 33s 390ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 282ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 244ms
And Delete invitations with email "apolloautomattest@gmail.com" 017ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 564ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 33s 039ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 181ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 230ms
And Delete invitations with email "apolloautomattest@gmail.com" 017ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 037ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 33s 437ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 148ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-sempertrans" 215ms
And Delete invitations with email "apolloautomattest@gmail.com" 011ms
And Wait "60" seconds 1m
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 343ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zaproszenie do nawiązania współpracy" 37s 120ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 173ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 248ms
And Delete invitations with email "automaty31415@test.pl" 017ms
And If user is login then logout 285ms
Given Set token of apiUsername "super-admin-piast" 297ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 147ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 242ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 432ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 611ms
Then Go to "INVITATIONS_TAB" 571ms
And Go to "EXPIRED_TAB" invitation status tab 293ms
Then Invitation is displayed on list "automaty31415@test.pl" 425ms
After Hooks.deleteInvitationAfterTest() 169ms
After Hooks.rollbackSettings() 139ms
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Set token of apiUsername "super-admin-piast" 218ms
And Delete invitations with email "automaty31415@test.pl" 016ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 957ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 398ms
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() 921ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 771ms
And Delete invitations with email "automatyy43@test.pl" 014ms
When Go to "INVITATIONS_TAB" 486ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 2s 532ms
Then Check content of message about invitation "GUSAlert" 1s 477ms
And If user is login then logout 226ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 7s 380ms
And Verify that user is redirected to registration page 483ms
And Fill tax id registration page "notByJSON" 623ms
Then Verify that user is redirected to registration page 156ms
And Check if data from GUS are automatically completed 2s 284ms
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 334ms
And Delete invitations with email "automatyy45@test.pl" 016ms
When Go to "INVITATIONS_TAB" 530ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 2s 517ms
Then Check content of message about invitation "GUSAlert" 1s
And If user is login then logout 486ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 7s 514ms
And Verify that user is redirected to registration page 329ms
And Fill tax id registration page "notByJSON" 574ms
Then Verify that user is redirected to registration page 172ms
And Check if data from GUS are automatically completed 2s 252ms
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 478ms
And Delete invitations with email "automatyy46@test.pl" 012ms
When Go to "INVITATIONS_TAB" 446ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 2s 505ms
Then Check content of message about invitation "GUSAlert" 1s 211ms
And If user is login then logout 285ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 7s 350ms
And Verify that user is redirected to registration page 370ms
And Fill tax id registration page "notByJSON" 676ms
Then Verify that user is redirected to registration page 151ms
And Check if data from GUS are automatically completed 2s 260ms
After Hooks.deleteInvitationAfterTest() 028ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 724ms
And Delete invitations with email "automatyy47@test.pl" 015ms
When Go to "INVITATIONS_TAB" 480ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 2s 500ms
Then Check content of message about invitation "GUSAlert" 1s 806ms
And If user is login then logout 494ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 7s 280ms
And Verify that user is redirected to registration page 320ms
And Fill tax id registration page "notByJSON" 617ms
Then Verify that user is redirected to registration page 151ms
And Check if data from GUS are automatically completed 2s 281ms
After Hooks.deleteInvitationAfterTest() 028ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 8s 223ms
And Delete invitations with email "automatyy48@test.pl" 013ms
When Go to "INVITATIONS_TAB" 475ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 2s 488ms
Then Check content of message about invitation "GUSAlert" 2s 077ms
And If user is login then logout 251ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 7s 347ms
And Verify that user is redirected to registration page 394ms
And Fill tax id registration page "notByJSON" 593ms
Then Verify that user is redirected to registration page 154ms
And Check if data from GUS are automatically completed 2s 294ms
After Hooks.deleteInvitationAfterTest() 027ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-piast" 243ms
And Delete invitations with email "automatyy99@test.pl" 013ms
And If user is login then logout 15s 083ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 374ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 7s 669ms
And Verify that user is redirected to registration page 308ms
And Fill tax id registration page "notbyJSON" 599ms
Then Check if non-compliant NIP message is displayed 2s 084ms
After Hooks.deleteInvitationAfterTest() 162ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 517ms
And Delete invitations with email "aaaa@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 478ms
And Go to create invitation form 219ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 113ms
Then Check if NIP is not required to inviting to your company 30s 131ms
When Send invitation 202ms
Then Create invitation success alert is displayed 1s 133ms
And Invitation is displayed on list "aaaa@keeeper.pl" 559ms
After Hooks.deleteInvitationAfterTest() 247ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 462ms
And Delete invitations with email "aaaa@neuca.pl" 016ms
When Go to "INVITATIONS_TAB" 484ms
And Go to create invitation form 238ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 108ms
Then Check if NIP is not required to inviting to your company 30s 095ms
When Send invitation 169ms
Then Create invitation success alert is displayed 1s 744ms
And Invitation is displayed on list "aaaa@neuca.pl" 615ms
After Hooks.deleteInvitationAfterTest() 160ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 576ms
And Delete invitations with email "aaaa@farmacol.com.pl" 014ms
When Go to "INVITATIONS_TAB" 489ms
And Go to create invitation form 235ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 191ms
Then Check if NIP is not required to inviting to your company 30s 140ms
When Send invitation 210ms
Then Create invitation success alert is displayed 1s 941ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 567ms
After Hooks.deleteInvitationAfterTest() 290ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 536ms
And Delete invitations with email "aaaa@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 487ms
And Go to create invitation form 280ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 131ms
When Send invitation 154ms
Then Create invitation success alert is displayed 1s 119ms
And Check content of message about invitation "ownCompany" 182ms
And Invitation is displayed on list "aaaa@keeeper.pl" 608ms
After Hooks.deleteInvitationAfterTest() 136ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 348ms
And Delete invitations with email "aaaa@neuca.pl" 019ms
When Go to "INVITATIONS_TAB" 501ms
And Go to create invitation form 201ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 189ms
When Send invitation 164ms
Then Create invitation success alert is displayed 1s 653ms
And Check content of message about invitation "ownCompany" 157ms
And Invitation is displayed on list "aaaa@neuca.pl" 581ms
After Hooks.deleteInvitationAfterTest() 147ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 440ms
And Delete invitations with email "aaaa@farmacol.com.pl" 018ms
When Go to "INVITATIONS_TAB" 492ms
And Go to create invitation form 241ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 317ms
When Send invitation 171ms
Then Create invitation success alert is displayed 1s 884ms
And Check content of message about invitation "ownCompany" 145ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 541ms
After Hooks.deleteInvitationAfterTest() 155ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 447ms
And Delete invitations with email "abc@keeeper.pl" 013ms
When Go to "INVITATIONS_TAB" 477ms
And Go to create invitation form 383ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 1s 090ms
When Send invitation 154ms
Then Verify that wrong mail domain alert is displayed 155ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 308ms
And Send invitation 124ms
Then Create invitation success alert is displayed 1s 100ms
And Check content of message about invitation "ownCompany" 180ms
And Invitation is displayed on list "abc@keeeper.pl" 599ms
After Hooks.deleteInvitationAfterTest() 138ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 227ms
And Delete invitations with email "abcd@neuca.pl" 013ms
When Go to "INVITATIONS_TAB" 454ms
And Go to create invitation form 229ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 1s 205ms
When Send invitation 169ms
Then Verify that wrong mail domain alert is displayed 172ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 339ms
And Send invitation 153ms
Then Create invitation success alert is displayed 1s 713ms
And Check content of message about invitation "ownCompany" 148ms
And Invitation is displayed on list "abcd@neuca.pl" 580ms
After Hooks.deleteInvitationAfterTest() 233ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 505ms
And Delete invitations with email "abcde@farmacol.com.pl" 013ms
When Go to "INVITATIONS_TAB" 435ms
And Go to create invitation form 197ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 1s 195ms
When Send invitation 177ms
Then Verify that wrong mail domain alert is displayed 175ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 397ms
And Send invitation 154ms
Then Create invitation success alert is displayed 1s 944ms
And Check content of message about invitation "ownCompany" 145ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 585ms
After Hooks.deleteInvitationAfterTest() 123ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 503ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 492ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 649ms
Then Check content of message about invitation "incompatibleNIP" 354ms
After Hooks.deleteInvitationAfterTest() 025ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 465ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 012ms
When Go to "INVITATIONS_TAB" 492ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 504ms
Then Check content of message about invitation "incompatibleNIP" 346ms
After Hooks.deleteInvitationAfterTest() 022ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 505ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 016ms
When Go to "INVITATIONS_TAB" 460ms
And Go to create invitation form 192ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 237ms
Then Check if company existed in apollo is suggest correctly 222ms
When Send invitation 173ms
Then Check content of message about invitation "incompatibleNIP" 450ms
After Hooks.deleteInvitationAfterTest() 024ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 516ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 016ms
When Go to "INVITATIONS_TAB" 455ms
And Go to create invitation form 198ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 201ms
Then Check if company existed in apollo is suggest correctly 160ms
When Send invitation 205ms
Then Check content of message about invitation "incompatibleNIP" 303ms
After Hooks.deleteInvitationAfterTest() 025ms
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" 348ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 668ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 306ms
And Go to "INVITATIONS_TAB" 463ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 513ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 15s 052ms
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-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Capabilities [{networkConnectionEnabled=false, chrome={chromedriverVersion=91.0.4472.101 (af52a90bf87030dd1523486a1cd3ae25c5d76c9b-refs/branch-heads/4472@{#1462}), userDataDir=/home/teamcity/build-agent/temp/buildTmp/.com.google.Chrome.Qp6ahg}, 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: d30ba36c5ef0b23f0610468d8a149086
*** Element info: {Using=xpath, value=//div[contains(@class, 'success')]}
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:185)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:120)
	at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:586)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:356)
	at org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:458)
	at org.openqa.selenium.By$ByXPath.findElement(By.java:361)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:348)
	at Pages.BasePage.getWebElementByXpath(BasePage.java:323)
	at CucumberTests.Invitation.InvitationTest.createInvitationSuccessAlertIsDisplayed(InvitationTest.java:70)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:350)
After Hooks.deleteInvitationAfterTest() 025ms
After Hooks.cleanUserDetailsAfterTest() 1s 276ms
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" 2s 725ms
When Create company "Farmacol-NEU" with given nip "DE" "12344321123" "Dostawca \ Odbiorca" 6s 106ms
And If user is login then logout 250ms
And Login as "super-admin-neuca" 9s 009ms
And Go to "INVITATIONS_TAB" 543ms
And Create invitation with given nip "SUPPLIER" "SUPPLIER" "farmacol-neu@qp.pl" "DE" "12344321123" 2s 544ms
And If user is login then logout 249ms
And Mock invitation email by admin panel "super-admin-neuca" "farmacol-neu@qp.pl" 7s 417ms
And Register to application "SUPPLIER" 19s 125ms
And Wait "4" seconds 4s
And Login as "farmacol-neu@qp.pl" 32s 155ms
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-2', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '5.8.0-50-generic', java.version: '1.8.0_292'
Driver info: 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.GeneratedMethodAccessor233.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() 298ms
After Hooks.deleteInvitationAfterTest() 026ms