This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(test): Fix
test-latest
functional tests.
Several problems: * When running against remote servers, Selenium moves very quickly. * The email index being searched for was not being passed to restmail, so it would return as long as one email existed. * OAuth tests depended on each other * Signing out of 123done was not done correctly and state would hang around. * Clearing content server state was being done before the content server was loaded, which ended up in a 500 error. What we do now: * Simplify the OAuth sign in tests so there is no cross-test dependencies. * In the OAuth sign in tests, use the FxaClient to pre-generate users. We are testing sign in, not sign up. * Ensure the content server page is loaded before clearing its state. * Ensure the user is logged out of 123done when clearing its state - do so by calling XHR requests directly. * Ensure the index of the email we are waiting for makes it to restmail. fixes #1690
- Loading branch information
Shane Tomlinson
committed
Oct 10, 2014
1 parent
8ba4336
commit 37696cb
Showing
6 changed files
with
276 additions
and
238 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.