Describe the bugFileAttachmentControlTest - sameFile test fails out when using geckodriver and FireFox, due to a sendKeys call when inputting a filepath to an uploader input element.
To Reproduce
Set up the autotest suite to use geckodriver for FireFox testing.
Run FileAttachmentControlTest - sameFile test.
Observe that sameFile fails.
Set up the autotest suite to use chromedriver for Chrome testing.
Run FileAttachmentControlTest - sameFile test again.
Observe that sameFile passes.
Expected behavior
Both tests should be consistent with each other, either both failing or both passing.
Screenshots
Stack Trace
org.openqa.selenium.ElementNotInteractableException: Element <input id="myr_fm_file" type="file"> is not reachable by keyboard
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'Sammy-Dell', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.15.0-43-generic', java.version: '1.8.0_191'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 64.0, javascriptEnabled: true, moz:accessibilityChecks: false, moz:geckodriverVersion: 0.23.0, moz:headless: false, moz:processID: 12770, moz:profile: /tmp/rust_mozprofile.esC8Vw..., moz:shutdownTimeout: 60000, moz:useNonSpecCompliantPointerOrigin: false, moz:webdriverClick: true, pageLoadStrategy: normal, platform: LINUX, platformName: LINUX, platformVersion: 4.15.0-43-generic, rotatable: false, setWindowRect: true, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify}
Session ID: 50949127-a73f-4a38-a455-37c027afa97c
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285)
at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:106)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.tle.webtests.framework.factory.RefreshingElementHandler$1.apply(RefreshingElementHandler.java:65)
...
Describe the bug
FileAttachmentControlTest - sameFile
test fails out when using geckodriver and FireFox, due to asendKeys
call when inputting a filepath to an uploader input element.To Reproduce
FileAttachmentControlTest - sameFile
test.sameFile
fails.FileAttachmentControlTest - sameFile
test again.sameFile
passes.Expected behavior Both tests should be consistent with each other, either both failing or both passing.
Screenshots
Stack Trace
Platform: