Permalink
Browse files

bah, missed one stray newSession call.

  • Loading branch information...
1 parent d315a1f commit 61c33370bde1b7e98f9fc87ef390e8e8b074ad5e @6a68 6a68 committed Nov 10, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 automation-tests/tests/cancel-account.js
@@ -74,7 +74,6 @@ function removeEmail(email, done) {
function signIn123DoneWithSecondary(browser, email, password, done) {
browser.chain({onError: done})
- .newSession(testSetup.sessionOpts)
.get(persona_urls['123done'])
.wclick(CSS['123done.org'].signInButton)
.wwin(CSS['dialog'].windowName)
@@ -111,6 +110,10 @@ runner.run(module, {
setup(done);
},
+ "setup a browser": function(done) {
+ testSetup.newBrowserSession(browser, done);
+ },
+
"log in to 123done using secondaryEmail": function(done) {
signIn123DoneWithSecondary(browser, secondaryEmail,
secondaryPassword, done);
@@ -141,6 +144,9 @@ runner.run(module, {
setup(done);
},
+ "setup a browser": function(done) {
+ testSetup.newBrowserSession(browser, done);
+ },
"log in to 123done using secondaryEmail": function(done) {
signIn123DoneWithSecondary(browser, secondaryEmail,
secondaryPassword, done);

0 comments on commit 61c3337

Please sign in to comment.