tournaments-gg / lux

The repository for the React application itself. End to end tests are in Elise, not here.
0 stars 0 forks source link

Mobile testing #9

Closed punmechanic closed 3 years ago

punmechanic commented 9 years ago

Saucelabs supports mobile emulators for free on open source projects using Appium. The downside? Well, we're using nightwatchjs for testing currently, and Appium uses jasmine/mocha style tests.

SauceLab's selenium unfortunately will not support resolutions lower than 800x600 - although they say they might eventually. This means we will have to do one of the follow things:

This is a pretty important issue as we are a responsive-focused project. We may be able to live for a while without testing the mobile platforms because we are using material design, but I'd really like to have coverage for them too.

punmechanic commented 9 years ago

We could also consider using Galen alongside Nightwatch, although we would be having to duplicate urls which would suck, however Galen does exactly what we need and allows us to actually test the layout (Nightwatch does not, but nightwatch is great for testing functionality)

punmechanic commented 9 years ago

Also note, Galen allows running of arbitrary webdriver actions so we will probably switch over to it. The only issue is that Galen has a hard dependency on Java.

punmechanic commented 9 years ago

The 5-home-page branch currently uses Galen as an example