Skip to content

Test fixes for Selenium, Playwright, and Accessiblity #510

Test fixes for Selenium, Playwright, and Accessiblity

Test fixes for Selenium, Playwright, and Accessiblity #510

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / openmaqs-cucumber Test Results failed Oct 31, 2023 in 1s

20 passed, 1 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.BaseCucumberTestNGUnitTest.xml 5✔️ 839ms
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.BaseGenericCucumberUnitTest.xml 1✔️ 6ms
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.BaseSeleniumCucumberUnitTest.xml 1✔️ 28ms
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.BaseWebServiceCucumberUnitTest.xml 1✔️ 21ms
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.ScenarioContextUnitTest.xml 3✔️ 2ms
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.steps.BaseGenericStepUnitTest.xml 2✔️ 61ms
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.steps.BaseSeleniumStepUnitTest.xml 2✔️ 13s
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.steps.BaseWebServiceStepUnitTest.xml 2✔️ 1s
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-TestRunnerGeneric.xml 1✔️ 435ms
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-TestRunnerSelenium.xml 1✔️ 1❌ 14s
openmaqs-cucumber/target/surefire-reports/junitreports/TEST-TestRunnerWebService.xml 1✔️ 3s

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.BaseCucumberTestNGUnitTest.xml

5 tests were completed in 839ms with 5 passed, 0 failed and 0 skipped.

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.BaseGenericCucumberUnitTest.xml

1 tests were completed in 6ms with 1 passed, 0 failed and 0 skipped.

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.BaseSeleniumCucumberUnitTest.xml

1 tests were completed in 28ms with 1 passed, 0 failed and 0 skipped.

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.BaseWebServiceCucumberUnitTest.xml

1 tests were completed in 21ms with 1 passed, 0 failed and 0 skipped.

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.ScenarioContextUnitTest.xml

3 tests were completed in 2ms with 3 passed, 0 failed and 0 skipped.

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.steps.BaseGenericStepUnitTest.xml

2 tests were completed in 61ms with 2 passed, 0 failed and 0 skipped.

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.steps.BaseSeleniumStepUnitTest.xml

2 tests were completed in 13s with 2 passed, 0 failed and 0 skipped.

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-io.github.openmaqs.cucumber.steps.BaseWebServiceStepUnitTest.xml

2 tests were completed in 1s with 2 passed, 0 failed and 0 skipped.

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-TestRunnerGeneric.xml

1 tests were completed in 435ms with 1 passed, 0 failed and 0 skipped.

❌ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-TestRunnerSelenium.xml

2 tests were completed in 14s with 1 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
TestRunnerSelenium 1✔️ 1❌ 14s

❌ TestRunnerSelenium

❌ runScenario
	io.github.openmaqs.selenium.exceptions.WebDriverFactoryException: Failed to initial web driver because: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114

✔️ openmaqs-cucumber/target/surefire-reports/junitreports/TEST-TestRunnerWebService.xml

1 tests were completed in 3s with 1 passed, 0 failed and 0 skipped.

Annotations

Check failure on line 86 in openmaqs-selenium/src/main/java/io/github/openmaqs/selenium/WebDriverFactory.java

See this annotation in the file changed.

@github-actions github-actions / openmaqs-cucumber Test Results

TestRunnerSelenium ► runScenario

Failed test found in:
  openmaqs-cucumber/target/surefire-reports/junitreports/TEST-TestRunnerSelenium.xml
Error:
        io.github.openmaqs.selenium.exceptions.WebDriverFactoryException: Failed to initial web driver because: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114
Raw output
      io.github.openmaqs.selenium.exceptions.WebDriverFactoryException: Failed to initial web driver because: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 118.0.5993.117 with binary path /usr/bin/google-chrome 
