Project Number Date
ApolloFullRunnerReport apollo-test-2.152 09 wrz 2021, 11:22

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@rollbackAddedAuthorities 29 5 26 0 0 60 0 5 5 45s 548ms Failed
Scenario Outline Check if role can send SMS to all drivers from queue
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-skd" 237ms
And Set basic authorities "ROLE_QUEUES_TAB" to user "swiss-krono-delivery-admin" 269ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 846ms
When Confirm status "REPORTING" by Public API "v1" 590ms
And Confirm status "ARRIVAL" by Public API "v1" 825ms
And Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION" 050ms
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.findQueueId(ApolloSelectDbService.java:177)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.prepareClassificationResourceJson(ClassificationResourceTest.java:64)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.assignQueueToClassificationResource(ClassificationResourceTest.java:48)
	at ✽.Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION"(file:Features/Atom/SMS/sms.feature:32)
And Login as "swiss-krono-delivery-admin" 000ms
And Go to transport details "DELIVERY" 000ms
And Set driver phone number "48" "789440109" 000ms
And Go to "QUEUES_TAB" 000ms
And Verify that classification resource is proper "Zrębki" and "recykling" in Queues Tab 000ms
Then Verify that classification resource buttons have proper color on "Zrębki" and "recykling" and "Rozładunek" - "UNLOAD" "DELIVERY" 000ms
And Choose place "Rozładunek" on "recykling" 000ms
And Wait "20" seconds 000ms
Then Check if sms was sent to driver after confirm status "logintegra-imperial-test" "Argetnigol.7890" "wzywany jest na rozładunek surowca" 000ms
After Hooks.deleteTransportAfterTest() 908ms
After Hooks.rollbackAddedAuthorities() 158ms
Scenario Outline Check if role can send SMS to all drivers from queue
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-skd" 220ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB;ROLE_QUEUES_TAB;ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 461ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 829ms
When Confirm status "REPORTING" by Public API "v1" 545ms
And Confirm status "ARRIVAL" by Public API "v1" 746ms
And Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION" 032ms
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.findQueueId(ApolloSelectDbService.java:177)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.prepareClassificationResourceJson(ClassificationResourceTest.java:64)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.assignQueueToClassificationResource(ClassificationResourceTest.java:48)
	at ✽.Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION"(file:Features/Atom/SMS/sms.feature:54)
And Login as "swiss-krono-delivery-admin" 000ms
And Go to transport details "DELIVERY" 000ms
And Set driver phone number "48" "789440109" 000ms
And Go to "QUEUES_TAB" 000ms
And Go to square: "Zrębki" 000ms
And Choose place "Rozładunek" on "recykling" 000ms
Then Check if sms was sent to driver after confirm status "logintegra-imperial-test" "Argetnigol.7890" "wzywany jest na rozładunek surowca" 000ms
After Hooks.deleteTransportAfterTest() 911ms
After Hooks.rollbackAddedAuthorities() 252ms
Scenario Outline Check if SMS was added to transport history after confirm status
Before Hooks.showScenarioName(Scenario) 003ms
Steps
Given Set token of apiUsername "super-admin-skd" 231ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB;ROLE_QUEUES_TAB;ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 413ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 780ms
When Confirm status "REPORTING" by Public API "v1" 591ms
And Confirm status "ARRIVAL" by Public API "v1" 708ms
And Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION" 035ms
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.findQueueId(ApolloSelectDbService.java:177)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.prepareClassificationResourceJson(ClassificationResourceTest.java:64)
	at CucumberTests.ClassificationResource.ClassificationResourceTest.assignQueueToClassificationResource(ClassificationResourceTest.java:48)
	at ✽.Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION"(file:Features/Atom/SMS/sms.feature:74)
And Login as "swiss-krono-delivery-admin" 000ms
And Go to transport details "DELIVERY" 000ms
And Set driver phone number "48" "789440109" 000ms
And Go to "QUEUES_TAB" 000ms
And Go to square: "Zrębki" 000ms
And Choose place "Rozładunek" on "recykling" 000ms
And Go to "TRANSPORT_TABLE" 000ms
And Go to transport details "DELIVERY" 000ms
And Open section: "panel-title" 000ms
Then Check if information about sms was added to transport history 000ms
After Hooks.deleteTransportAfterTest() 899ms
After Hooks.rollbackAddedAuthorities() 139ms
View Feature UserAuthority
Scenario Outline Permission - Edit user ramp access [A-7887]
Before Hooks.showScenarioName(Scenario) 003ms
Steps
Given Set token of apiUsername "super-admin-adama" 331ms
And Set basic authorities "ROLE_USERS_TAB;ROLE_EDIT_USERS_RAMP" to user "oaa1-receiver-2@qa.qa-test" 390ms
When Login as "oaa1-receiver-2@qa.qa-test" 3s 896ms
And Go to user "oaa1-receiver@qa.qa-test" details edition by prepared link 112ms
And Unselect warehouse "Magazyn S7" access 719ms
Then Save user details 936ms
And Verify if "Magazyn S7" is not visible in user warehouses section 5s 006ms
java.lang.AssertionError: Magazyn jest nadal widoczny w szczegółach użytkownika
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.User.EditUserTest.verifyIfWarehouseNameIsNotVisibleInUserWarehousesSection(EditUserTest.java:282)
	at ✽.Verify if "Magazyn S7" is not visible in user warehouses section(file:Features/Atom/Users/UserAuthority.feature:25)
After Hooks.cleanUserDetailsAfterTest() 610ms
After Hooks.rollbackAddedAuthorities() 273ms
View Feature UserAuthority
Scenario Outline Permission - Edit user ramp access from other company [A-7887]
Before Hooks.showScenarioName(Scenario) 002ms
Steps
Given Set token of apiUsername "super-admin-adama" 236ms
And Set basic authorities "ROLE_USERS_TAB;ROLE_EDIT_ALL_USERS;ROLE_EDIT_USERS_MAIN_DATA" to user "adama-buyer@qa.qa-test" 456ms
And Set user details json of user "oaa1-receiver@qa.qa-test" 015ms
When Login as "adama-buyer@qa.qa-test" 5s 839ms
And Go to "USERS_TAB" 2s 976ms
And Find user "oaa1-receiver@qa.qa-test" 3s 760ms
And Unselect warehouse "Magazyn S7" access 427ms
Then Save user details 981ms
And Verify if "Magazyn S7" is not visible in user warehouses section 5s 043ms
java.lang.AssertionError: Magazyn jest nadal widoczny w szczegółach użytkownika
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.assertTrue(Assert.java:41)
	at CucumberTests.User.EditUserTest.verifyIfWarehouseNameIsNotVisibleInUserWarehousesSection(EditUserTest.java:282)
	at ✽.Verify if "Magazyn S7" is not visible in user warehouses section(file:Features/Atom/Users/UserAuthority.feature:71)
After Hooks.cleanUserDetailsAfterTest() 631ms
After Hooks.rollbackAddedAuthorities() 236ms