-
Notifications
You must be signed in to change notification settings - Fork 2.1k
UI tests multiple browsers #27838
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
UI tests multiple browsers #27838
Conversation
|
tests are visible here: https://saucelabs.com/beta/builds/aaa2abaa35f84426adbe54c166035101 There seems to be an issue with the success state - can you please have a look? @individual-it THX |
|
from the saucelabs documentation:
I will check and implement it |
|
the status should now be reported to saucelabs and also travis will report a link to the saucelabs builds. So everybody can look at the video, screenshots etc. But travis somehow doe not accept the job any-more. Any setting changed in the night? |
|
|
wrote documentation and made a PR here: owncloud-archive/documentation#3049 |
ba98e50 to
628db86
Compare
|
reduced the amount of browsers, left the browsers that I personally would test for every PR |
this is not working - no idea why - the travis console shows no sign of the command being executed |
767c9c2 to
c50730c
Compare
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |



Description
This makes every UI test run in multiple browser.
What tests are run now:
Chrome 48 on Linux, the newest Chrome that Saucelabs supports on Linux
latest Chrome on Windows 10 (currently 57)
latest-1 Chrome on Windows 10 (currently 56)
oldest available Chrome (26) on Windows 10, as oC claims to run on Chrome 18+
Firefox 47 on Windows 10
webdriver for current Firefox is actually not ready, so we need to test on 47.0. see JWP actions endpoints do not get translated to W3C by standalone SeleniumHQ/selenium#3693 & https://stackoverflow.com/questions/38746148/behat-mink-force-selenium-driver-to-use-chrome-instead-of-firefox#38764599
oldest available Firefox (14) on Windows 10, as oC claims to run on FF 14+
IE 11
IE has a problem with one test, getBoundingClientRect() throws an error. This is a known bug but I don't expect MS to fix it :-)
so I just skip this test for IE
Because the tests are run now multiple times it takes them much longer to pass. This time will increase again as we add UI tests.
to discuss
e.g. do we really want to support ancient browsers like FF 14 or Chrome 26? Or should the documentation just be changed to support only the latest versions of browsers, versions on ESR and maybe latest-1
we could run only a part of the tests (limited by browser and/or test suits) on PRs and then run all tests on "master" or periodically. Then in case somebody thinks a special change should run all UI tests there can be a test-special branch that runs all tests.
Side note: The first problem, and that took me a while to figure out, was the fact that the setting of env. variables does not work as expected in travis when separating them by a semicolon. They were somehow not correctly set. Need to separate them by a space (according to travis documentation)
Motivation and Context
Currently all UI tests are only run inside Chrome 48 on Linux, its better to test multiple browsers to catch bugs that only happen in a certain browser
How Has This Been Tested?
It is the test :-) http://www.commitstrip.com/en/2017/01/03/developer-bedtime-paradox/
Types of changes
Checklist: