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

Run automated piwik.js tests on more browsers than just webkit (modern IE, firefox, ...) #9874

Open
mattab opened this issue Mar 3, 2016 · 3 comments
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues.

Comments

@mattab
Copy link
Member

mattab commented Mar 3, 2016

As we announce to users & clients that our JavaScript Tracking SDK supports many browsers, it is important to run our automated test suite on more than just webkit.

How could we use a web service, such as saucelabs, to run our automated piwik.js tests on more browsers?

@mattab mattab added the c: Tests & QA For issues related to automated tests or making it easier to QA & test issues. label Mar 3, 2016
@mattab mattab added this to the 2.16.x milestone Mar 3, 2016
@sgiehl
Copy link
Member

sgiehl commented Mar 3, 2016

Maybe also BrowserStack would be worth a try: https://www.browserstack.com/javascript-testing-api

@tsteur
Copy link
Member

tsteur commented Mar 6, 2016

An idea could be to create one selenium test that checks that all testsuites of http://piwik.example.com/tests/javascript/ were executed successfully. Then we can open this page via selenium and run them in different browsers via BrowserStack or SauceLabs. We won't be able to run them on CLI via phantomjs

Be aware that the tests are not written to run in all browsers. Eg I'm pretty sure they won't run in < IE8 I think.

@mattab
Copy link
Member Author

mattab commented Jun 2, 2016

FYI: we now have a ‘Solo Live’ and ‘Basic Automate’ plan account at BrowserStack.com 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Tests & QA For issues related to automated tests or making it easier to QA & test issues.
Projects
None yet
Development

No branches or pull requests

3 participants