Wait until the page is ready to start testing
Moved some test logic into a beforeEach()
Merge pull request #1 from masondesu/master