Project Number Date
ApolloFullRunnerReport apollo-test-2.99 30 lip 2021, 06:37

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@cleanUserDetailsAfterTest 376 7 32 0 0 415 35 7 42 51m 2s 743ms Failed
View Feature Invitation
Scenario Outline Check if user has accepted invitation from principal after accepting invitation by another user from company
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-farmacol" 236ms
And Prepare user "dnfa1-supplier" details with all notifications and "automaty314153@test.pl" by JSON file 2s 305ms
And Create invitation by JSON file "super-admin-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION" 1s 036ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /invitations; status: 422, komunikat: [errors:[Użytkownik o podanym adresie e-mail już istnieje. Prosimy o kontakt z naszą obsługą klienta na support@support.xd.]]
	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-farmacol" for "automaty314153@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:86)
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 254ms
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" 220ms
And Delete invitations with email "automaty31415@test.pl" 012ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 926ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 366ms
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() 971ms
View Feature Invitation
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-alrec" 237ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "automatyy3333@test.pl" by JSON file 1s 604ms
When Login as "neuca-admin" and set token of apiUsername "super-admin-neuca" 2s 186ms
And Go to "INVITATIONS_TAB" 459ms
And Create invitation for "existing" user "SUPPLIER" "SUPPLIER" "automatyy3333@test.pl" "PL" 2s 545ms
And Wait "3" seconds 3s
Then Create invitation success alert is displayed 122ms
After Hooks.deleteInvitationAfterTest() 028ms
After Hooks.cleanUserDetailsAfterTest() 1s 257ms
View Feature Advice Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 316ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 077ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 2s 167ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 020ms
And Show all transport types 1s 159ms
And Click button advice in transport table "CONTAINER" 246ms
And Set advice window in schedule 3s 221ms
And Fill advice form 14s 623ms
And Click advice save button and wait for advice form to disappear 33s 838ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zapisano awizację! | Advice has been saved!" 5s 491ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 796ms
After Hooks.cleanUserDetailsAfterTest() 1s 327ms
View Feature Advice Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 598ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 943ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 034ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 024ms
And Show all transport types 1s 218ms
And Click button advice in transport table "DELIVERY" 244ms
And Set advice window in schedule 3s 334ms
And Fill advice form 10s 625ms
And Click advice save button and wait for advice form to disappear 33s 297ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zapisano awizację! | Advice has been saved!" 5s 511ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 771ms
After Hooks.cleanUserDetailsAfterTest() 1s 114ms
View Feature Advice Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 464ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 798ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 973ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 019ms
And Show all transport types 1s 149ms
And Click button advice in transport table "LOAD" 250ms
And Set advice window in schedule 3s 245ms
And Fill advice form 16s 262ms
And Click advice save button and wait for advice form to disappear 33s 252ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zapisano awizację! | Time window has been saved!" 6s 040ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 730ms
After Hooks.cleanUserDetailsAfterTest() 1s 520ms
View Feature Advice Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 141ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 403ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 862ms
And Show all transport types 1s 162ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 51s 219ms
And Go to "TRANSPORT_TABLE" 441ms
And Go to transport details "CONTAINER" 2s 803ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 018ms
When Go to transport details "CONTAINER" 3s 544ms
And Fill transport form 5s 166ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 020ms
And Expand advice panel 239ms
And Edit advice in transport details 15s 263ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 268ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zmiana w awizacji numer" 11s 406ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 770ms
After Hooks.cleanUserDetailsAfterTest() 1s 382ms
View Feature Advice Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 5s 937ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 176ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 2s 014ms
And Show all transport types 1s 158ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 47s 288ms
And Go to "TRANSPORT_TABLE" 501ms
And Go to transport details "DELIVERY" 2s 856ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 034ms
When Go to transport details "DELIVERY" 3s 744ms
And Fill transport form 1m 8s 571ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 021ms
And Expand advice panel 252ms
And Edit advice in transport details 8s 082ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 209ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zmiana w awizacji numer" 5s 925ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 932ms
After Hooks.cleanUserDetailsAfterTest() 1s 121ms
View Feature Advice Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 5s 995ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 710ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 992ms
And Show all transport types 1s 161ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 52s 951ms
And Go to "TRANSPORT_TABLE" 445ms
And Go to transport details "LOAD" 2s 820ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 020ms
When Go to transport details "LOAD" 3s 559ms
And Fill transport form 28s 780ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 024ms
And Expand advice panel 241ms
And Edit advice in transport details 21s 425ms
And Click "save-transport-and-close" save button and wait for form to disappear 30s 212ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zmiana w awizacji numer" 5s 595ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 790ms
After Hooks.cleanUserDetailsAfterTest() 1s 595ms
View Feature Advice Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-skd" 248ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 857ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 705ms
And Confirm status "ARRIVAL" by Public API "v1" 1s 160ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Potwierdzono status Wjazd na teren zakładu" 10s 389ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 1s 357ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Potwierdzono status Wyjazd" 31s 272ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 779ms
After Hooks.cleanUserDetailsAfterTest() 967ms
View Feature Advice Mail
Before Hooks.showScenarioName(Scenario) 002ms
Given Set token of apiUsername "super-admin-hochland" 251ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 038ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 072ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 9s 005ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 16s 886ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Weryfikacja danych awizacji" 1m 47s 854ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 780ms
After Hooks.cleanUserDetailsAfterTest() 1s 674ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 043ms
View Feature Auctions Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 195ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 197ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 123ms
And Set transport on auction with "500" and "20000" by JSON file as "super-admin-adama" 3s 523ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Nowa aukcja" 5s 337ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 726ms
After Hooks.cleanUserDetailsAfterTest() 2s 084ms
View Feature Auctions Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 480ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 410ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 095ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 979ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 284ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 1s 996ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Nie otrzymano zlecenia" 5s 364ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 606ms
After Hooks.cleanUserDetailsAfterTest() 2s 056ms
View Feature Auctions Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-producer" and set token of apiUsername "super-admin-skz" 12s 305ms
And Prepare user "swisskrono-producer" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 529ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 164ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 847ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 1s 016ms
And Wait till auction end 1m 57s 015ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Dodano nową ofertę" 4m 6s 427ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 692ms
After Hooks.cleanUserDetailsAfterTest() 2s 320ms
View Feature Auctions Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 555ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 536ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 089ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 3s 052ms
And Wait till auction end 1m 57s 017ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Aukcja zakończona bez ofert" 5s 941ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 664ms
After Hooks.cleanUserDetailsAfterTest() 1s 352ms
View Feature Auctions Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 5s 210ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 333ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 093ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 3s 058ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 006ms
And Add a bid "500" to an auction by JSON file as "paa2-carrier@qa.qa-test" for "super-admin-adama" 1s 802ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Oferta przelicytowana" 37s 717ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 607ms
After Hooks.cleanUserDetailsAfterTest() 2s 023ms
View Feature Auctions Mail
Before Hooks.showScenarioName(Scenario) 003ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 410ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 307ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 082ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 2s 966ms
And Add a bid "1500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 005ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Otrzymano zlecenie" 1m 52s 176ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 594ms
After Hooks.cleanUserDetailsAfterTest() 2s 311ms
View Feature Auctions Mail
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 477ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 308ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 106ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" 3s 027ms
And Add a bid "500" to an auction by JSON file as "paa1-carrier@qa.qa-test" for "super-admin-adama" 1s 724ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Otrzymano zlecenie" 5s 331ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 629ms
After Hooks.cleanUserDetailsAfterTest() 2s 074ms
View Feature Auctions Mail
Scenario Outline Check mail two hours before auction ends
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "paa1-carrier@qa.qa-test" and set token of apiUsername "super-admin-adama" 5s 472ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 592ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 107ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes 423ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania POST pod adresem /auctions; status: 422, komunikat: [errors:[Termin zakończenia aukcji musi się znajdować w przyszłości]]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.postObjectToApolloApi(RestUtil.java:86)
	at CucumberTests.Transport.AuctionTransport.setTransportOnAuction(AuctionTransport.java:54)
	at CucumberTests.Transport.AuctionTransport.setTransportOnAuctionByApiWith(AuctionTransport.java:71)
	at ✽.Set transport on auction with "500" and "1500" by JSON file as "super-admin-adama" and finish of auction in "121" minutes(file:Features/Atom/Mail/AuctionMail.feature:103)
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zakończenie aukcji" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 629ms
After Hooks.cleanUserDetailsAfterTest() 2s 088ms
View Feature Discrepancy Report Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 2s 838ms
And Prepare user "hochland-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 4s 283ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 141ms
And Go to "TRANSPORT_TABLE" 378ms
And Go to transport details "DELIVERY" 2s 849ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-hochland" 019ms
And Fill transport form 40s 474ms
And Open section: "discrepancy-report-panel" 1s 147ms
And Fill discrepancy report section 52s 500ms
And Go to transport details "DELIVERY" 2s 789ms
And Change filled value in details "rodo-acceptance" "checkbox" "true" "0" 1s 515ms
And Generate discrepancy report 21s 549ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Utworzono protokół niezgodności" 5s 950ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 913ms
After Hooks.cleanUserDetailsAfterTest() 3s 418ms
View Feature Mode of transportation mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Set token of apiUsername "super-admin-bausch" 231ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 3s 027ms
When Create default mode of transportation by API with "pba1-carrier" 673ms
Then Update mode of transportation by API with "pba1-carrier": "BBBB0000" "Model2" "Marka2" "CCCC0000" 371ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Środek transportu BBBB0000 został zaktualizowany" 5s 337ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 2s 513ms
After Hooks.deleteModeOfTransportationAfterTest() 338ms
View Feature Mode of transportation mail
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-bausch" 231ms
And Prepare user "super-admin-bausch" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 871ms
When Create default mode of transportation by API with "pba1-carrier" 571ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Nowy środek transportu" 5s 361ms
Then Check if user got a mail 000ms
After Hooks.cleanUserDetailsAfterTest() 2s 524ms
After Hooks.deleteModeOfTransportationAfterTest() 300ms
View Feature Transport Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "hochland-admin" and set token of apiUsername "super-admin-hochland" 9s 454ms
And Prepare user "pha2-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 136ms
And Set basic authorities "ROLE_CAN_PLAN_ADVICE_IN_THE_PAST" to user "hochland-admin" 226ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-hochland" 3s 166ms
And Go to "WAREHOUSE_TAB" 1s 278ms
And Select warehouse "Serownia" 1s 568ms
And Set week view 1s 227ms
And Show yesterday 1s 142ms
And Move window into the past 406ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "spóźnił się na" 37s 655ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 804ms
After Hooks.cleanUserDetailsAfterTest() 2s 378ms
After Hooks.rollbackAddedAuthorities() 185ms
View Feature Transport Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 9s 355ms
And Prepare user "swisskrono-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 401ms
And Wait "60" seconds 1m
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 223ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Drobnica import" 36s 870ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 577ms
After Hooks.cleanUserDetailsAfterTest() 2s 195ms
View Feature Transport Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 675ms
And Prepare user "swisskrono-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 560ms
And Wait "60" seconds 1m
And Create transport "CREATE_SMALLS_EXPORT" by JSON file as "super-admin-skz" 2s 155ms
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Drobnica eksport" 43s 440ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 587ms
After Hooks.cleanUserDetailsAfterTest() 2s 316ms
View Feature Transport Transfer Mail
Scenario Outline Check if mail was sent to carrier after transport transfer
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 490ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 524ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 060ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true" 14s 970ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='PASS'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.1Xrypi}, 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: 44b4d5a53604a9f6e6a22a7b1889de8b
	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.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportsPage.transferTransportToCarrier(TransportsPage.java:285)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:37)
	at ✽.Transfer transport to carrier "Przewoźnik Adama Automat 1" with "true"(file:Features/Atom/Mail/TransportTransferMail.feature:8)
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zlecenie czeka na akceptację" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 618ms
After Hooks.cleanUserDetailsAfterTest() 2s 037ms
View Feature Transport Transfer Mail
Scenario Outline Check if mail was sent to carrier after transport transfer with no confirmation
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 429ms
And Prepare user "paa1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 324ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-adama" 2s 102ms
And Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false" 15s 192ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to no longer be visible: By.xpath: //button[@data-button-name='PASS'] (tried for 10 second(s) with 500 MILLISECONDS interval)
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.1Xrypi}, 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: 44b4d5a53604a9f6e6a22a7b1889de8b
	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.waitUntilElementDisappear(BasePage.java:215)
	at Pages.Transport.TransportsPage.transferTransportToCarrier(TransportsPage.java:285)
	at CucumberTests.Transport.TransferTransportTest.transferTransportToCarrier(TransferTransportTest.java:37)
	at ✽.Transfer transport to carrier "Przewoźnik Adama Automat 1" with "false"(file:Features/Atom/Mail/TransportTransferMail.feature:20)