Host info: host: 'fv-az313-782', ip: '10.1.0.54'
Build info: version: '4.14.0', revision: 'e5a96349ce'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1015-azure', java.version: '11.0.21'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--test-type, --disable-web-security, --allow-running-insecure-co..., --disable-extensions, --no-sandbox, --headless, --remote-allow-origins=*, window-size=1024,768], extensions: []}}]}] 
This likely means your web driver is missing, unsupported or out of date.
at io.github.openmaqs.selenium.WebDriverFactory.getBrowserWithDefaultConfiguration(WebDriverFactory.java:86)
at io.github.openmaqs.selenium.WebDriverFactory.getDefaultBrowser(WebDriverFactory.java:48)
at io.github.openmaqs.selenium.BaseSeleniumTest.getBrowser(BaseSeleniumTest.java:71)
at io.github.openmaqs.selenium.BaseSeleniumTest.lambda$createNewTestObject$0(BaseSeleniumTest.java:80)
at io.github.openmaqs.base.DriverManager.getBase(DriverManager.java:79)
at io.github.openmaqs.selenium.SeleniumDriverManager.getWebDriver(SeleniumDriverManager.java:74)
at io.github.openmaqs.selenium.SeleniumTestObject.getWebDriver(SeleniumTestObject.java:47)
at io.github.openmaqs.cucumber.steps.BaseSeleniumStep.getDriver(BaseSeleniumStep.java:23)
at stepdefs.selenium.SeleniumSteps.Step(SeleniumSteps.java:14)
at ✽.Selenium Step(file:///home/runner/work/openmaqs-java/openmaqs-java/openmaqs-cucumber/src/test/resources/selenium/SeleniumSample.feature:3)
Caused by: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: session not created: This version of ChromeDriver only supports Chrome version 114
Current browser version is 118.0.5993.117 with binary path /usr/bin/google-chrome 
Host info: host: 'fv-az313-782', ip: '10.1.0.54'
Build info: version: '4.14.0', revision: 'e5a96349ce'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '6.2.0-1015-azure', java.version: '11.0.21'
Driver info: org.openqa.selenium.chrome.ChromeDriver
Command: [null, newSession {capabilities=[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--test-type, --disable-web-security, --allow-running-insecure-co..., --disable-extensions, --no-sandbox, --headless, --remote-allow-origins=*, window-size=1024,768], extensions: []}}]}]
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:140)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:96)
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:68)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163)
at org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:196)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:171)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:602)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:163)
at org.openqa.selenium.chromium.ChromiumDriver.<init>(ChromiumDriver.java:108)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:88)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:83)
at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:72)
at io.github.openmaqs.selenium.WebDriverFactory.getHeadlessChromeDriver(WebDriverFactory.java:208)
at io.github.openmaqs.selenium.WebDriverFactory.getBrowserWithDefaultConfiguration(WebDriverFactory.java:70)
at io.github.openmaqs.selenium.WebDriverFactory.getDefaultBrowser(WebDriverFactory.java:48)
at io.github.openmaqs.selenium.BaseSeleniumTest.getBrowser(BaseSeleniumTest.java:71)
at io.github.openmaqs.selenium.BaseSeleniumTest.lambda$createNewTestObject$0(BaseSeleniumTest.java:80)
at io.github.openmaqs.base.DriverManager.getBase(DriverManager.java:79)
at io.github.openmaqs.selenium.SeleniumDriverManager.getWebDriver(SeleniumDriverManager.java:74)
at io.github.openmaqs.selenium.SeleniumTestObject.getWebDriver(SeleniumTestObject.java:47)
at io.github.openmaqs.cucumber.steps.BaseSeleniumStep.getDriver(BaseSeleniumStep.java:23)
at stepdefs.selenium.SeleniumSteps.Step(SeleniumSteps.java:14)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66)
at io.cucumber.java.Invoker.invoke(Invoker.java:24)
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47)
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29)
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66)
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63)
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10)
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84)
at io.cucumber.core.runner.TestStep.run(TestStep.java:56)
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51)
at io.cucumber.core.runner.TestCase.run(TestCase.java:84)
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75)
at io.cucumber.testng.TestNGCucumberRunner.lambda$runScenario$1(TestNGCucumberRunner.java:132)
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137)
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23)
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137)
at io.cucumber.testng.TestNGCucumberRunner.runScenario(TestNGCucumberRunner.java:129)
at io.cucumber.testng.AbstractTestNGCucumberTests.runScenario(AbstractTestNGCucumberTests.java:35)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139)
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664)
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227)
at org.testng.internal.invokers.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:80)
at org.testng.internal.invokers.TestMethodWithDataProviderMethodWorker.call(TestMethodWithDataProviderMethodWorker.java:17)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)