Skip to content

Commit

Permalink
enabled react build test
Browse files Browse the repository at this point in the history
  • Loading branch information
LiveDuo committed Nov 7, 2023
1 parent 9cf16f1 commit 215e90b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions e2e/build-react/build.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { test, expect } from '@playwright/test'

// TODO fix
test.skip('should show the production version', async ({ page }) => {
test('should show the production version', async ({ page }) => {
await page.goto('/')
await expect(page).toHaveURL('/')
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
Expand Down

0 comments on commit 215e90b

Please sign in to comment.