-
Notifications
You must be signed in to change notification settings - Fork 203
Re-land "Handle two sizes images" feature #1271
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
Comments
cf. #1266 |
Ah, here's the culprit: https://github.com/karlcow/webcompat.com/blob/144bf43c449ba9ebcbb28f2284a1251e80866110/webcompat/static/js/lib/bugform.js#L405 We need to pass in the entire response on upload success, not just the URL. |
Found the culprit for the bugform ah and you pointed it too in |
hmmm functional tests…
grmph. |
With Firefox 50 Let's try with a newer version of Selenium
ahaha
let's see
Let's continue https://www.java.com/en/download/mac_download.jsp And the path has changed…
Let's try
yeah! ok back to functional tests.
Still no luck |
I wonder if @andreastt knows how to get it work. I'm at loss.
one with
one with
one with
And I can't make the tests execute.
|
You don’t say what error you are seeing and didn’t provide a trace-level log from geckodriver, but an educated guess is that the client binding/intermediary server you are using is sending HTTP requests to the the wrong endpoint. Support in Selenium for W3C WebDriver conforming driver implementations isn’t perfect, so it’s quite likely you are running into a specification integration bug with Selenium. Unfortunately this is all I can tell from the above. It might be useful to try to run your tests directly against geckodriver, without going via the Selenium remote server. |
IIRC, with Selenium 3, you need to have geckodriver: https://github.com/mozilla/geckodriver/releases @karlcow can you install that and see if that fixes the issue? If so, can you file a bug to update docs as well? |
With Firefox 47.0.1 or newer you have to use geckodriver, but it only works with Selenium 3. You don’t have to use Selenium, but if you do Selenium has integration bugs with the W3C WebDriver specification. WebDriver conformance in geckodriver/Marionette is not complete, but better with the more recent Firefox you are using. tl;dr: Many moving pieces trying to adapt to each other. |
|
FWIW, this is how I run tests locally (I don't fire up geckodriver manually):
|
Thanks @miketaylr and @andreastt
yes me too before. :)
then another window
then another window.
if I scroll up I can see that all the tests are failing. For example
So now I need to figure out why :) |
@karlcow ah, I can reproduce your error. If I downgrade Firefox to 49.0.1 and use geckodriver 0.11, tests run for me locally. But do not with 50 and geckodriver 0.13. So, I'd suggest downgrading so you can make progress on this, and I'll file bugs to upgrade Intern and get things fixed for upgraded everything. |
I'll wait for #1277 |
This is done now. 👍 |
Let me know if I can be of any help making the transition to geckodriver. |
Thanks @andreastt! The Intern 3 upgrade has landed, which uses geckodriver under the covers. Seems to be mostly working for us. :) https://github.com/webcompat/webcompat.com/blob/master/tests/intern.js#L39-L40 |
@karlcow it would be cool to try to re-land your work here. 👍 |
OK let's put a hardline on this. It will be solved by the end of next week. |
Both for comments and issue creation
Both for comments and issue creation
Both for comments and issue creation
The text was updated successfully, but these errors were encountered: