-
Notifications
You must be signed in to change notification settings - Fork 690
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
[functional testing] pages-layout tests need update for tor based testing #3656
Comments
In the pages-layout tests, the |
My suggestion would be to run the layout tests only against the local container as only running the 102 passed in 3420.95 seconds. |
102 passed in 2637.02 seconds That is directly using Firefox ESR on the container. Still 2 tests are failing, related to HOTP. |
Below are a few findings from today's test marathon. Version mismatch between Firefox and geckodriverWe are using an older version of Test timingWe can run the tests against both local and external onion address using the same code base, but that means Tor Browser will have to start everytime, and that increases time for the pages-layout tests to more than 1 hours (around 1 hour and 20 minutes). If we use a direct Firefox ESR browser and directly connect to |
For those playing along at home, the tor-browser-selenium setup instructions state:
Regarding potential problems with the older geckodriver
In the develop branch, we're still running FF 46, rather than 52 ESR, which is is being introduced via the TBB Selenium work. In a nutshell, is the problem you're experiencing @kushaldas strictly that we cannot force window sizes? I agree with @redshiftzero that we should indeed do so where possible, but if that's the only blocker, then it sounds like we can indeed use 52 ESR for page-layout tests and Tor Browser for the functional nav tests.
I would entertain solutions that allow us to use TBB everywhere, although the long-running test times is indeed a problem. If we can use FF 52 ESR for page-layout (for faster tests) and keep the functional tests over Tor for use in QA, that'd be sufficient for closing out the current TBB Selenium push. |
This is work in progress on top of #3628. I working on top of @msheiny's work
Remember that |
While running the whole test suite together, I have:
|
Now I have all the tests passing locally, some good news finally. |
👍 to continuing to use Firefox for the page-layout tests. It's a nice-to-have to run them using Tor Browser because then the autogenerated screenshots in the user guides would be rendered using Tor Browser instead of Firefox (there are slight differences but nothing major or confusing). That said, this is not worth significantly lengthening the CI staging job. |
Resolved via #3664. |
Part of epic #3659.
Description
As we are moving towards Tor browser based functional tests, the pages-layout tests also need update to work properly.
Right now all of them happily failing on the
local_tests
branch.The text was updated successfully, but these errors were encountered: