[
https://issues.apache.org/jira/browse/ARTEMIS-5906?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18060255#comment-18060255
]
ASF subversion and git services commented on ARTEMIS-5906:
----------------------------------------------------------
Commit e8f6cb237dacbea530e13ac1de12c0f59d040a28 in artemis's branch
refs/heads/main from Domenico Francesco Bruscino
[ https://gitbox.apache.org/repos/asf?p=artemis.git;h=e8f6cb237d ]
ARTEMIS-5906 Fix console smoke tests on Firefox
Firefox (GeckoDriver) strictly enforces that elements must be within
the viewport before performing an Actions sequence. A simple .click()
is more robust because the driver handles the scrolling logic
internally.
> Some console smoke tests fail on Firefox
> ----------------------------------------
>
> Key: ARTEMIS-5906
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5906
> Project: Artemis
> Issue Type: Bug
> Reporter: Domenico Francesco Bruscino
> Assignee: Domenico Francesco Bruscino
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Some console smoke tests fail on Firefox with the exeception
> MoveTargetOutOfBoundsException because GeckoDriver (Firefox) strictly adheres
> to the W3C WebDriver standard and refuses to interact with an element if the
> calculated center point falls outside the current viewport height or width.
> {code:java}
> org.openqa.selenium.interactions.MoveTargetOutOfBoundsException: Move target
> (203, 944) is out of bounds of viewport dimensions (1280, 887)
> Build info: version: '4.40.0', revision: 'b3333f1'
> System info: os.name: 'Linux', os.arch: 'amd64', os.version:
> '6.18.7-200.fc43.x86_64', java.version: '21.0.10'
> Driver info: org.openqa.selenium.firefox.FirefoxDriver
> Command: [8e8a35b5-d04c-4b92-95a9-6e4df4bdfaf1, actions
> {actions=[org.openqa.selenium.interactions.Sequence@7fbd3e75]}]
> Capabilities {acceptInsecureCerts: true, browserName: firefox,
> browserVersion: 147.0.2, moz:accessibilityChecks: false, moz:buildID:
> 20260130105716, moz:geckodriverVersion: 0.36.0, moz:headless: false,
> moz:platformVersion: 6.18.7-200.fc43.x86_64, moz:processID: 174232,
> moz:profile: /tmp/rust_mozprofile7frr38, moz:shutdownTimeout: 60000,
> moz:webdriverClick: true, moz:windowless: false, pageLoadStrategy: normal,
> platformName: linux, proxy: Proxy(), setWindowRect: true,
> strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000,
> script: 30000}, unhandledPromptBehavior: dismiss and notify, userAgent:
> Mozilla/5.0 (X11; Linux x86...}
> Session ID: 8e8a35b5-d04c-4b92-95a9-6e4df4bdfaf1
> at org.openqa.selenium.remote.ErrorCodec.decode(ErrorCodec.java:169)
> at
> org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:142)
> at
> org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
> at
> org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:223)
> at
> org.openqa.selenium.remote.service.DriverCommandExecutor.invokeExecute(DriverCommandExecutor.java:216)
> at
> org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:174)
> at
> org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
> at
> org.openqa.selenium.remote.RemoteWebDriver.perform(RemoteWebDriver.java:691)
> at
> org.openqa.selenium.interactions.Actions$BuiltAction.perform(Actions.java:616)
> at org.openqa.selenium.interactions.Actions.perform(Actions.java:581)
> at
> org.apache.activemq.artemis.tests.smoke.console.pages.ArtemisPage.getQueuesPageFromMessageView(ArtemisPage.java:153)
> at
> org.apache.activemq.artemis.tests.smoke.console.QueuesTest.testAutoCreatedQueue(QueuesTest.java:109)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]