Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileAttachmentControlTest -> sameFile fails only when using Geckodriver #10

Open
SammyIsConfused opened this issue Jan 2, 2019 · 3 comments
Labels

Comments

@SammyIsConfused
Copy link
Contributor

Describe the bug
FileAttachmentControlTest - 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

  1. Set up the autotest suite to use geckodriver for FireFox testing.
  2. Run FileAttachmentControlTest - sameFile test.
  3. Observe that sameFile fails.
  4. Set up the autotest suite to use chromedriver for Chrome testing.
  5. Run FileAttachmentControlTest - sameFile test again.
  6. Observe that sameFile passes.

Expected behavior
Both tests should be consistent with each other, either both failing or both passing.

Screenshots
image

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)
...

Platform:

  • OpenEquella Version: 2019.1-alpha
  • OS: Ubuntu 18.04.1
  • Browser: Firefox
@edalex-ian
Copy link
Member

Can we close this one now @SammyIsConfused

@SammyIsConfused
Copy link
Contributor Author

@doolse did you ever end up testing this? If not, is there any chance you'd be able to?

@doolse
Copy link
Contributor

doolse commented Jan 6, 2019

@SammyIsConfused Not sure if i did on Friday, will do it now 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants