Project Number Date
ApolloFullRunnerReport 2021.AT1.11 24 Jul 2021, 06:06

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
User 34 4 12 0 0 50 5 4 9 1m 1s 297ms Failed
Feature User
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swisskrono-admin" 1s 124ms
When Edit user by my account 617ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 1s 431ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "piast-admin" 1s 522ms
When Edit user by my account 516ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 949ms
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" 852ms
When Edit user by my account 432ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 830ms
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" 933ms
When Edit user by my account 448ms
And Wait "2" seconds 2s
Then Check if user details are successfully edited by my account tab 974ms
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 843ms
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 395ms
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) 000ms
Given Login as "pla1-carrier" and set token of apiUsername "super-admin-skz" 1s 697ms
When Go to my account details 141ms
Then Verify that user has disabled notification 15s 037ms
Before Hooks.showScenarioName(Scenario) 001ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 1s 013ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SQUARE_MANAGER_INVITATION" 5s 136ms
And Get invited user account data "automaty@test.pl" 476ms
When Go to "USERS_TAB" 972ms
And Find user "automaty@test.pl" 2s 281ms
And Add queues to user account "opał" 232ms
And Save user details 2s 971ms
And Click edit button in user details page 070ms
Then Verify that the user is assigned the appropriate queues "opał" 066ms
After Hooks.deleteUserAfterTest() 1s 015ms
Before Hooks.showScenarioName(Scenario) 000ms
Given Login as "swiss-krono-delivery-admin" and set token of apiUsername "super-admin-skd" 991ms
And Create and accept invitation by JSON file as "super-admin-skd" for "automaty@test.pl" "CREATE_SORTER_INVITATION" 4s 735ms
And Get invited user account data "automaty@test.pl" 469ms
When Go to "USERS_TAB" 765ms
And Find user "automaty@test.pl" 2s 248ms
Then Verify that the user is assigned the appropriate queues "igla. okrągłe HDS;trociny" 113ms
After Hooks.deleteUserAfterTest() 968ms