Project Number Date
ApolloFullRunnerReport apollo-test-2.89 21 lip 2021, 06:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
User 50 0 0 0 0 50 7 2 9 2m 58s 554ms Failed
Feature User
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swisskrono-admin" 2s 718ms
When Edit user by my account 1s 611ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 6s 292ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" 7s 079ms
When Edit user by my account 1s 332ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 3s 847ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "lantmannen-admin" 2s 115ms
When Edit user by my account 1s 329ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 3s 153ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "keeeper-admin" 2s 217ms
When Edit user by my account 1s 384ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 4s 095ms
Scenario Outline Check if it is possible to delete user
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "super-admin-skz" and set token of apiUsername "super-admin-skz" 9s 669ms
And Delete invitations with email "automaty@test.pl" 018ms
And Create and accept invitation by JSON file as "super-admin-skz" for "automaty@test.pl" "CREATE_CARRIER_INVITATION" 6s 504ms
And Get invited user account data "automaty@test.pl" 4s 301ms
When Go to "USERS_TAB" 3s 063ms
When Delete user "automaty@test.pl" 5s 359ms
Then Success alert is displayed 069ms
And User not displayed in users list "automaty@test.pl" 16s 396ms
Hooks
After Hooks.deleteUserAndCompanyAfterTest() 668ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem companies/224410183/disable/ - status odpowiedzi: 403 , komunikat:  [path:/apollo/api/companies/224410183/disable/, error:Forbidden, message:Forbidden, timestamp:1626839715163, status:403]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:274)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:110)
	at CucumberTests.Hooks.deleteUserAndCompanyAfterTest(Hooks.java:295)
	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)
Scenario Outline Check if it is possible to delete user
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "super-admin-lantmannen" and set token of apiUsername "super-admin-lantmannen" 5s 594ms
And Delete invitations with email "automaty@test.pl" 014ms
And Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty@test.pl" "CREATE_CARRIER_INVITATION" 4s 133ms
And Get invited user account data "automaty@test.pl" 2s 543ms
When Go to "USERS_TAB" 2s 780ms
When Delete user "automaty@test.pl" 4s 657ms
Then Success alert is displayed 071ms
And User not displayed in users list "automaty@test.pl" 16s 402ms
Hooks
After Hooks.deleteUserAndCompanyAfterTest() 518ms
java.lang.AssertionError: Nieoczekiwany błąd podczas żądania PUT pod adresem companies/224410659/disable/ - status odpowiedzi: 403 , komunikat:  [path:/apollo/api/companies/224410659/disable/, error:Forbidden, message:Forbidden, timestamp:1626839751884, status:403]
	at org.junit.Assert.fail(Assert.java:88)
	at Utils.RestUtils.RestUtil.putResponse(RestUtil.java:274)
	at Utils.RestUtils.RestUtil.putToApolloApi(RestUtil.java:110)
	at CucumberTests.Hooks.deleteUserAndCompanyAfterTest(Hooks.java:295)
	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)
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "pla1-carrier" and set token of apiUsername "super-admin-skz" 5s 166ms
When Go to my account details 485ms
Then Verify that user has disabled notification 15s 077ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 2s 521ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SQUARE_MANAGER_INVITATION" 3s 630ms
And Get invited user account data "automaty@test.pl" 2s 909ms
When Go to "USERS_TAB" 2s 833ms
And Find user "automaty@test.pl" 2s 815ms
And Add queues to user account "opał" 594ms
And Save user details 1s 530ms
And Click edit button in user details page 191ms
Then Verify that the user is assigned the appropriate queues "opał" 208ms
After Hooks.deleteUserAfterTest() 493ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 2s 557ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SORTER_INVITATION" 3s 565ms
And Get invited user account data "automaty@test.pl" 2s 966ms
When Go to "USERS_TAB" 1s 574ms
And Find user "automaty@test.pl" 2s 734ms
Then Verify that the user is assigned the appropriate queues "igla. okrągłe HDS;trociny" 434ms
After Hooks.deleteUserAfterTest() 377ms