playtime icon indicating copy to clipboard operation
playtime copied to clipboard

Add JS integration test for "pledging opens a new Amazon tab"

Open leesharma opened this issue 7 years ago • 1 comments

Context

When you click the pledge button, you should see something similar to this:

pledging flow

That Amazon tab opening is one of the most critical features of this app, but right now, it's untested.

Issue Details

This issue is to add a feature test that verifies that clicking that button opens a new tab. This will require enabling javascript for the test and probably installing some js testing dependency (selenium, capybara-webkit, etc.). If an external dependency is needed, you'll also need to update the README and possibly bin/setup with instructions.

Ideally, this solution will be cross-platform and/or auto-skip the test for folks without the required dependencies. It definitely needs to run properly on Travis CI!

leesharma avatar Oct 16 '17 20:10 leesharma

@leesharma I'd be happy to take a stab at this

emilianoLeite avatar Oct 27 '17 19:10 emilianoLeite