When Get mail "apolloautomattest@gmail.com" message from mailgun with "Zostało przekazane nowe zlecenie" 000ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 611ms
After Hooks.cleanUserDetailsAfterTest() 2s 006ms
View Feature Transport Transfer Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 795ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 2s 245ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 178ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 999ms
And Add a bid "1500" to an auction by JSON file as "pskza1-carrier@qa.qa-test" for "pskza1-carrier@qa.qa-test" 1s 078ms
And Add a bid "500" to an auction by JSON file as "pskza2-carrier-2@qa.qa-test" for "pskza2-carrier-2@qa.qa-test" 1s 172ms
Then If user is login then logout 573ms
And Login as "swisskrono-admin" 2s 353ms
And Go to auction details 1s 843ms
And Pass transport to carrier from auction details 1s 483ms
And Get mail "apolloautomattest@gmail.com" message from mailgun with "Nie otrzymano zlecenia" 2m 41s 996ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 993ms
After Hooks.cleanUserDetailsAfterTest() 3s 133ms
View Feature Transport Transfer Mail
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 846ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 3s 134ms
And Create transport "CREATE_SMALLS_IMPORT" by JSON file as "super-admin-skz" 2s 177ms
And Set transport on auction with "500" and "1500" by JSON file as "super-admin-skz" 2s 992ms
And Get mail "apolloautomattest@gmail.com" message from mailgun with "Nowe zapytanie ofertowe" 5s 353ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 712ms
After Hooks.cleanUserDetailsAfterTest() 2s 755ms
View Feature Remind password
Before Hooks.showScenarioName(Scenario) 000ms
Given Set token of apiUsername "super-admin-adama" 227ms
And Prepare user "adama-admin" details with all notifications and "automaty10@o2.pl" by JSON file 1s 520ms
Then Send password remind email "automaty10@o2.pl" and check if status is ok 181ms
After Hooks.cleanUserDetailsAfterTest() 1s 246ms
View Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 2s 472ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 359ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 022ms
And Add transport by SKApi in "MGW" assigned to "" 022ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 018ms
And Check is transport "CONTAINER" created in transport table and set transport id 6s 905ms
When Click button advice in transport table "CONTAINER" 207ms
And Set advice window in schedule 3s 372ms
And Fill advice form 17s 995ms
And Click advice save button and wait for advice form to disappear 33s 290ms
And Go to "TRANSPORT_TABLE" 440ms
And Go to transport details "CONTAINER" 2s 895ms
Then Check are advice values equals 2s 896ms
After Hooks.deleteTransportAfterTest() 822ms
After Hooks.cleanUserDetailsAfterTest() 2s 232ms
View Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 659ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 353ms
And Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 019ms
And Add transport by SKApi in "MGW" assigned to "" 018ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 014ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 7s 167ms
When Click button advice in transport table "OWN_COLLECTION" 229ms
And Set advice window in schedule 3s 364ms
And Fill advice form 17s 938ms
And Click advice save button and wait for advice form to disappear 33s 304ms
And Go to "TRANSPORT_TABLE" 468ms
And Go to transport details "OWN_COLLECTION" 2s 870ms
Then Check are advice values equals 2s 882ms
After Hooks.deleteTransportAfterTest() 834ms
After Hooks.cleanUserDetailsAfterTest() 2s 056ms
View Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 412ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 336ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 024ms
And Add transport by SKApi in "MGW" assigned to "" 028ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 014ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 4s 414ms
When Click button advice in transport table "TRANSPORT_ORDER" 190ms
And Set advice window in schedule 3s 391ms
And Fill advice form 17s 860ms
And Click advice save button and wait for advice form to disappear 33s 325ms
And Go to "TRANSPORT_TABLE" 469ms
And Go to transport details "TRANSPORT_ORDER" 2s 913ms
Then Check are advice values equals 2s 902ms
After Hooks.deleteTransportAfterTest() 869ms
After Hooks.cleanUserDetailsAfterTest() 2s 244ms
View Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 8s 773ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "" by JSON file 3s 380ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 023ms
And Add transport by SKApi in "MGW" assigned to "" 017ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 017ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 3s 858ms
When Click button advice in transport table "TRANSPORT_ORDER" 211ms
And Set advice window in schedule 3s 288ms
And Fill advice form 18s 014ms
And Click advice save button and wait for advice form to disappear 18s 351ms
And Go to "TRANSPORT_TABLE" 450ms
And Go to transport details "TRANSPORT_ORDER" 2s 855ms
Then Check are advice values equals 2s 934ms
After Hooks.deleteTransportAfterTest() 855ms
After Hooks.cleanUserDetailsAfterTest() 2s 741ms
View Feature SK Api - Advice transport
Scenario Outline Check if it possible to advice transport when transport is created by sk API
The scenario checks if you can correctly add an advice to the order. After correct creation of the advice, the validity of the advice data on the platform is checked.
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "swisskrono-tradesman@qa.qa-test" and set token of apiUsername "super-admin-skz" 7s 603ms
And Prepare user "swisskrono-tradesman@qa.qa-test" details with all notifications and "automaty@test.pl" by JSON file 1s 765ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 022ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 021ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 018ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 4s 889ms
When Click button advice in transport table "TRANSPORT_ORDER" 220ms
And Set advice window in schedule 30s 589ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for visibility of element located by By.xpath: //div[contains(@class, 'success-alert')] (tried for 30 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:177)
	at CucumberTests.Transport.AdviceTransport.setAdviceWindowInSchedule(AdviceTransport.java:85)
	at ✽.Set advice window in schedule(file:Features/Atom/SK_API/SkApiTransportAdvice.feature:13)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //div[contains(@class, 'success-alert')]
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:177)
	at CucumberTests.Transport.AdviceTransport.setAdviceWindowInSchedule(AdviceTransport.java:85)
	at sun.reflect.GeneratedMethodAccessor240.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 Fill advice form 000ms
