XRDDEV-2546: Packaging fixes for RHEL #568
Central Server system test ❌
❌ src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
119 tests were completed in 1088s with 81 passed, 38 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest | 81✅ | 38❌ | 1088s |
❌ org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest
✅ Central server repeat PIN field shows check-mark only when it matches with PIN prompt
✅ Submit enabled only when all fields are filled
✅ Example #1.1
✅ Example #1.2
✅ Example #1.3
✅ Central server is successfully initialized
✅ Correct password and username grant access
✅ Invalid password is rejected
✅ Invalid username is rejected
❌ Multiple member classes are created and present in the list
Element should be visible {By.xpath: //div[@data-test='login-password-input']/By.xpath: .//input}
✅ Member Class description can be modified
✅ Member Class can be deleted
✅ Global group is added and listed
✅ System Parameters is present and can be edited
✅ API key creation wizard is working and key is created
✅ API key is created and revoked
✅ API key is created and edited
✅ User can only assign roles they have when creating/editing API key
❌ Member detail info is correctly shown
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
❌ Is able to change the name of the member
Element not found {By.xpath: //div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail')]}
❌ Is able to delete the member and deleting the member requires the user to input the member code
Element not found {By.xpath: //div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail Other')]}
❌ Search for member with long name
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
❌ The Subsystems table are correctly shown
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
❌ The subsystem can be added by code and the added subsystem immediately appears in the table
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
❌ Can be delete an unregistered subsystem
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
✅ Initial management services configuration is displayed
❌ Registering management service provider
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
❌ Member or subsystem cannot be added to server owner group
Element not found {By.xpath: //div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]}
❌ Member and subsystem can be added to non owner group
Element not found {By.xpath: //div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]}
❌ Added members are filter out from member candidates list
Element should have text "2" {By.xpath: //article[@data-test='global-resources-view']//span[@data-test='member-count']}
❌ User can filter member candidates
Element should have text "2" {By.xpath: //article[@data-test='global-resources-view']//span[@data-test='member-count']}
❌ Selection is preserved while filtering
Element should have text "2" {By.xpath: //article[@data-test='global-resources-view']//span[@data-test='member-count']}
❌ Group members can be deleted
Element should have text "4" {By.xpath: //article[@data-test='global-resources-view']//span[@data-test='member-count']}
✅ Add certification service
✅ Delete certification service
✅ View certification service details
✅ View and change certification service settings
✅ Intermediate CA can be added
✅ Intermediate CA list is correctly shown
✅ Intermediate CA can be delete in list
✅ Intermediate CA details can be viewed
✅ Intermediate CA OCSP responder can be added
✅ Intermediate CA OCSP responders list is correctly shown
✅ Intermediate CA OCSP responder can be edit in list
✅ Intermediate CA OCSP responder can be delete in list
✅ OCSP responder can be added
✅ OCSP responders list is correctly shown
✅ OCSP responder can be edit in list
✅ OCSP responder can be delete in list
✅ Add timestamping service
✅ Timestamping services list is correctly shown
✅ Timestamping service can be edit in list
✅ Timestamping service can be delete in list
✅ Add Key is disabled on logged-out token
✅ User can add only 2 signings keys after token log-in
✅ User can activate signing key
✅ User can't delete or activate signing key on logged out token
✅ User can delete signing key
✅ User logs out token and can not re-add signing key
✅ Add Key is disabled on logged-out token
✅ User can add only 2 signings keys after token log-in
✅ User can activate signing key
✅ User can't delete or activate signing key on logged out token
✅ User can delete signing key
✅ User logs out token and can not re-add signing key
✅ User can recreate anchor
✅ User can download anchor
✅ Anchor is updated if new signing key is added
✅ Anchor is updated if signing key is deleted
✅ User can recreate anchor
✅ User can download anchor
✅ Anchor is updated if new signing key is added
✅ Anchor is updated if signing key is deleted
❌ Example #1.1
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a org.niis.xroad.cs.test.ui.glue.GlobalConfigurationStepDefs
✅ Example #1.1
❌ Example #1.1
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a org.niis.xroad.cs.test.ui.glue.GlobalConfigurationStepDefs
❌ Example #1.2
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a org.niis.xroad.cs.test.ui.glue.GlobalConfigurationStepDefs
✅ Example #1.1
✅ Example #1.2
✅ Example #1.1
✅ Example #1.2
✅ Example #1.3
✅ Example #1.1
✅ Example #1.2
✅ Example #1.3
✅ User can upload trusted anchor
✅ User can download trusted anchor
✅ User can delete trusted anchor
✅ Management Service TLS certificate is visible and all buttons are enabled
✅ Management Service TLS certificate can be viewed
✅ Management Service TLS certificate can be downloaded
✅ Management Service TLS key and certificate can be re-created
✅ Management Service TLS certificate sign request can be generated
✅ Management Service TLS certificate with different key can't be uploaded
❌ User Approves Management Request
feign.FeignException$NotFound: [404 ] during [POST] to [https://localhost:4000/api/v1/management-requests] [FeignManagementRequestsApi#addManagementRequest(ManagementRequestDto)]: [{"status":404,"error":{"code":"management_request_server_owner_not_found","validation_errors":{}}}]
❌ User Declines Management Request
feign.FeignException$NotFound: [404 ] during [POST] to [https://localhost:4000/api/v1/management-requests] [FeignManagementRequestsApi#addManagementRequest(ManagementRequestDto)]: [{"status":404,"error":{"code":"management_request_server_owner_not_found","validation_errors":{}}}]
❌ User views Details and Approves pending Management Request
feign.FeignException$Conflict: [409 ] during [POST] to [https://localhost:4000/api/v1/management-requests] [FeignManagementRequestsApi#addManagementRequest(ManagementRequestDto)]: [{"status":409,"error":{"code":"management_request_server_not_found","metadata":["MEMBER:CS-E2E/E2E-TC1/e2e-tc1-member-subsystem"],"validation_errors":{}}}]
❌ User views Details and Decline pending Management Request
feign.FeignException$NotFound: [404 ] during [POST] to [https://localhost:4000/api/v1/management-requests] [FeignManagementRequestsApi#addManagementRequest(ManagementRequestDto)]: [{"status":404,"error":{"code":"management_request_server_owner_not_found","validation_errors":{}}}]
✅ Verify sorting functionality in Management Requests table
❌ Search for pending Management Requests based on Free Text in Visible Columns
feign.FeignException$NotFound: [404 ] during [POST] to [https://localhost:4000/api/v1/management-requests] [FeignManagementRequestsApi#addManagementRequest(ManagementRequestDto)]: [{"status":404,"error":{"code":"management_request_server_owner_not_found","validation_errors":{}}}]
❌ Search for Management Requests based on Free Text in Visible Columns
Element not found {By.xpath: //div[@data-test='management-requests-table']//table/By.xpath: ./tbody/tr/td/div[contains(text(), 'CS-E2E:E2E-TC1:e2e-tc2-member-subsystem:E2E-SS2')]}
❌ User Approves Management Request for additional authentication certificate
feign.FeignException$NotFound: [404 ] during [POST] to [https://localhost:4000/api/v1/management-requests] [FeignManagementRequestsApi#addManagementRequest(ManagementRequestDto)]: [{"status":404,"error":{"code":"management_request_server_owner_not_found","validation_errors":{}}}]
❌ User Approves Management Request for adding another security server
feign.FeignException$NotFound: [404 ] during [POST] to [https://localhost:4000/api/v1/management-requests] [FeignManagementRequestsApi#addManagementRequest(ManagementRequestDto)]: [{"status":404,"error":{"code":"management_request_server_owner_not_found","validation_errors":{}}}]
❌ User Approves Management Request for adding another client to security server
feign.FeignException$Conflict: [409 ] during [POST] to [https://localhost:4000/api/v1/management-requests] [FeignManagementRequestsApi#addManagementRequest(ManagementRequestDto)]: [{"status":409,"error":{"code":"management_request_server_not_found","metadata":["MEMBER:CS-E2E/E2E-TC1/e2e-tc1-member-subsystem"],"validation_errors":{}}}]
❌ Management service provider can be registered
Element should have text "SUBSYSTEM:CS-E2E:E2E-TC1:e2e-member-management:e2e-sub-management" {By.xpath: //td[@data-test='management-service-provider-identifier-field']}
❌ Example #1.1
Element not found {By.xpath: //div[@data-test='security-servers-view']//table//tbody//tr//td//div[contains(text(), 'E2E-SS1')]}
❌ User can change security server address
Element not found {By.xpath: //div[@data-test='security-servers-view']//table//tbody//tr//td//div[contains(text(), 'E2E-SS1')]}
❌ User can delete security server
Element not found {By.xpath: //div[@data-test='security-servers-view']//table//tbody//tr//td//div[contains(text(), 'E2E-SS3')]}
❌ Security server authentication certificates for "SS-X" are listed
Element not found {By.xpath: //div[@data-test='security-servers-view']//table//tbody//tr//td//div[contains(text(), 'E2E-SS1')]}
❌ Security server clients can be sorted by subsystem
Element not found {By.xpath: //div[@data-test='security-servers-view']//table//tbody//tr//td//div[contains(text(), 'E2E-SS1')]}
❌ Example #1.1
Element not found {By.xpath: //div[@data-test='security-servers-view']//table//tbody//tr//td//div[contains(text(), 'E2E-SS1')]}
❌ Example #1.2
Element not found {By.xpath: //div[@data-test='security-servers-view']//table//tbody//tr//td//div[contains(text(), 'E2E-SS1')]}
❌ Security server authentication certificates can be sorted
Element not found {By.xpath: //div[@data-test='security-servers-view']//table//tbody//tr//td//div[contains(text(), 'E2E-SS1')]}
❌ Security server authentication certificate can be deleted
Element not found {By.xpath: //div[@data-test='security-servers-view']//table//tbody//tr//td//div[contains(text(), 'E2E-SS1')]}
❌ Navigate from member details to Security Server details and back
Element not found {By.xpath: //div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E TC1 Member with Subsystems')]}
✅ Configuration can be backed up and deleted
✅ Configuration backup can be downloaded and uploaded
✅ Already existing configuration backup is overwritten on upload
✅ Configuration can be restored from backup
Annotations
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► Multiple member classes are created and present in the list
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element should be visible {By.xpath: //div[@data-test='login-password-input']/By.xpath: .//input}
Raw output
Element should be visible {By.xpath: //div[@data-test='login-password-input']/By.xpath: .//input}
Element: '<input aria-describedby="password-messages" class="v-field__input" id="password" name="password" size="1" type="password" displayed:false></input>'
Actual value: hidden
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479836038.0.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479836038.0.html
Timeout: 10 s.
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:149)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:30)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:14)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.shouldBe(Unknown Source)
at app//org.niis.xroad.common.test.ui.utils.VuetifyHelper$TextField.setValue(VuetifyHelper.java:132)
at app//org.niis.xroad.cs.test.ui.glue.LoginStepDefs.doLogin(LoginStepDefs.java:58)
at ✽.User xrd logs in to CentralServer with password secret(classpath:behavior/ui/0300-cs-settings-member-classes.feature:8)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► Member detail info is correctly shown
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Raw output
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Expected: clickable: interactable and enabled
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479877418.1.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479877418.1.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at ✽.A new member with name: E2E Test Member Detail, code: e2e-test-member-detail & member class: E2E-TC1 is added(classpath:behavior/ui/0400-cs-members.feature:12)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► Is able to change the name of the member
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail')]}
Raw output
Element not found {By.xpath: //div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail')]}
Expected: clickable: interactable and enabled
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479889318.2.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479889318.2.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail')]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsSelected(MemberStepDefs.java:43)
at ✽.Member E2E Test Member Detail is selected(classpath:behavior/ui/0400-cs-members.feature:20)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail')]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail')]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsSelected(MemberStepDefs.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► Is able to delete the member and deleting the member requires the user to input the member code
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail Other')]}
Raw output
Element not found {By.xpath: //div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail Other')]}
Expected: clickable: interactable and enabled
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479901205.3.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479901205.3.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail Other')]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsSelected(MemberStepDefs.java:43)
at ✽.Member E2E Test Member Detail Other is selected(classpath:behavior/ui/0400-cs-members.feature:26)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail Other')]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@data-test='members-table']//table//tbody//tr//td//div[contains(text(), 'E2E Test Member Detail Other')]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsSelected(MemberStepDefs.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► Search for member with long name
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Raw output
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Expected: clickable: interactable and enabled
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479913748.4.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479913748.4.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at ✽.A new member with name: the-name-is-longer-than-twenty-five-characters, code: long-name-code & member class: E2E-TC1 is added(classpath:behavior/ui/0400-cs-members.feature:31)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► The Subsystems table are correctly shown
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Raw output
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Expected: clickable: interactable and enabled
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479926344.5.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479926344.5.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at ✽.A new member with name: E2E TC1 Member with Subsystems, code: e2e-tc1-member-subsystem & member class: E2E-TC1 is added(classpath:behavior/ui/0450-cs-member-subsystems.feature:12)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► The subsystem can be added by code and the added subsystem immediately appears in the table
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Raw output
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Expected: clickable: interactable and enabled
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479938889.6.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479938889.6.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at ✽.A new member with name: E2E TC2 Member with Subsystems, code: e2e-tc2-member-subsystem & member class: E2E-TC1 is added(classpath:behavior/ui/0450-cs-member-subsystems.feature:19)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► Can be delete an unregistered subsystem
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Raw output
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Expected: clickable: interactable and enabled
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479951476.7.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479951476.7.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at ✽.A new member with name: E2E TC3 Member with Subsystems, code: e2e-tc3-member-subsystem & member class: E2E-TC1 is added(classpath:behavior/ui/0450-cs-member-subsystems.feature:29)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► Registering management service provider
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Raw output
Element not found {By.xpath: //div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}
Expected: clickable: interactable and enabled
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479965850.8.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479965850.8.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at ✽.A new member with name: E2E Management Member, code: e2e-member-management & member class: E2E-TC1 is added(classpath:behavior/ui/0460-cs-management-service-provider-registration.feature:22)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@role='listbox']//div[contains(@class, 'v-list-item') and contains(./descendant-or-self::*/text(),'E2E-TC1')]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsClickable(WebElementSource.java:173)
at app//com.codeborne.selenide.commands.Click.findElement(Click.java:46)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:28)
at app//com.codeborne.selenide.commands.Click.execute(Click.java:21)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.click(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.MemberStepDefs.memberIsAdded(MemberStepDefs.java:54)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► Member or subsystem cannot be added to server owner group
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]}
Raw output
Element not found {By.xpath: //div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]}
Expected: exist
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479978334.9.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479978334.9.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:139)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:30)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:14)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.shouldBe(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.GlobalGroupDetailsStepDefs.selectMember(GlobalGroupDetailsStepDefs.java:78)
at ✽.user selects members:(classpath:behavior/ui/0480-cs-global-group-members.feature:15)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:139)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:30)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:14)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.shouldBe(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.GlobalGroupDetailsStepDefs.selectMember(GlobalGroupDetailsStepDefs.java:78)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
at app//org.niis.xroad.cs.test.ui.glue.GlobalGroupDetailsStepDefs.selectMember(GlobalGroupDetailsStepDefs.java:72)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / Central Server system test
org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest ► Member and subsystem can be added to non owner group
Failed test found in:
src/central-server/admin-service/ui-system-test/build/test-results/systemTest/TEST-org.niis.xroad.cs.test.ui.CentralServerUiBehavioralTest.xml
Error:
Element not found {By.xpath: //div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]}
Raw output
Element not found {By.xpath: //div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]}
Expected: exist
Screenshot: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479990708.10.png
Page source: file:/home/runner/work/X-Road/X-Road/src/central-server/admin-service/ui-system-test/build/reports/test-automation/selenide-failures/1702479990708.10.html
Timeout: 10 s.
Caused by: NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]"}
at app//com.codeborne.selenide.impl.WebElementSource.createElementNotFoundError(WebElementSource.java:91)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:142)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:139)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:30)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:14)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.shouldBe(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.GlobalGroupDetailsStepDefs.selectMember(GlobalGroupDetailsStepDefs.java:78)
at ✽.user selects members:(classpath:behavior/ui/0480-cs-global-group-members.feature:27)
Caused by: org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]"}
(Session info: chrome=120.0.6099.71)
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception
Build info: version: '4.15.0', revision: '1d14b5521b'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1018-azure', java.version: '17.0.9'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [a3ce851c8bc123f2f7c1a6700928a340, findElement {using=xpath, value=//div[@data-test='select-members-list']//tr[.//span[@data-test='instance' and contains(text(), 'CS-E2E')] and .//span[@data-test='class' and contains(text(), 'E2E-TC1')]and .//span[@data-test='code' and contains(text(), 'e2e-tc2-member-subsystem')]and .//span[@data-test='subsystem' and contains(text(), 'e2e-tc2-subsystem')]]}]
Capabilities {acceptInsecureCerts: true, browserName: chrome, browserVersion: 120.0.6099.71, chrome: {chromedriverVersion: 120.0.6099.71 (9729082fe617..., userDataDir: /tmp/.org.chromium.Chromium...}, fedcm:accounts: true, goog:chromeOptions: {debuggerAddress: localhost:44015}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: linux, proxy: Proxy(manual, http=127.0.0...., se:cdp: ws://localhost:44015/devtoo..., se:cdpVersion: 120.0.6099.71, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: accept, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:extension:minPinLength: true, webauthn:extension:prf: true, webauthn:virtualAuthenticators: true}
Session ID: a3ce851c8bc123f2f7c1a6700928a340
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at [email protected]/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)
at app//org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)
at app//org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:200)
at app//org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:175)
at app//org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:607)
at app//org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)
at app//org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:364)
at app//org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:358)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:70)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:44)
at app//com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:33)
at app//com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:122)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:116)
at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
at app//com.codeborne.selenide.impl.ElementFinder.createElementNotFoundError(ElementFinder.java:139)
at app//com.codeborne.selenide.impl.WebElementSource.handleError(WebElementSource.java:143)
at app//com.codeborne.selenide.impl.WebElementSource.checkConditionAndReturnElement(WebElementSource.java:127)
at app//com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:104)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:30)
at app//com.codeborne.selenide.commands.Should.execute(Should.java:14)
at app//com.codeborne.selenide.commands.Commands.execute(Commands.java:161)
at app//com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:132)
at app//com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:84)
at app/jdk.proxy3/jdk.proxy3.$Proxy152.shouldBe(Unknown Source)
at app//org.niis.xroad.cs.test.ui.glue.GlobalGroupDetailsStepDefs.selectMember(GlobalGroupDetailsStepDefs.java:78)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092)
at app//org.niis.xroad.cs.test.ui.glue.GlobalGroupDetailsStepDefs.selectMember(GlobalGroupDetailsStepDefs.java:72)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:568)
at app//io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at app//io.cucumber.java.Invoker.invoke(Invoker.java:24)
at app//io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at app//io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at app//io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at app//io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at app//io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at app//io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at app//io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at app//io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at app//io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at app//io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.lambda$runTestCase$4(CucumberEngineExecutionContext.java:112)
at app//io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at app//io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at app//io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at app//io.cucumber.junit.platform.engine.CucumberEngineExecutionContext.runTestCase(CucumberEngineExecutionContext.java:109)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:168)
at app//io.cucumber.junit.platform.engine.NodeDescriptor$PickleDescriptor.execute(NodeDescriptor.java:90)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)