Skip to content

Commit

Permalink
Test next step
Browse files Browse the repository at this point in the history
  • Loading branch information
mrruby committed Jul 18, 2024
1 parent ffc09c4 commit 00a20cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/needsSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ export default async function needsSetupTest(browser: Browser) {
const page = await browser.newPage();
await page.goto('http://localhost:3007/tests/test.html');

console.log(await page.content());

const findTextOnPage = findTextBySelector(page);

const signUpButton = await findTextOnPage('Sign Up');
expect(signUpButton).toBeTruthy();

expect(page).toBeTruthy();

// await signUpButton.click();
await signUpButton.click();

console.log(await page.content());

// const needsSetupText = await findTextOnPage('NeedsSetup');
// expect(needsSetupText).toBeTruthy();
const needsSetupText = await findTextOnPage('NeedsSetup');
expect(needsSetupText).toBeTruthy();
}

0 comments on commit 00a20cb

Please sign in to comment.