Skip to content

Merge pull request #45 from axonivy-market/webtest14 #784

Merge pull request #45 from axonivy-market/webtest14

Merge pull request #45 from axonivy-market/webtest14 #784

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Results failed Dec 7, 2023 in 0s

3 fail, 66 pass in 47s

69 tests   66 ✔️  47s ⏱️
12 suites    0 💤
12 files      3

Results for commit 920c69c.

Annotations

Check warning on line 0 in com.axonivy.utils.persistence.webtest.WebTestDemoIT

See this annotation in the file changed.

@github-actions github-actions / Test Results

testAddNewDepartment(WebAppFixture) (com.axonivy.utils.persistence.webtest.WebTestDemoIT) failed

persistence-utils-demo-webtest/target/failsafe-reports/TEST-com.axonivy.utils.persistence.webtest.WebTestDemoIT.xml [took 11s]
Raw output
Element not found {By.name: profileForm:contentLanguage_editableInput}
Expected: enabled
Screenshot: file:/home/runner/work/persistence-utils/persistence-utils/persistence-utils-demo-webtest/target/selenide/reports/com.axonivy.utils.persistence.webtest.WebTestDemoIT/testAddNewDepartment/1701984652801.0.png
Page source: file:/home/runner/work/persistence-utils/persistence-utils/persistence-utils-demo-webtest/target/selenide/reports/com.axonivy.utils.persistence.webtest.WebTestDemoIT/testAddNewDepartment/1701984652801.0.html
Timeout: 4 s.
Caused by: NoSuchElementException: Unable to locate element: *[name='profileForm:contentLanguage_editableInput']
	at com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
	at com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
	at com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
	at com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
	at com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
	at com.codeborne.selenide.commands.Should.execute(Should.java:30)
	at com.codeborne.selenide.commands.Should.execute(Should.java:14)
	at com.codeborne.selenide.commands.Commands.execute(Commands.java:165)
	at com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
	at com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
	at jdk.proxy2/jdk.proxy2.$Proxy30.shouldBe(Unknown Source)
	at com.axonivy.utils.persistence.webtest.WebTestDemoIT.startLoginAsAdmin(WebTestDemoIT.java:189)
	at com.axonivy.utils.persistence.webtest.WebTestDemoIT.testAddNewDepartment(WebTestDemoIT.java:57)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)
Caused by: org.openqa.selenium.NoSuchElementException: Unable to locate element: *[name='profileForm:contentLanguage_editableInput']
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.13.0', revision: 'ba948ece5b*'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '5.15.0-1051-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Command: [f08a5691-d334-4a94-aa5b-63c145a74e4c, findElement {using=name, value=profileForm:contentLanguage_editableInput}]
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 120.0, moz:accessibilityChecks: false, moz:buildID: 20231116134553, moz:debuggerAddress: 127.0.0.1:28591, moz:geckodriverVersion: 0.33.0, moz:headless: true, moz:platformVersion: 5.15.0-1051-azure, moz:processID: 2739, moz:profile: /tmp/rust_mozprofilef5VxkB, moz:shutdownTimeout: 60000, moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(), se:cdp: ws://127.0.0.1:28591/devtoo..., se:cdpVersion: 85.0, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept}
Session ID: f08a5691-d334-4a94-aa5b-63c145a74e4c
	at jdk.internal.reflect.GeneratedConstructorAccessor18.newInstance(Unknown Source)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:196)
	at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:171)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:602)
	at org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
	at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:359)
	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:353)
	at com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
	at com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
	at com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
	at com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
	at com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
	... 79 more

Check warning on line 0 in com.axonivy.utils.persistence.webtest.WebTestDemoIT

See this annotation in the file changed.

@github-actions github-actions / Test Results

testEditDepartment (com.axonivy.utils.persistence.webtest.WebTestDemoIT) failed

