Project Number Date
ApolloFullRunnerReport apollo-test-2.126 20 sie 2021, 10:57

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 150ms 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" 263ms
And Set basic authorities "ROLE_QUEUES_TAB" to user "swiss-krono-delivery-admin" 305ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 769ms
When Confirm status "REPORTING" by Public API "v1" 538ms
And Confirm status "ARRIVAL" by Public API "v1" 1s 011ms
And Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION" 062ms
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:119)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:109)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findQueueId(ApolloSelectDbService.java:176)
	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() 985ms
After Hooks.rollbackAddedAuthorities() 143ms
Scenario Outline Check if role can send SMS to all drivers from queue
Before Hooks.showScenarioName(Scenario) 005ms
Steps
Given Set token of apiUsername "super-admin-skd" 225ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB;ROLE_QUEUES_TAB;ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 483ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 782ms
When Confirm status "REPORTING" by Public API "v1" 467ms
And Confirm status "ARRIVAL" by Public API "v1" 877ms
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:119)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:109)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findQueueId(ApolloSelectDbService.java:176)
	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() 823ms
After Hooks.rollbackAddedAuthorities() 238ms
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" 236ms
And Set basic authorities "ROLE_QUEUE_STATUS_TAB;ROLE_QUEUES_TAB;ROLE_CLASSIFICATION_TAB" to user "swiss-krono-delivery-admin" 432ms
And Create transport "CREATE_DELIVERY" by JSON file as "super-admin-skd" 2s 827ms
When Confirm status "REPORTING" by Public API "v1" 464ms
And Confirm status "ARRIVAL" by Public API "v1" 923ms
And Assign Queue to classification resource: "super-admin-skd" "recykling" "CLASSIFICATION" 036ms
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:119)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.getLongResult(ApolloSelectDbService.java:109)
	at Utils.JpaUtils.Apollo.SelectService.ApolloSelectDbService.findQueueId(ApolloSelectDbService.java:176)
	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() 794ms
After Hooks.rollbackAddedAuthorities() 156ms
View Feature UserAuthority
Scenario Outline Permission - Edit user ramp access [A-7887]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-adama" 243ms
And Set basic authorities "ROLE_USERS_TAB;ROLE_EDIT_USERS_RAMP" to user "oaa1-receiver-2@qa.qa-test" 358ms
When Login as "oaa1-receiver-2@qa.qa-test" 4s 166ms
And Go to user "oaa1-receiver@qa.qa-test" details edition by prepared link 151ms
And Unselect warehouse "Magazyn S7" access 675ms
Then Save user details 974ms
And Verify if "Magazyn S7" is not visible in user warehouses section 5s 020ms
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() 590ms
After Hooks.rollbackAddedAuthorities() 240ms
View Feature UserAuthority
Scenario Outline Permission - Edit user ramp access from other company [A-7887]
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Set token of apiUsername "super-admin-adama" 219ms
And Set basic authorities "ROLE_USERS_TAB;ROLE_EDIT_ALL_USERS;ROLE_EDIT_USERS_MAIN_DATA" to user "adama-buyer@qa.qa-test" 452ms
And Set user details json of user "oaa1-receiver@qa.qa-test" 015ms
When Login as "adama-buyer@qa.qa-test" 5s 892ms
And Go to "USERS_TAB" 3s 065ms
And Find user "oaa1-receiver@qa.qa-test" 2s 729ms
And Unselect warehouse "Magazyn S7" access 438ms
Then Save user details 983ms
And Verify if "Magazyn S7" is not visible in user warehouses section 5s 016ms
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() 615ms
After Hooks.rollbackAddedAuthorities() 256ms