From eb2eeb2b19a5d62394dfe8036b82dd15d0089821 Mon Sep 17 00:00:00 2001 From: Taegon Kim Date: Thu, 15 Nov 2018 06:21:01 -0500 Subject: [PATCH] Signup: update test cases as the business flow changes (#1617) --- specs/wp-signup-spec.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/specs/wp-signup-spec.js b/specs/wp-signup-spec.js index 06a7d0f02..177a57dbc 100755 --- a/specs/wp-signup-spec.js +++ b/specs/wp-signup-spec.js @@ -1005,6 +1005,15 @@ describe( `[${ host }] Sign Up (${ screenSize }, ${ locale })`, function() { ); } ); + step( 'Can then enter account details and continue', async function() { + const createYourAccountPage = await CreateYourAccountPage.Expect( driver ); + return await createYourAccountPage.enterAccountDetailsAndSubmit( + emailAddress, + siteName, + passwordForTestAccounts + ); + } ); + step( 'Can see the about page and accept defaults', async function() { const aboutPage = await AboutPage.Expect( driver ); return await aboutPage.submitForm(); @@ -1034,15 +1043,6 @@ describe( `[${ host }] Sign Up (${ screenSize }, ${ locale })`, function() { } ); - step( 'Can then enter account details and continue', async function() { - const createYourAccountPage = await CreateYourAccountPage.Expect( driver ); - return await createYourAccountPage.enterAccountDetailsAndSubmit( - emailAddress, - siteName, - passwordForTestAccounts - ); - } ); - step( 'Can then see the sign up processing page which will finish automatically move along', async function() {