Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Nov 7, 2023
1 parent d4c44ad commit e252d5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion e2e/build-react/build.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { test, expect } from '@playwright/test'
test('should show the production version', async ({ page }) => {
await page.goto('/')
await expect(page).toHaveURL('/')
await expect(page.locator('text=Understand')).toBeVisible()
await expect(page.locator('#page')).toBeVisible()

Check failure on line 6 in e2e/build-react/build.spec.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

[Desktop Chrome] › build.spec.ts:3:5 › should show the production version

1) [Desktop Chrome] › build.spec.ts:3:5 › should show the production version ───────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#page') - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" 4 | await page.goto('/') 5 | await expect(page).toHaveURL('/') > 6 | await expect(page.locator('#page')).toBeVisible() | ^ 7 | }) 8 | at /home/runner/work/destack/destack/e2e/build-react/build.spec.ts:6:39

Check failure on line 6 in e2e/build-react/build.spec.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

[Desktop Chrome] › build.spec.ts:3:5 › should show the production version

1) [Desktop Chrome] › build.spec.ts:3:5 › should show the production version ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#page') - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" 4 | await page.goto('/') 5 | await expect(page).toHaveURL('/') > 6 | await expect(page.locator('#page')).toBeVisible() | ^ 7 | }) 8 | at /home/runner/work/destack/destack/e2e/build-react/build.spec.ts:6:39

Check failure on line 6 in e2e/build-react/build.spec.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

[Desktop Firefox] › build.spec.ts:3:5 › should show the production version

2) [Desktop Firefox] › build.spec.ts:3:5 › should show the production version ──────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#page') - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" 4 | await page.goto('/') 5 | await expect(page).toHaveURL('/') > 6 | await expect(page.locator('#page')).toBeVisible() | ^ 7 | }) 8 | at /home/runner/work/destack/destack/e2e/build-react/build.spec.ts:6:39

Check failure on line 6 in e2e/build-react/build.spec.ts

View workflow job for this annotation

GitHub Actions / build (16.x)

[Desktop Firefox] › build.spec.ts:3:5 › should show the production version

2) [Desktop Firefox] › build.spec.ts:3:5 › should show the production version ──────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('#page') - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" - locator resolved to <div id="page">…</div> - unexpected value "hidden" 4 | await page.goto('/') 5 | await expect(page).toHaveURL('/') > 6 | await expect(page.locator('#page')).toBeVisible() | ^ 7 | }) 8 | at /home/runner/work/destack/destack/e2e/build-react/build.spec.ts:6:39
})
2 changes: 1 addition & 1 deletion e2e/build/build.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ import { test, expect } from '@playwright/test'
test('should show the production version', async ({ page }) => {
await page.goto('/')
await expect(page).toHaveURL('/')
await expect(page.locator('text=Understand')).toBeVisible()
await expect(page.locator('#page')).toBeVisible()
})

0 comments on commit e252d5f

Please sign in to comment.