Project Number Date
ApolloFullRunnerReport 2021.AT1.12 25 Jul 2021, 06:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
User 33 5 12 0 0 50 4 5 9 1m 2s 494ms Failed
Feature User
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swisskrono-admin" 1s 187ms
When Edit user by my account 607ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 1s 454ms
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 558ms
When Edit user by my account 521ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 999ms
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" 823ms
When Edit user by my account 419ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 760ms
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) 000ms
Steps
Given Login as "keeeper-admin" 875ms
When Edit user by my account 444ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 1s 030ms
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) 001ms
Steps
Given Login as "super-admin-skz" and set token of apiUsername "super-admin-skz" 1s 776ms
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 322ms
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 570ms
When Go to my account details 136ms
Then Verify that user has disabled notification 15s 031ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 944ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SQUARE_MANAGER_INVITATION" 5s 589ms
And Get invited user account data "automaty@test.pl" 543ms
When Go to "USERS_TAB" 928ms
And Find user "automaty@test.pl" 2s 297ms
And Add queues to user account "opał" 220ms
And Save user details 3s 388ms
And Click edit button in user details page 065ms
Then Verify that the user is assigned the appropriate queues "opał" 067ms
After Hooks.deleteUserAfterTest() 1s 216ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 999ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SORTER_INVITATION" 5s 303ms
And Get invited user account data "automaty@test.pl" 483ms
When Go to "USERS_TAB" 773ms
And Find user "automaty@test.pl" 2s 205ms
Then Verify that the user is assigned the appropriate queues "igla. okrągłe HDS;trociny" 161ms
After Hooks.deleteUserAfterTest() 1s 058ms