Project Number Date
ApolloFullRunnerReport master.290 02 lut 2021, 17:01

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Advice Mail 101 1 4 0 0 106 8 1 9 14m 21s 371ms Failed
Feature Advice Mail
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 1s 020ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 290ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 232ms
And Get inputs from database "ADVICE_CONTAINER" "super-admin-adama" 004ms
And Show all transport types 1s 047ms
And Click button advice in transport table "CONTAINER" 139ms
And Set advice window in schedule 2s 415ms
And Fill advice form 11s 775ms
And Click advice save button and wait for advice form to disappear 31s 219ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 323ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 126ms
After Hooks.cleanUserDetailsAfterTest() 181ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 1s 269ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 154ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 307ms
And Get inputs from database "ADVICE_DELIVERY" "super-admin-piast" 003ms
And Show all transport types 1s 048ms
And Click button advice in transport table "DELIVERY" 130ms
And Set advice window in schedule 2s 558ms
And Fill advice form 8s 371ms
And Click advice save button and wait for advice form to disappear 30s 797ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Advice has been saved!" 7s 340ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 141ms
After Hooks.cleanUserDetailsAfterTest() 196ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 1s 241ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 300ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 213ms
And Get inputs from database "ADVICE_LOAD" "super-admin-keeeper" 004ms
And Show all transport types 1s 048ms
And Click button advice in transport table "LOAD" 122ms
And Set advice window in schedule 2s 405ms
And Fill advice form 13s 134ms
And Click advice save button and wait for advice form to disappear 30s 731ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zapisano awizację! | Time window has been saved!" 7s 385ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 125ms
After Hooks.cleanUserDetailsAfterTest() 245ms
Given Login as "adama-admin" and set token of apiUsername "super-admin-adama" 2s 455ms
And Prepare user "adama-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 185ms
And Create transport "CREATE_CONTAINER" by JSON file as "super-admin-adama" 1s 187ms
And Show all transport types 1s 038ms
And Create advice "ADVICE_CONTAINER" "CONTAINER" "super-admin-adama" 45s 080ms
And Go to "TRANSPORT_TABLE" 176ms
And Go to transport details "CONTAINER" 4s 438ms
And Get inputs from database "EDIT_CONTAINER" "super-admin-adama" 003ms
When Go to transport details "CONTAINER" 3s 229ms
And Fill transport form 4s 745ms
And Get inputs from database "EDIT_ADVICE_CONTAINER" "super-admin-adama" 004ms
And Expand advice panel 116ms
And Edit advice in transport details 12s 443ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 130ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 19s 711ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 115ms
After Hooks.cleanUserDetailsAfterTest() 165ms
Given Login as "piast-admin" and set token of apiUsername "super-admin-piast" 2s 201ms
And Prepare user "piast-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 174ms
And Create transport "CREATE_DELIVERY_FRONT" by JSON file as "super-admin-piast" 1s 232ms
And Show all transport types 1s 048ms
And Create advice "ADVICE_DELIVERY" "DELIVERY" "super-admin-piast" 41s 777ms
And Go to "TRANSPORT_TABLE" 207ms
And Go to transport details "DELIVERY" 4s 547ms
And Get inputs from database "EDIT_DELIVERY" "super-admin-piast" 005ms
When Go to transport details "DELIVERY" 3s 225ms
And Fill transport form 1m 2s 591ms
And Get inputs from database "EDIT_ADVICE_DELIVERY" "super-admin-piast" 003ms
And Expand advice panel 114ms
And Edit advice in transport details 6s 678ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 129ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 49s 670ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 133ms
After Hooks.cleanUserDetailsAfterTest() 154ms
Given Login as "keeeper-admin" and set token of apiUsername "super-admin-keeeper" 2s 499ms
And Prepare user "keeeper-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 229ms
And Create transport "CREATE_LOAD" by JSON file as "super-admin-keeeper" 1s 322ms
And Show all transport types 1s 039ms
And Create advice "ADVICE_LOAD" "LOAD" "super-admin-keeeper" 46s 458ms
And Go to "TRANSPORT_TABLE" 169ms
And Go to transport details "LOAD" 4s 457ms
And Get inputs from database "EDIT_LOAD" "super-admin-keeeper" 004ms
When Go to transport details "LOAD" 3s 235ms
And Fill transport form 24s 740ms
And Get inputs from database "EDIT_ADVICE_LOAD" "super-admin-keeeper" 003ms
And Expand advice panel 106ms
And Edit advice in transport details 18s 576ms
And Click "save-transport-and-close" save button and wait for form to disappear 16s 149ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Zmiana w awizacji numer" 44s 497ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 123ms
After Hooks.cleanUserDetailsAfterTest() 193ms
Given Set token of apiUsername "super-admin-skd" 096ms
And Prepare user "swiss-krono-delivery-admin" details with all notifications and "apolloautomattest@gmail.com" by JSON file 217ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 1s 341ms
And Confirm status "ARRIVAL" by Public API "v1" 302ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 19s 470ms
Then Check if user got a mail 000ms
And Confirm status "DEPARTURE" by Public API "v1" 169ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wyjazd" 1m 319ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 132ms
After Hooks.cleanUserDetailsAfterTest() 200ms
Given Set token of apiUsername "super-admin-hochland" 096ms
And Prepare company "Dostawca Hochland Automat 1" verification email setting "48h" 011ms
And Prepare user "dha1-supplier-2@qa.qa-test" details with all notifications and "apolloautomattest@gmail.com" by JSON file 205ms
And Login as "dha1-supplier-2@qa.qa-test" and set token of apiUsername "dha1-supplier-2@qa.qa-test" 2s 744ms
And Create transport "CREATE_DELIVERY" by JSON file as "dha1-supplier-2@qa.qa-test" 15s 463ms
And Wait "120" seconds 2m
When Get mail "apolloautomattest@gmail.com" message from mail account with "Weryfikacja danych awizacji" 7s 576ms
Then Check if user got a mail 000ms
After Hooks.deleteTransportAfterTest() 149ms
After Hooks.cleanUserDetailsAfterTest() 268ms
After Hooks.rollbackVerificationEmailSettingAfterTest() 006ms
Scenario Outline Check if mail was not sent to creator if user is not enabled
Steps
Given Set token of apiUsername "super-admin-skd" 101ms
And Create and accept invitation by JSON file as "super-admin-skd" for "apolloautomattest@gmail.com" "CREATE_SQUARE_MANAGER_INVITATION" 569ms
And Get invited user account data "apolloautomattest@gmail.com" 1s 596ms
And Prepare disabled user "test-1" details with all notifications and "apolloautomattest@gmail.com" by JSON file 001ms
java.lang.AssertionError: Nie znaleziono szukanego zasobu w Apollo!
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getBigIntegerResult(ApolloSelectDbService.java:120)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:110)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findIdBy(ApolloSelectDbService.java:22)
	at CucumberTests.User.EditUserTest.prepareUserDetailsWithAllNotifications(EditUserTest.java:97)
	at CucumberTests.User.EditUserTest.prepareDisabledUserDetailsWithAllNotificationsAndByJSONFile(EditUserTest.java:93)
	at ✽.Prepare disabled user "test-1" details with all notifications and "apolloautomattest@gmail.com" by JSON file(file:Features/Atom/Mail/AdviceMail.feature:80)
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 000ms
And Confirm status "ARRIVAL" by Public API "v1" 000ms
When Get mail "apolloautomattest@gmail.com" message from mail account with "Potwierdzono status Wjazd na teren zakładu" 000ms
Then Check if user did not get an mail 000ms
After Hooks.deleteTransportAfterTest() 002ms
After Hooks.deleteUserAfterTest() 100ms