And Click advice save button and wait for advice form to disappear 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "TRANSPORT_ORDER" 000ms
Then Check are advice values equals 000ms
After Hooks.deleteTransportAfterTest() 548ms
After Hooks.cleanUserDetailsAfterTest() 1s 561ms
View Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 498ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 550ms
And Get inputs from database "CREATE_OWN_COLLECTION" "super-admin-skz" 021ms
And Add transport by SKApi in "MGW" assigned to "" 019ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 018ms
And Check is transport "OWN_COLLECTION" created in transport table and set transport id 7s 132ms
When Click button advice in transport table "OWN_COLLECTION" 218ms
And Set advice window in schedule 3s 278ms
And Fill advice form 17s 935ms
And Click advice save button and wait for advice form to disappear 33s 199ms
And Go to "TRANSPORT_TABLE" 437ms
Then Check advice data in SK API database "OWN_COLLECTION" 416ms
After Hooks.deleteTransportAfterTest() 803ms
After Hooks.cleanUserDetailsAfterTest() 2s 088ms
View Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 837ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 334ms
And Get inputs from database "CREATE_CONTAINER" "super-admin-skz" 021ms
And Add transport by SKApi in "MGW" assigned to "" 020ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 018ms
And Check is transport "CONTAINER" created in transport table and set transport id 6s 938ms
When Click button advice in transport table "CONTAINER" 224ms
And Set advice window in schedule 3s 380ms
And Fill advice form 17s 862ms
And Click advice save button and wait for advice form to disappear 33s 243ms
And Go to "TRANSPORT_TABLE" 461ms
Then Check advice data in SK API database "CONTAINER" 197ms
After Hooks.deleteTransportAfterTest() 831ms
After Hooks.cleanUserDetailsAfterTest() 2s 280ms
View Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" and set token of apiUsername "super-admin-skz" 7s 444ms
And Prepare user "swisskrono-admin" details with all notifications and "" by JSON file 2s 369ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 023ms
And Add transport by SKApi in "MGW" assigned to "" 017ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 017ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 7s 357ms
When Click button advice in transport table "TRANSPORT_ORDER" 231ms
And Set advice window in schedule 3s 333ms
And Fill advice form 17s 888ms
And Click advice save button and wait for advice form to disappear 33s 307ms
And Go to "TRANSPORT_TABLE" 467ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 091ms
After Hooks.deleteTransportAfterTest() 823ms
After Hooks.cleanUserDetailsAfterTest() 2s 071ms
View Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pskza1-carrier@qa.qa-test" and set token of apiUsername "super-admin-skz" 6s 729ms
And Prepare user "pskza1-carrier@qa.qa-test" details with all notifications and "" by JSON file 3s 381ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 022ms
And Add transport by SKApi in "MGW" assigned to "" 016ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 015ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 6s 948ms
When Click button advice in transport table "TRANSPORT_ORDER" 219ms
And Set advice window in schedule 3s 316ms
And Fill advice form 17s 900ms
And Click advice save button and wait for advice form to disappear 33s 201ms
And Go to "TRANSPORT_TABLE" 470ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 092ms
After Hooks.deleteTransportAfterTest() 860ms
After Hooks.cleanUserDetailsAfterTest() 2s 791ms
View Feature SK Api - Advice transport
The scenario checks if you can correctly add an advice to the order. After the correct addition of the advice on the platform, the correctness of the data that has been sent to the SK API microservice database is also verified.
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-tradesman@qa.qa-test" and set token of apiUsername "super-admin-skz" 8s 448ms
And Prepare user "swisskrono-tradesman@qa.qa-test" details with all notifications and "automaty@test.pl" by JSON file 1s 841ms
And Get inputs from database "CREATE_TRANSPORT_ORDER" "super-admin-skz" 021ms
And Add transport by SKApi in "MGW" assigned to "automaty@test.pl" 019ms
And Get inputs from database "CREATE_ADVICE" "super-admin-skz" 015ms
And Check is transport "TRANSPORT_ORDER" created in transport table and set transport id 4s 454ms
When Click button advice in transport table "TRANSPORT_ORDER" 225ms
And Set advice window in schedule 3s 303ms
And Fill advice form 18s 060ms
And Click advice save button and wait for advice form to disappear 33s 838ms
And Go to "TRANSPORT_TABLE" 419ms
Then Check advice data in SK API database "TRANSPORT_ORDER" 250ms
After Hooks.deleteTransportAfterTest() 846ms
After Hooks.cleanUserDetailsAfterTest() 1s 735ms
View Feature Status rejection
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" and set token of apiUsername "super-admin-lantmannen" 4s 939ms
And Prepare user "lantmannen-guard" details with all notifications and "apolloautomattest@gmail.com" by JSON file 958ms
And Prepare user "pla1-carrier" details with all notifications and "apolloautomattest@gmail.com" by JSON file 1s 545ms
And Add access to the warehouse "Magazyn - Nowa Sól" to the user "lantmannen-guard" by JSON file 737ms
And Login as "lantmannen-guard" and set token of apiUsername "super-admin-lantmannen" 4s 725ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-lantmannen" 2s 877ms
And Check if reject date is not visible 15s 030ms
When Reject status: Book of disinfection 199ms
And Check if reject date is visible 1s 010ms
Then If user is login then logout 251ms
And Login as "lantmannen-admin" 2s 306ms
And Check if note was added to transport after status rejection 1s 696ms
And Check if history note was added to transport after status rejection - "LOAD" 4s 309ms
And Get mail "apolloautomattest@gmail.com" message from mailgun with "Nieaktualna księga mycia i dezynfekcji" 6s 045ms
And Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 753ms
After Hooks.cleanUserDetailsAfterTest() 1s 121ms
After Hooks.rollbackWarehousesAccess() 733ms
View Feature UserAuthority
Scenario Outline Permission - Edit user main data [A-7965]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-adama" 231ms
And Set basic authorities "ROLE_EDIT_USERS_MAIN_DATA" to user "oaa1-receiver-2@qa.qa-test" 231ms
When Login as "oaa1-receiver-2@qa.qa-test" 4s 439ms
And Go to user "oaa1-receiver@qa.qa-test" details edition 271ms
And Change user details "email" to "newEmailAddress@newEmail.com" 15s 079ms
org.openqa.selenium.TimeoutException: Expected condition failed: waiting for element to be clickable: By.xpath: //button[@data-button-name='save'] (tried for 10 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.waitUntilElementClickable(BasePage.java:223)
	at CucumberTests.User.EditUserTest.changeUserEmailAddressByAccountDetails(EditUserTest.java:189)
	at ✽.Change user details "email" to "newEmailAddress@newEmail.com"(file:Features/Atom/Users/UserAuthority.feature:9)
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.xpath: //button[@data-button-name='save']
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.ExpectedConditions$22.apply(ExpectedConditions.java:643)
	at org.openqa.selenium.support.ui.ExpectedConditions$22.apply(ExpectedConditions.java:640)
	at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:208)
	at Pages.BasePage.waitUntilElementClickable(BasePage.java:223)
	at CucumberTests.User.EditUserTest.changeUserEmailAddressByAccountDetails(EditUserTest.java:189)
	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.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 Change user details "phone" to "123456789" 000ms
Then Save user details 000ms
Hooks
After Hooks.cleanUserDetailsAfterTest() 000ms
java.lang.NullPointerException
	at Utils.JsonApiUtil.editJsonTextNode(JsonApiUtil.java:158)
	at CucumberTests.Hooks.cleanUserDetailsAfterTest(Hooks.java:332)
	at sun.reflect.GeneratedMethodAccessor261.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.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.rollbackAddedAuthorities() 187ms