Cross-browser testing is often a tricky issue for teams to tackle -- there are so many browsers and versions to cover, that it can seem impossible to achieve the right level of coverage. But failing to consider your users’ browser preferences when testing can backfire. Amber Rockwood, a front-end software engineer on the Reserved squad at Eventbrite, recently wrote a post that discussed how her team tackled testing complex WebGL flows using Rainforest QA.
Eventbrite uses WebGL to render customizable venue maps, which is an essential part of seat reservation experience for their users. But a key issue that Amber’s team faced with WebGL is that there are no DOM elements to target in acceptance tests, making automated test cases challenging to script. As a result, creating a testing flow that didn’t add hundreds of engineering hours to their workflow proved difficult with Selenium.
The Reserved squad turned to Rainforest for an alternate testing solution for this subset of their testing needs. Because Rainforest uses human testers to execute tests, tests don’t need to specify exact coordinates for the elements tested. And since Rainforest offers VMs for a range of browsers, Eventbrite can add or remove cross-browser coverage early on without having to script entirely new tests for every browser.
“I love that I get to spend my time building new features rather than writing and maintaining fussy WebDriver tests.”
Eventbrite’s Reserved squad was able to streamline their QA process in several important ways by using Rainforest. By using Rainforest’s technology to speed up test execution, they’re able to recover time from test scripting and maintenance. Additionally, the team has configured Rainforest tests to load the exact state needed to test the features covered by the test, ensuring that they receive fast, accurate results.
“For my squad, Rainforest has been an excellent solution and has helped us catch many browser-specific and complex multi-page bugs before they made their way to the release branch,” writes Amber. “While we are still working on improving its visibility in our CI flow so that newly introduced bugs are surfaced earlier in the development cycle, automated test runs assure us that our features remain stable across all major browsers.”
For a detailed look at how Eventbrite solved their WebGL testing problem using Rainforest, including Amber’s key to being successful with Rainforest, be sure to head over to the Eventbrite Engineering blog to read Amber’s post.
Image Credit: Amber Rockwood, Eventbrite.com