Project Number Date
ApolloFullRunnerReport apollo-test-2.58 28 cze 2021, 06:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Invitation 466 3 19 0 0 488 52 3 55 19m 47s 785ms Failed
Feature Invitation
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 684ms
And Delete invitations with email "automatyy1@test.pl" 023ms
When Go to "INVITATIONS_TAB" 523ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy1@test.pl" "notFromPoland" 2s 644ms
Then Create invitation success alert is displayed 1s 491ms
And Invitation is displayed on list "automatyy1@test.pl" 736ms
After Hooks.deleteInvitationAfterTest() 142ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 873ms
And Delete invitations with email "automatyy2@test.pl" 015ms
When Go to "INVITATIONS_TAB" 563ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 552ms
Then Create invitation success alert is displayed 1s 190ms
And Invitation is displayed on list "automatyy2@test.pl" 523ms
After Hooks.deleteInvitationAfterTest() 139ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 883ms
And Delete invitations with email "automatyy2@test.pl" 014ms
When Go to "INVITATIONS_TAB" 546ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 601ms
Then Create invitation success alert is displayed 852ms
And Invitation is displayed on list "automatyy2@test.pl" 473ms
After Hooks.deleteInvitationAfterTest() 164ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 702ms
And Delete invitations with email "automatyy2@test.pl" 016ms
When Go to "INVITATIONS_TAB" 489ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 557ms
Then Create invitation success alert is displayed 1s 001ms
And Invitation is displayed on list "automatyy2@test.pl" 717ms
After Hooks.deleteInvitationAfterTest() 240ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 482ms
And Delete invitations with email "automatyy2@test.pl" 015ms
When Go to "INVITATIONS_TAB" 535ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy2@test.pl" "notFromPoland" 2s 394ms
Then Create invitation success alert is displayed 691ms
And Invitation is displayed on list "automatyy2@test.pl" 649ms
After Hooks.deleteInvitationAfterTest() 150ms
Given Set token of apiUsername "super-admin-skz" 237ms
And Delete invitations with email "automatyy15q@test.pl" 015ms
And Change tax id in existing companies with given tax id number "super-admin-skz" in JSON "CREATE_SUPPLIER_INVITATION" 014ms
And If user is login then logout 200ms
And Create invitation by JSON file "super-admin-skz" for "automatyy15q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 478ms
When Mock invitation email by admin panel "super-admin-skz" "automatyy15q@test.pl" 7s 849ms
And Fill tax id registration page "byJSON" 1s 053ms
And Verify that user is redirected to registration page 147ms
And Register to application "SUPPLIER" 4s 279ms
Then Check if user can be logged "automatyy15q@test.pl" 10s 924ms
After Hooks.cleanUpAfterTest() 1s 401ms
Given Set token of apiUsername "super-admin-piast" 233ms
And Delete invitations with email "automatyy19q@test.pl" 017ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 014ms
And If user is login then logout 264ms
And Create invitation by JSON file "super-admin-piast" for "automatyy19q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 320ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy19q@test.pl" 7s 336ms
And Fill tax id registration page "byJSON" 794ms
And Verify that user is redirected to registration page 159ms
And Register to application "SUPPLIER" 4s 255ms
Then Check if user can be logged "automatyy19q@test.pl" 8s 378ms
After Hooks.cleanUpAfterTest() 1s 239ms
Given Set token of apiUsername "super-admin-lantmannen" 218ms
And Delete invitations with email "automatyy2545q@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-lantmannen" in JSON "CREATE_SUPPLIER_INVITATION" 014ms
And If user is login then logout 260ms
And Create invitation by JSON file "super-admin-lantmannen" for "automatyy2545q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 949ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy2545q@test.pl" 7s 273ms
And Fill tax id registration page "byJSON" 724ms
And Verify that user is redirected to registration page 170ms
And Register to application "SUPPLIER" 4s 214ms
Then Check if user can be logged "automatyy2545q@test.pl" 7s 251ms
After Hooks.cleanUpAfterTest() 1s 104ms
Given Set token of apiUsername "super-admin-keeeper" 228ms
And Delete invitations with email "automatyy287q@test.pl" 014ms
And Change tax id in existing companies with given tax id number "super-admin-keeeper" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 255ms
And Create invitation by JSON file "super-admin-keeeper" for "automatyy287q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 510ms
When Mock invitation email by admin panel "super-admin-keeeper" "automatyy287q@test.pl" 7s 562ms
And Fill tax id registration page "byJSON" 797ms
And Verify that user is redirected to registration page 159ms
And Register to application "SUPPLIER" 4s 254ms
Then Check if user can be logged "automatyy287q@test.pl" 8s 399ms
After Hooks.cleanUpAfterTest() 1s 163ms
Given Set token of apiUsername "super-admin-alrec" 243ms
And Delete invitations with email "automatyy2871q@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-alrec" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 252ms
And Create invitation by JSON file "super-admin-alrec" for "automatyy2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 504ms
When Mock invitation email by admin panel "super-admin-alrec" "automatyy2871q@test.pl" 7s 635ms
And Fill tax id registration page "byJSON" 879ms
And Verify that user is redirected to registration page 156ms
And Register to application "SUPPLIER" 4s 296ms
Then Check if user can be logged "automatyy2871q@test.pl" 7s 215ms
After Hooks.cleanUpAfterTest() 1s 273ms
Given Set token of apiUsername "super-admin-piast" 226ms
And Delete invitations with email "automaty31415@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 270ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 307ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 622ms
And Fill tax id registration page "byJSON" 843ms
And Register to application "SUPPLIER" 4s 246ms
And Wait "5" seconds 5s
And Login as "automaty31415@test.pl" and set token of apiUsername "super-admin-piast" 5s 883ms
Then Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 450ms
And Verify that user is redirected to invitation page "automaty31415@test.pl" 826ms
After Hooks.cleanUpAfterTest() 1s 229ms
Given Set token of apiUsername "super-admin-lantmannen" 231ms
And Delete invitations with email "automaty27182@test.pl" 017ms
And Change tax id in existing companies with given tax id number "super-admin-lantmannen" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 285ms
And Create invitation by JSON file "super-admin-lantmannen" for "automaty27182@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 505ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 7s 499ms
And Fill tax id registration page "byJSON" 882ms
And Register to application "SUPPLIER" 4s 352ms
And Wait "5" seconds 5s
And Login as "automaty27182@test.pl" and set token of apiUsername "super-admin-lantmannen" 4s 411ms
Then Mock invitation email by admin panel "super-admin-lantmannen" "automaty27182@test.pl" 7s 580ms
And Verify that user is redirected to invitation page "automaty27182@test.pl" 778ms
After Hooks.cleanUpAfterTest() 1s 170ms
Given Set token of apiUsername "super-admin-keeeper" 229ms
And Delete invitations with email "automaty6022@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-keeeper" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 291ms
And Create invitation by JSON file "super-admin-keeeper" for "automaty6022@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 454ms
When Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 7s 608ms
And Fill tax id registration page "byJSON" 869ms
And Register to application "SUPPLIER" 4s 370ms
And Wait "5" seconds 5s
And Login as "automaty6022@test.pl" and set token of apiUsername "super-admin-keeeper" 5s 261ms
Then Mock invitation email by admin panel "super-admin-keeeper" "automaty6022@test.pl" 7s 571ms
And Verify that user is redirected to invitation page "automaty6022@test.pl" 1s 022ms
After Hooks.cleanUpAfterTest() 1s 313ms
Given Set token of apiUsername "super-admin-skz" 242ms
And Delete invitations with email "automaty6666@test.pl" 018ms
And Change tax id in existing companies with given tax id number "super-admin-skz" in JSON "CREATE_SUPPLIER_INVITATION" 016ms
And If user is login then logout 254ms
And Create invitation by JSON file "super-admin-skz" for "automaty6666@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 529ms
When Mock invitation email by admin panel "super-admin-skz" "automaty6666@test.pl" 7s 610ms
And Fill tax id registration page "byJSON" 851ms
And Register to application "SUPPLIER" 3s 631ms
And Wait "5" seconds 5s
And Login as "automaty6666@test.pl" and set token of apiUsername "super-admin-skz" 8s 436ms
Then Mock invitation email by admin panel "super-admin-skz" "automaty6666@test.pl" 7s 713ms
And Verify that user is redirected to invitation page "automaty6666@test.pl" 918ms
After Hooks.cleanUpAfterTest() 1s 365ms
Given Set token of apiUsername "super-admin-alrec" 239ms
And Delete invitations with email "automaty2871q@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-alrec" in JSON "CREATE_SUPPLIER_INVITATION" 013ms
And If user is login then logout 281ms
And Create invitation by JSON file "super-admin-alrec" for "automaty2871q@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 962ms
When Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 7s 348ms
And Fill tax id registration page "byJSON" 839ms
And Register to application "SUPPLIER" 4s 425ms
And Wait "5" seconds 5s
And Login as "automaty2871q@test.pl" and set token of apiUsername "super-admin-alrec" 4s 816ms
Then Mock invitation email by admin panel "super-admin-alrec" "automaty2871q@test.pl" 7s 557ms
And Verify that user is redirected to invitation page "automaty2871q@test.pl" 713ms
After Hooks.cleanUpAfterTest() 1s 217ms
Given Set token of apiUsername "super-admin-skz" 233ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Create invitation by JSON file "super-admin-skz" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 933ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 45s 510ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 259ms
Given Set token of apiUsername "super-admin-lantmannen" 230ms
And Delete invitations with email "apolloautomattest@gmail.com" 016ms
And Create invitation by JSON file "super-admin-lantmannen" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 507ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 50s 642ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 254ms
Given Set token of apiUsername "super-admin-keeeper" 237ms
And Delete invitations with email "apolloautomattest@gmail.com" 020ms
And Create invitation by JSON file "super-admin-keeeper" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 807ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 50s 461ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 265ms
Given Set token of apiUsername "super-admin-adama" 223ms
And Delete invitations with email "apolloautomattest@gmail.com" 013ms
And Create invitation by JSON file "super-admin-adama" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 633ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 25s 574ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 178ms
Given Set token of apiUsername "super-admin-piast" 242ms
And Delete invitations with email "apolloautomattest@gmail.com" 018ms
And Create invitation by JSON file "super-admin-piast" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 267ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 51s 199ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 296ms
Given Set token of apiUsername "super-admin-alrec" 265ms
And Delete invitations with email "apolloautomattest@gmail.com" 017ms
And Create invitation by JSON file "super-admin-alrec" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 889ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 55s 920ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 170ms
Given Set token of apiUsername "super-admin-sempertrans" 235ms
And Delete invitations with email "apolloautomattest@gmail.com" 017ms
And Create invitation by JSON file "super-admin-sempertrans" for "apolloautomattest@gmail.com" "CREATE_CARRIER_INVITATION" 1s 108ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zaproszenie do nawiązania współpracy" 32s 217ms
Then Check if user got a mail 000ms
After Hooks.deleteInvitationAfterTest() 285ms
Scenario Outline Check if user has accepted invitation from principal after accepting invitation by another user from company
Steps
Given Set token of apiUsername "super-admin-farmacol" 224ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 1s 237ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 751ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	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.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:80)
	at CucumberTests.Invitation.RegistrationTest.createInvitationByJSONFile(RegistrationTest.java:64)
	at ✽.Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:82)
