Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
Signup: update test cases as the business flow changes (#1617)
Browse files Browse the repository at this point in the history
  • Loading branch information
taggon authored Nov 15, 2018
1 parent e5c9f39 commit eb2eeb2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions specs/wp-signup-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit eb2eeb2

Please sign in to comment.