Skip to content

Commit

Permalink
chore: e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
hannoeru committed Jun 5, 2023
1 parent faff34b commit 977182d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion test/e2e/react.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ describe('react e2e test', () => {

await copyFile(srcPath, distPath)

await page.goto(getUrl('/'), { waitUntil: 'networkidle' })
await page.goto(getUrl('/test'), { waitUntil: 'networkidle' })

const text = await page.locator('body > div').textContent()
Expand Down
1 change: 0 additions & 1 deletion test/e2e/solid.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ describe('solid e2e test', () => {

await copyFile(srcPath, distPath)

await page.goto(getUrl('/'), { waitUntil: 'networkidle' })
await page.goto(getUrl('/test'), { waitUntil: 'networkidle' })

const text = await page.locator('body > div').textContent()
Expand Down
3 changes: 1 addition & 2 deletions test/e2e/vue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ describe('vue e2e test', () => {

await copyFile(srcPath, distPath)

await page.goto(getUrl('/'), { waitUntil: 'networkidle' })
await page.goto(getUrl('/test'))
await page.goto(getUrl('/test'), { waitUntil: 'networkidle' })

const text = await page.locator('body > div').textContent()
expect(text?.trim()).toBe('this is test file')
Expand Down

0 comments on commit 977182d

Please sign in to comment.