Project Number Date
ApolloFullRunnerReport apollo-test-2.109 07 sie 2021, 05:54

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@FLAKY 12 2 9 0 0 23 1 2 3 15s 697ms Failed
View Feature Invitation
Scenario Outline Check if rejected invitation is visible in rejected tab
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-piast" 231ms
And Delete invitations with email "automaty31415@test.pl" 099ms
And Prepare user "piast-admin" details with all notifications and "automaty31415@test.pl" by JSON file 870ms
Then Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION" 609ms
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:63)
	at ✽.Create invitation by JSON file "super-admin-alrec" for "automaty31415@test.pl" "CREATE_SUPPLIER_INVITATION"(file:Features/Atom/Invitations/Invitation.feature:176)
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
After Hooks.deleteInvitationAfterTest() 000ms
After Hooks.cleanUserDetailsAfterTest() 956ms
View Feature Transport files
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 613ms
And Create transport "CREATE_TRANSPORT" by JSON file as "super-admin-alrec" 2s 243ms
When Go to "TRANSPORT_TABLE" 405ms
And Show all transport "true" 245ms
Then Verify that transport has "1" CMR file 1s 558ms
After Hooks.deleteTransportAfterTest() 605ms
View Feature Transport files
Scenario Outline Check if it CMR documents are added to transport after creation
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "alrec-admin" and set token of apiUsername "super-admin-alrec" 2s 175ms
And Create transport "CREATE_TRANSPORT_TWO_UNLOAD_STEPS" by JSON file as "super-admin-alrec" 2s 417ms
When Go to "TRANSPORT_TABLE" 375ms
And Show all transport "true" 266ms
Then Verify that transport has "2" CMR file 1s 583ms
java.lang.AssertionError: Liczba plików CMR w transporcie się nie zgadza! expected:<2> but was:<4>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:645)
	at CucumberTests.Transport.TransportFile.verifyThatTransportHasCMRFile(TransportFile.java:75)
	at ✽.Verify that transport has "2" CMR file(file:Features/Atom/Transport/File.feature:76)
After Hooks.deleteTransportAfterTest() 591ms