And Prepare user "dnfa1-supplier-2" details with all notifications and "automaty214152@test.pl" by JSON file 000ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty214152@test.pl" "CREATE_SUPPLIER_INVITATION" 000ms
When Login as "dnfa1-supplier" and set token of apiUsername "super-admin-farmacol" 000ms
And Go to "INVITATIONS_TAB" 000ms
And Accept invitation 000ms
And If user is login then logout 000ms
And Login as "dnfa1-supplier-2" and set token of apiUsername "super-admin-farmacol" 000ms
And Verify if user has visible "no waiting" invitation 000ms
And Verify if user has visible "accepted" invitation 000ms
And Verify if user can see "Farmacol" on principal switch dropdown 000ms
After Hooks.cleanUserDetailsAfterTest() 1s 174ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 676ms
When Create and accept invitation by JSON file as "super-admin-skz" for "automaty1591qa@test.pl" "CREATE_CARRIER_INVITATION" 5s 906ms
And Go to "USERS_TAB" 3s 084ms
And Find user "automaty1591qa@test.pl" 2s 647ms
And Change user details "email" to "apolloautomattest@test.pl" 1s 610ms
And Save user details 2s 427ms
When Go to "INVITATIONS_TAB" 462ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1591qa@test.pl" "notFromPoland" 2s 571ms
Then Verify that invitation can't be sent on already used username 378ms
After Hooks.cleanUpAfterTest() 5s 496ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 551ms
When Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty1231qa@test.pl" "CREATE_CARRIER_INVITATION" 4s 003ms
And Go to "USERS_TAB" 2s 416ms
And Find user "automaty1231qa@test.pl" 2s 731ms
And Change user details "email" to "apolloautomattest@test.pl" 826ms
And Save user details 1s 224ms
When Go to "INVITATIONS_TAB" 469ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty1231qa@test.pl" "notFromPoland" 2s 539ms
Then Verify that invitation can't be sent on already used username 228ms
After Hooks.cleanUpAfterTest() 3s 213ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 569ms
When Create and accept invitation by JSON file as "super-admin-piast" for "automaty9231qa@test.pl" "CREATE_CARRIER_INVITATION" 3s 591ms
And Go to "USERS_TAB" 2s 849ms
And Find user "automaty9231qa@test.pl" 2s 674ms
And Change user details "email" to "apolloautomattest@test.pl" 885ms
And Save user details 1s 252ms
When Go to "INVITATIONS_TAB" 484ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty9231qa@test.pl" "notFromPoland" 2s 515ms
Then Verify that invitation can't be sent on already used username 290ms
After Hooks.cleanUpAfterTest() 4s 423ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 6s 922ms
When Create and accept invitation by JSON file as "super-admin-farmacol" for "automaty7221qa@test.pl" "CREATE_CARRIER_INVITATION" 4s 857ms
And Go to "USERS_TAB" 2s 824ms
And Find user "automaty7221qa@test.pl" 2s 723ms
And Change user details "email" to "apolloautomattest@test.pl" 925ms
And Save user details 1s 643ms
When Go to "INVITATIONS_TAB" 498ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automaty7221qa@test.pl" "notFromPoland" 2s 316ms
Then Verify that invitation can't be sent on already used username 400ms
After Hooks.cleanUpAfterTest() 5s 749ms
Given Set token of apiUsername "super-admin-piast" 246ms
And Delete invitations with email "automaty31415@test.pl" 016ms
And Change tax id in existing companies with given tax id number "super-admin-piast" in JSON "CREATE_SUPPLIER_INVITATION" 012ms
And If user is login then logout 299ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 360ms
When Mock invitation email by admin panel "super-admin-piast" "automaty31415@test.pl" 7s 666ms
And Verify that user is redirected to registration page 325ms
And Fill tax id registration page "byJSON" 600ms
And Register to application "SUPPLIER" 4s 401ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 5s 906ms
When Go to "INVITATIONS_TAB" 602ms
Then Go to "ACCEPTED_TAB" invitation status tab 284ms
And Invitation is displayed on list "automaty31415@test.pl" 459ms
After Hooks.cleanUpAfterTest() 4s 263ms
Given Set token of apiUsername "super-admin-piast" 225ms
And Delete invitations with email "automaty31415@test.pl" 015ms
And If user is login then logout 231ms
Given Set token of apiUsername "super-admin-piast" 261ms
And Get setting "INVITATION_EXPIRATION_INTERVAL" for "piast" 149ms
Then Prepare setting: "INVITATION_EXPIRATION_INTERVAL" with value: "-1d" with "super-admin-piast" by API 161ms
And Create invitation by JSON file "super-admin-piast" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 298ms
Given Login as "super-admin-piast" and set token of apiUsername "super-admin-piast" 2s 627ms
Then Go to "INVITATIONS_TAB" 547ms
And Go to "EXPIRED_TAB" invitation status tab 280ms
Then Invitation is displayed on list "automaty31415@test.pl" 449ms
After Hooks.deleteInvitationAfterTest() 241ms
After Hooks.rollbackSettings() 125ms
Scenario Outline Check if rejected invitation is visible in rejected tab
Steps
Given Set token of apiUsername "super-admin-piast" 224ms
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 841ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 353ms
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <422>.

	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.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
	at org.codehaus.groovy.reflection.CachedConstructor.doConstructorInvoke(CachedConstructor.java:77)
	at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrap.callConstructor(ConstructorSite.java:84)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:250)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure.validate(ResponseSpecificationImpl.groovy:494)
	at io.restassured.internal.ResponseSpecificationImpl$HamcrestAssertionClosure$validate$1.call(Unknown Source)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1750)
	at sun.reflect.GeneratedMethodAccessor74.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.applyPathParamsAndSendRequest(RequestSpecificationImpl.groovy:1755)
	at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:98)
	at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1225)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1034)
	at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:822)
	at io.restassured.internal.RequestSpecificationImpl.invokeMethod(RequestSpecificationImpl.groovy)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.call(PogoInterceptableSite.java:47)
	at org.codehaus.groovy.runtime.callsite.PogoInterceptableSite.callCurrent(PogoInterceptableSite.java:57)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:185)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy:175)
	at io.restassured.internal.RequestSpecificationImpl.post(RequestSpecificationImpl.groovy)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:80)
	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:171)
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:270)
	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() 859ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 226ms
