Project Number Date
ApolloFullRunnerReport 2021.AT1.14 26 Jul 2021, 08:50

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
User 32 6 12 0 0 50 3 6 9 1m 2s 159ms Failed
Feature User
Scenario Outline Check if it possible to edit user by my account. User must exist in the system
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "swisskrono-admin" 1s 170ms
When Edit user by my account 590ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 651ms
java.lang.AssertionError: Zmiany w moim koncie użytkownika nie zapisały się expected:<[NIMDA ONORKSSIWS, , ]> but was:<[SWISSKRONO ADMIN, , ]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at CucumberTests.User.EditUserTest.userIsSuccessfullyEditedByMyAccount(EditUserTest.java:87)
	at ✽.Check if user details are successfully edited by my account tab(file:Features/Atom/Users/User.feature:7)
Scenario Outline Check if it possible to edit user by my account. User must exist in the system
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "piast-admin" 1s 577ms
When Edit user by my account 467ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 933ms
java.lang.AssertionError: Zmiany w moim koncie użytkownika nie zapisały się expected:<[NIMDA TSAIP, , ]> but was:<[PIAST ADMIN, , ]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at CucumberTests.User.EditUserTest.userIsSuccessfullyEditedByMyAccount(EditUserTest.java:87)
	at ✽.Check if user details are successfully edited by my account tab(file:Features/Atom/Users/User.feature:7)
Scenario Outline Check if it possible to edit user by my account. User must exist in the system
Before Hooks.showScenarioName(Scenario) 000ms
Steps
Given Login as "lantmannen-admin" 812ms
When Edit user by my account 444ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 453ms
java.lang.AssertionError: Zmiany w moim koncie użytkownika nie zapisały się expected:<[NIMDA NENNAMTNAL, , ]> but was:<[LANTMANNEN ADMIN, , ]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at CucumberTests.User.EditUserTest.userIsSuccessfullyEditedByMyAccount(EditUserTest.java:87)
	at ✽.Check if user details are successfully edited by my account tab(file:Features/Atom/Users/User.feature:7)
Scenario Outline Check if it possible to edit user by my account. User must exist in the system
Before Hooks.showScenarioName(Scenario) 001ms
Steps
Given Login as "keeeper-admin" 912ms
When Edit user by my account 468ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 500ms
java.lang.AssertionError: Zmiany w moim koncie użytkownika nie zapisały się expected:<[NIMDA REPEEEK, , ]> but was:<[KEEEPER ADMIN, , ]>
	at org.junit.Assert.fail(Assert.java:88)
	at org.junit.Assert.failNotEquals(Assert.java:834)
	at org.junit.Assert.assertEquals(Assert.java:118)
	at CucumberTests.User.EditUserTest.userIsSuccessfullyEditedByMyAccount(EditUserTest.java:87)
	at ✽.Check if user details are successfully edited by my account tab(file:Features/Atom/Users/User.feature:7)
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" 1s 821ms
And Delete invitations with email "automaty@test.pl" 000ms
java.lang.IllegalStateException: Transaction already active
	at org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:75)
	at Utils.JpaUtils.Apollo.SelectService.ApolloUpdateDbService.deleteInvitationByEmail(ApolloUpdateDbService.java:68)
	at CucumberTests.Invitation.InvitationTest.deleteInvitationsWithEmail(InvitationTest.java:259)
	at ✽.Delete invitations with email "automaty@test.pl"(file:Features/Atom/Users/User.feature:18)
And Create and accept invitation by JSON file as "super-admin-skz" for "automaty@test.pl" "CREATE_CARRIER_INVITATION" 000ms
And Get invited user account data "automaty@test.pl" 000ms
When Go to "USERS_TAB" 000ms
When Delete user "automaty@test.pl" 000ms
Then Success alert is displayed 000ms
And User not displayed in users list "automaty@test.pl" 000ms
Hooks
After Hooks.deleteUserAndCompanyAfterTest() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteUserAfterTest(Hooks.java:300)
	at CucumberTests.Hooks.deleteUserAndCompanyAfterTest(Hooks.java:292)
	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" 1s 382ms
And Delete invitations with email "automaty@test.pl" 000ms
java.lang.IllegalStateException: Transaction already active
	at org.hibernate.engine.transaction.internal.TransactionImpl.begin(TransactionImpl.java:75)
	at Utils.JpaUtils.Apollo.SelectService.ApolloUpdateDbService.deleteInvitationByEmail(ApolloUpdateDbService.java:68)
	at CucumberTests.Invitation.InvitationTest.deleteInvitationsWithEmail(InvitationTest.java:259)
	at ✽.Delete invitations with email "automaty@test.pl"(file:Features/Atom/Users/User.feature:18)
And Create and accept invitation by JSON file as "super-admin-lantmannen" for "automaty@test.pl" "CREATE_CARRIER_INVITATION" 000ms
And Get invited user account data "automaty@test.pl" 000ms
When Go to "USERS_TAB" 000ms
When Delete user "automaty@test.pl" 000ms
Then Success alert is displayed 000ms
And User not displayed in users list "automaty@test.pl" 000ms
Hooks
After Hooks.deleteUserAndCompanyAfterTest() 000ms
java.lang.NullPointerException
	at CucumberTests.Hooks.deleteUserAfterTest(Hooks.java:300)
	at CucumberTests.Hooks.deleteUserAndCompanyAfterTest(Hooks.java:292)
	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" 1s 533ms
When Go to my account details 123ms
Then Verify that user has disabled notification 15s 023ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 086ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SQUARE_MANAGER_INVITATION" 6s 099ms
And Get invited user account data "automaty@test.pl" 494ms
When Go to "USERS_TAB" 1s 024ms
And Find user "automaty@test.pl" 2s 271ms
And Add queues to user account "opał" 215ms
And Save user details 3s 611ms
And Click edit button in user details page 073ms
Then Verify that the user is assigned the appropriate queues "opał" 064ms
After Hooks.deleteUserAfterTest() 1s 153ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 878ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SORTER_INVITATION" 5s 805ms
And Get invited user account data "automaty@test.pl" 497ms
When Go to "USERS_TAB" 793ms
And Find user "automaty@test.pl" 2s 245ms
Then Verify that the user is assigned the appropriate queues "igla. okrągłe HDS;trociny" 128ms
After Hooks.deleteUserAfterTest() 1s 079ms