persistence-utils-demo-webtest/target/failsafe-reports/TEST-com.axonivy.utils.persistence.webtest.WebTestDemoIT.xml [took 5s]
Raw output
Element should have text "Marketing234726303" {By.id: mainForm:departmentTable_data}
Element: '<tbody class="ui-datatable-data ui-widget-content" id="mainForm:departmentTable_data">No records found.</tbody>'
Actual value: text="No records found."
Screenshot: file:/home/runner/work/persistence-utils/persistence-utils/persistence-utils-demo-webtest/target/selenide/reports/com.axonivy.utils.persistence.webtest.WebTestDemoIT/testEditDepartment/1701984658841.1.png
Page source: file:/home/runner/work/persistence-utils/persistence-utils/persistence-utils-demo-webtest/target/selenide/reports/com.axonivy.utils.persistence.webtest.WebTestDemoIT/testEditDepartment/1701984658841.1.html
Timeout: 4 s.
	at com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:149)
	at com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
	at com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
	at com.codeborne.selenide.commands.Should.execute(Should.java:30)
	at com.codeborne.selenide.commands.Should.execute(Should.java:14)
	at com.codeborne.selenide.commands.Commands.execute(Commands.java:165)
	at com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
	at com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
	at jdk.proxy2/jdk.proxy2.$Proxy30.shouldHave(Unknown Source)
	at com.axonivy.utils.persistence.webtest.WebTestDemoIT.testEditDepartment(WebTestDemoIT.java:68)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)

Check warning on line 0 in com.axonivy.utils.persistence.webtest.WebTestDemoIT

See this annotation in the file changed.

@github-actions github-actions / Test Results

testDeleteDepartment (com.axonivy.utils.persistence.webtest.WebTestDemoIT) failed

persistence-utils-demo-webtest/target/failsafe-reports/TEST-com.axonivy.utils.persistence.webtest.WebTestDemoIT.xml [took 4s]
Raw output
Element should have text "Marketing234726303" {By.id: mainForm:departmentTable_data}
Element: '<tbody class="ui-datatable-data ui-widget-content" id="mainForm:departmentTable_data">No records found.</tbody>'
Actual value: text="No records found."
Screenshot: file:/home/runner/work/persistence-utils/persistence-utils/persistence-utils-demo-webtest/target/selenide/reports/com.axonivy.utils.persistence.webtest.WebTestDemoIT/testDeleteDepartment/1701984663074.2.png
Page source: file:/home/runner/work/persistence-utils/persistence-utils/persistence-utils-demo-webtest/target/selenide/reports/com.axonivy.utils.persistence.webtest.WebTestDemoIT/testDeleteDepartment/1701984663074.2.html
Timeout: 4 s.
	at com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:149)
	at com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
	at com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
	at com.codeborne.selenide.commands.Should.execute(Should.java:30)
	at com.codeborne.selenide.commands.Should.execute(Should.java:14)
	at com.codeborne.selenide.commands.Commands.execute(Commands.java:165)
	at com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
	at com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
	at jdk.proxy2/jdk.proxy2.$Proxy30.shouldHave(Unknown Source)
	at com.axonivy.utils.persistence.webtest.WebTestDemoIT.testDeleteDepartment(WebTestDemoIT.java:88)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.base/java.lang.reflect.Method.invoke(Method.java:568)
	at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:725)
	at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
	at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140)
	at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84)
	at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
	at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104)
	at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:214)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:210)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:135)
	at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:66)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
	at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
	at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
	at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
	at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
	at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:107)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67)
	at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:114)
	at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:86)
	at org.junit.platform.launcher.core.DefaultLauncherSession$DelegatingLauncher.execute(DefaultLauncherSession.java:86)
	at org.apache.maven.surefire.junitplatform.LazyLauncher.execute(LazyLauncher.java:56)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.execute(JUnitPlatformProvider.java:184)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invokeAllTests(JUnitPlatformProvider.java:148)
	at org.apache.maven.surefire.junitplatform.JUnitPlatformProvider.invoke(JUnitPlatformProvider.java:122)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:385)
	at org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:162)
	at org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:507)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:495)

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