And Delete invitations with email "automatyy43@test.pl" 016ms
When Go to "INVITATIONS_TAB" 586ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy43@test.pl" "PL" 2s 564ms
Then Check content of message about invitation "GUSAlert" 1s 356ms
And If user is login then logout 492ms
When Mock invitation email by admin panel "piast-admin" "automatyy43@test.pl" 7s 382ms
And Verify that user is redirected to registration page 403ms
And Fill tax id registration page "notByJSON" 499ms
Then Verify that user is redirected to registration page 136ms
And Check if data from GUS are automatically completed 2s 221ms
After Hooks.deleteInvitationAfterTest() 023ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 233ms
And Delete invitations with email "automatyy45@test.pl" 015ms
When Go to "INVITATIONS_TAB" 494ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy45@test.pl" "PL" 2s 558ms
Then Check content of message about invitation "GUSAlert" 1s 057ms
And If user is login then logout 266ms
When Mock invitation email by admin panel "lantmannen-admin" "automatyy45@test.pl" 7s 505ms
And Verify that user is redirected to registration page 355ms
And Fill tax id registration page "notByJSON" 618ms
Then Verify that user is redirected to registration page 147ms
And Check if data from GUS are automatically completed 2s 288ms
After Hooks.deleteInvitationAfterTest() 026ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 432ms
And Delete invitations with email "automatyy46@test.pl" 016ms
When Go to "INVITATIONS_TAB" 494ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy46@test.pl" "PL" 2s 601ms
Then Check content of message about invitation "GUSAlert" 1s 153ms
And If user is login then logout 261ms
When Mock invitation email by admin panel "keeeper-admin" "automatyy46@test.pl" 7s 275ms
And Verify that user is redirected to registration page 392ms
And Fill tax id registration page "notByJSON" 558ms
Then Verify that user is redirected to registration page 149ms
And Check if data from GUS are automatically completed 2s 278ms
After Hooks.deleteInvitationAfterTest() 031ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 8s 629ms
And Delete invitations with email "automatyy47@test.pl" 014ms
When Go to "INVITATIONS_TAB" 452ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy47@test.pl" "PL" 2s 576ms
Then Check content of message about invitation "GUSAlert" 1s 590ms
And If user is login then logout 264ms
When Mock invitation email by admin panel "neuca-admin" "automatyy47@test.pl" 7s 596ms
And Verify that user is redirected to registration page 229ms
And Fill tax id registration page "notByJSON" 505ms
Then Verify that user is redirected to registration page 160ms
And Check if data from GUS are automatically completed 2s 232ms
After Hooks.deleteInvitationAfterTest() 030ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 244ms
And Delete invitations with email "automatyy48@test.pl" 016ms
When Go to "INVITATIONS_TAB" 594ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy48@test.pl" "PL" 2s 761ms
Then Check content of message about invitation "GUSAlert" 1s 899ms
And If user is login then logout 262ms
When Mock invitation email by admin panel "farmacol-admin" "automatyy48@test.pl" 7s 508ms
And Verify that user is redirected to registration page 538ms
And Fill tax id registration page "notByJSON" 619ms
Then Verify that user is redirected to registration page 138ms
And Check if data from GUS are automatically completed 2s 291ms
After Hooks.deleteInvitationAfterTest() 033ms
Given Set token of apiUsername "super-admin-piast" 226ms
And Delete invitations with email "automatyy99@test.pl" 012ms
And If user is login then logout 15s 114ms
And Create invitation by JSON file "super-admin-piast" for "automatyy99@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 422ms
When Mock invitation email by admin panel "super-admin-piast" "automatyy99@test.pl" 7s 672ms
And Verify that user is redirected to registration page 380ms
And Fill tax id registration page "notbyJSON" 631ms
Then Check if non-compliant NIP message is displayed 2s 081ms
After Hooks.deleteInvitationAfterTest() 137ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 447ms
When Go to "INVITATIONS_TAB" 508ms
And Go to create invitation form 254ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 1s 857ms
Then Check if company existed in apollo is suggest correctly 244ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 508ms
When Go to "INVITATIONS_TAB" 447ms
And Go to create invitation form 247ms
And Fill part of invitation page for existed company in Apollo "SUPPLIER" "SUPPLIER" "PL" "null" 1s 765ms
Then Check if company existed in apollo is suggest correctly 202ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 212ms
When Go to "INVITATIONS_TAB" 585ms
And Go to create invitation form 210ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "null" 1s 609ms
Then Check if company existed in apollo is suggest correctly 218ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 090ms
And Delete invitations with email "automatyy3333@test.pl" 015ms
When Go to "INVITATIONS_TAB" 450ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3333@test.pl" "PL" 2s 566ms
Then Check content of message about invitation "GUSAlert" 1s 596ms
And If user is login then logout 256ms
When Mock invitation email by admin panel "neuca-admin" "automatyy3333@test.pl" 7s 515ms
And Fill tax id registration page "notByJSON" 801ms
And Register to application "CARRIER" 4s 042ms
And Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 393ms
And Go to "COMPANIES_TAB" 1s 381ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 873ms
Then Check if user "neuca-admin" have correct permission to edit data from the GUS 271ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 8s 869ms
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 6s 236ms
And Delete invitations with email "automatyy3338@test.pl" 016ms
When Go to "INVITATIONS_TAB" 495ms
And Create invitation for "new" user "CARRIER" "CARRIER" "automatyy3338@test.pl" "PL" 2s 429ms
Then Check content of message about invitation "GUSAlert" 1s 058ms
And If user is login then logout 262ms
When Mock invitation email by admin panel "super-admin-lantmannen" "automatyy3338@test.pl" 7s 495ms
And Fill tax id registration page "notByJSON" 983ms
And Register to application "CARRIER" 3s 755ms
And Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 2s 417ms
And Go to "COMPANIES_TAB" 1s 593ms
And Go to company "POLSKI KONCERN NAFTOWY ORLEN SPÓŁKA AKCYJNA" details 843ms
Then Check if user "super-admin-lantmannen" have correct permission to edit data from the GUS 1s 095ms
After Hooks.changeCompanyNIPAndDeleteFromGUSCompanyDatabaseTable() 5s 565ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 7s 899ms
And Delete invitations with email "aaaa@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 510ms
And Go to create invitation form 246ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 186ms
Then Check if NIP is not required to inviting to your company 30s 112ms
When Send invitation 190ms
Then Create invitation success alert is displayed 1s 079ms
And Invitation is displayed on list "aaaa@keeeper.pl" 762ms
After Hooks.deleteInvitationAfterTest() 163ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 9s 601ms
And Delete invitations with email "aaaa@neuca.pl" 019ms
When Go to "INVITATIONS_TAB" 405ms
And Go to create invitation form 177ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 115ms
Then Check if NIP is not required to inviting to your company 30s 122ms
When Send invitation 175ms
Then Create invitation success alert is displayed 1s 480ms
And Invitation is displayed on list "aaaa@neuca.pl" 773ms
After Hooks.deleteInvitationAfterTest() 303ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 9s 197ms
And Delete invitations with email "aaaa@farmacol.com.pl" 016ms
When Go to "INVITATIONS_TAB" 454ms
And Go to create invitation form 222ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 286ms
Then Check if NIP is not required to inviting to your company 30s 121ms
When Send invitation 202ms
Then Create invitation success alert is displayed 1s 898ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 761ms
After Hooks.deleteInvitationAfterTest() 175ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 443ms
And Delete invitations with email "aaaa@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 479ms
And Go to create invitation form 247ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@keeeper.pl" 1s 056ms
When Send invitation 137ms
Then Create invitation success alert is displayed 984ms
And Check content of message about invitation "ownCompany" 133ms
And Invitation is displayed on list "aaaa@keeeper.pl" 598ms
After Hooks.deleteInvitationAfterTest() 146ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 322ms
And Delete invitations with email "aaaa@neuca.pl" 016ms
When Go to "INVITATIONS_TAB" 520ms
And Go to create invitation form 231ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neuca.pl" 1s 143ms
When Send invitation 125ms
Then Create invitation success alert is displayed 1s 365ms
And Check content of message about invitation "ownCompany" 116ms
And Invitation is displayed on list "aaaa@neuca.pl" 521ms
After Hooks.deleteInvitationAfterTest() 121ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 363ms
And Delete invitations with email "aaaa@farmacol.com.pl" 016ms
When Go to "INVITATIONS_TAB" 623ms
And Go to create invitation form 243ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farmacol.com.pl" 1s 307ms
When Send invitation 181ms
Then Create invitation success alert is displayed 1s 717ms
And Check content of message about invitation "ownCompany" 165ms
And Invitation is displayed on list "aaaa@farmacol.com.pl" 604ms
After Hooks.deleteInvitationAfterTest() 139ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 311ms
And Delete invitations with email "abc@keeeper.pl" 015ms
When Go to "INVITATIONS_TAB" 485ms
And Go to create invitation form 232ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "PRODUCER" "null" "aaaa@kper.pl" 1s 143ms
When Send invitation 159ms
Then Verify that wrong mail domain alert is displayed 182ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abc@keeeper.pl" 341ms
And Send invitation 144ms
Then Create invitation success alert is displayed 1s 013ms
And Check content of message about invitation "ownCompany" 162ms
And Invitation is displayed on list "abc@keeeper.pl" 601ms
After Hooks.deleteInvitationAfterTest() 140ms
Given Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 325ms
And Delete invitations with email "abcd@neuca.pl" 015ms
When Go to "INVITATIONS_TAB" 531ms
And Go to create invitation form 249ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSEMAN" "null" "aaaa@neeeuca.pl" 1s 226ms
When Send invitation 182ms
Then Verify that wrong mail domain alert is displayed 189ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcd@neuca.pl" 361ms
And Send invitation 142ms
Then Create invitation success alert is displayed 1s 471ms
And Check content of message about invitation "ownCompany" 173ms
And Invitation is displayed on list "abcd@neuca.pl" 746ms
After Hooks.deleteInvitationAfterTest() 174ms
Given Login as "farmacol-admin" and set token of apiUsername "super-admin-farmacol" 2s 267ms
And Delete invitations with email "abcde@farmacol.com.pl" 016ms
When Go to "INVITATIONS_TAB" 582ms
And Go to create invitation form 205ms
And Fill part of invitation page for existed company in Apollo "JOIN_COMPANY" "WAREHOUSE_MANAGER" "null" "aaaa@farrrmacol.com.pl" 1s 146ms
When Send invitation 166ms
Then Verify that wrong mail domain alert is displayed 153ms
When Fill part of invitation page for existed company in Apollo "null" "null" "null" "abcde@farmacol.com.pl" 392ms
And Send invitation 130ms
Then Create invitation success alert is displayed 1s 771ms
And Check content of message about invitation "ownCompany" 133ms
And Invitation is displayed on list "abcde@farmacol.com.pl" 520ms
After Hooks.deleteInvitationAfterTest() 155ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 7s 033ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 015ms
When Go to "INVITATIONS_TAB" 461ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 354ms
Then Check content of message about invitation "incompatibleNIP" 348ms
After Hooks.deleteInvitationAfterTest() 025ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 831ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 015ms
When Go to "INVITATIONS_TAB" 550ms
And Create invitation for "new" user "CARRIER" "CARRIER" "dha1-supplier-2@qa.qa-test" "AL" 2s 582ms
Then Check content of message about invitation "incompatibleNIP" 312ms
After Hooks.deleteInvitationAfterTest() 026ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 390ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 015ms
When Go to "INVITATIONS_TAB" 586ms
And Go to create invitation form 249ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 320ms
Then Check if company existed in apollo is suggest correctly 178ms
When Send invitation 159ms
Then Check content of message about invitation "incompatibleNIP" 460ms
After Hooks.deleteInvitationAfterTest() 026ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 2s 468ms
And Delete invitations with email "dha1-supplier-2@qa.qa-test" 014ms
When Go to "INVITATIONS_TAB" 528ms
And Go to create invitation form 170ms
And Fill part of invitation page for existed company in Apollo "CARRIER" "CARRIER" "PL" "dha1-supplier-2@qa.qa-test" 2s 006ms
Then Check if company existed in apollo is suggest correctly 120ms
When Send invitation 118ms
Then Check content of message about invitation "incompatibleNIP" 340ms
After Hooks.deleteInvitationAfterTest() 026ms
Scenario Outline Check if it is possible to invite existing user in order to associate him with principal company [A-7315]
Steps
Given Set token of apiUsername "super-admin-alrec" 235ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 173ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 222ms
And Go to "INVITATIONS_TAB" 446ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 568ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 15s 036ms
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.114)
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.KGx3Q4}, 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.114, browserName=chrome, javascriptEnabled=true, platformName=LINUX, setWindowRect=true, webauthn:extension:largeBlob=true, webauthn:virtualAuthenticators=true}]
Session ID: ddae78be8afb82e110b49f23c02daaab
*** 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:59)
	at ✽.Create invitation success alert is displayed(file:Features/Atom/Invitations/Invitation.feature:346)
After Hooks.deleteInvitationAfterTest() 023ms
After Hooks.cleanUserDetailsAfterTest() 1s 068ms