69 tests found

There are 69 tests, see "Raw output" for the full list of tests.
Raw output
com.axonivy.utils.persistence.test.dao.Aps156Test ‑ test1
com.axonivy.utils.persistence.test.dao.Aps86And87Test ‑ test1
com.axonivy.utils.persistence.test.dao.Aps86And87Test ‑ test2
com.axonivy.utils.persistence.test.dao.CarDAOTest ‑ testSyntax
com.axonivy.utils.persistence.test.dao.DepartmentDAOTest ‑ testData
com.axonivy.utils.persistence.test.dao.GenericDAOTest ‑ testAPS148
com.axonivy.utils.persistence.test.dao.HistorizedPersonDAOTest ‑ testHistory
com.axonivy.utils.persistence.test.dao.PersonDAOTest ‑ testLoadPermissions(AppFixture)
com.axonivy.utils.persistence.test.dao.PersonDAOTest ‑ testLoadTestdata
com.axonivy.utils.persistence.test.dao.PersonDAOTest ‑ testSearch
com.axonivy.utils.persistence.test.dao.PersonDAOTest ‑ testSearchIndividual
com.axonivy.utils.persistence.test.dao.PersonDAOTest ‑ testTransactions
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testDeletePhysicallyRawByCriteria
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testDeleteProducer
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testDeleteWithoutAuditing
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testFindByCriteria
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testFindByExampleWithParameter
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testFindByExampleWithParameterLike
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testFindByExampleWithParameterOrLike
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testFindByExampleWithParameterOrLikeIsAscending
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testFindByExampleWithParameterOrLikeIsAscendingIndexNumber
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testFindByIds
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testFindPermittedByEntityIds
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testFirstFindByExample
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testSaveWithoutAuditing
com.axonivy.utils.persistence.test.dao.ProducerDAOTest ‑ testUndelete
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testCountByCriteria
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testCountBySearchFilter
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testCountBySearchFilterProductWithEmptyData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testCountBySearchFilterProductWithNullData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testDeleteAllProduct
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testDeleteAllProductWithEmptyData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testDeleteAllProductWithNullData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testDeleteProduct
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testDeleteProductWithEmptyData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testDeleteProductWithNullData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testDeleteWithoutAuditing
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindAllProductWithEmptyData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindAllProductWithMarkerActive
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindAllProductWithMarkerAll
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindAllProductWithMarkerDelete
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindAllProductWithNullData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindByCriteria
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindEmptyProductWithEmptyQuerySettings
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindEmptyProductWithNullQuerySettings
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindEmptyProductWithQuerySettings
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindProduct
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindProductByIdInternal
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindProductBySearchFilterWithQuerySettings
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindProductWithEmptyData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindProductWithNullData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testFindProductWithQuerySettings
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testSaveProduct
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testSaveProductWithEmptyData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testSaveProductWithNullData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testSaveProducts
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testSaveProductsWithEmptyData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testSaveProductsWithNullData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testSearchFilterProduct
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testSearchFilterProductWithNullData
com.axonivy.utils.persistence.test.dao.ProductDAOTest ‑ testSearchFilterProductWithSpecificData
com.axonivy.utils.persistence.test.dao.SearchFilterTest ‑ testSearchSortingWithoutResultField
com.axonivy.utils.persistence.validation.ValidationTest ‑ testMixedGroups(AppFixture)
com.axonivy.utils.persistence.webtest.WebTestDemoIT ‑ testAddNewDepartment(WebAppFixture)
com.axonivy.utils.persistence.webtest.WebTestDemoIT ‑ testAddNewPerson
com.axonivy.utils.persistence.webtest.WebTestDemoIT ‑ testDeleteDepartment
com.axonivy.utils.persistence.webtest.WebTestDemoIT ‑ testDeletePerson
com.axonivy.utils.persistence.webtest.WebTestDemoIT ‑ testEditDepartment
com.axonivy.utils.persistence.webtest.WebTestDemoIT ‑ testEditPerson