Skip to content

Improvements

Improvements #731

Re-run triggered June 27, 2023 13:04
Status Failure
Total duration 10m 8s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 notice
[chromium] › admin/Hydra/Books.spec.ts:81:7 › Books admin with Hydra › Edit a book: pwa/tests/admin/Hydra/Books.spec.ts#L87
1) [chromium] › admin/Hydra/Books.spec.ts:81:7 › Books admin with Hydra › Edit a book ──────────── Error: Timed out 5000ms waiting for expect(received).toHaveURL(expected) Expected pattern: /\/admin#\/books\/%2Fbooks%2F.+/ Received string: "https://localhost/admin#/books" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" 85 | await page.getByText('Edit').nth(1).click() 86 | // Ensure url has changed > 87 | await expect(page).toHaveURL(/\/admin#\/books\/%2Fbooks%2F.+/) | ^ 88 | 89 | // Change title and author 90 | const title = lorem.generateWords(3) at /home/runner/work/demo/demo/pwa/tests/admin/Hydra/Books.spec.ts:87:24
[chromium] › admin/Hydra/Books.spec.ts:81:7 › Books admin with Hydra › Edit a book: pwa/tests/admin/Hydra/Books.spec.ts#L87
1) [chromium] › admin/Hydra/Books.spec.ts:81:7 › Books admin with Hydra › Edit a book ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toHaveURL(expected) Expected pattern: /\/admin#\/books\/%2Fbooks%2F.+/ Received string: "https://localhost/admin#/books" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books" 85 | await page.getByText('Edit').nth(1).click() 86 | // Ensure url has changed > 87 | await expect(page).toHaveURL(/\/admin#\/books\/%2Fbooks%2F.+/) | ^ 88 | 89 | // Change title and author 90 | const title = lorem.generateWords(3) at /home/runner/work/demo/demo/pwa/tests/admin/Hydra/Books.spec.ts:87:24
[chromium] › admin/Hydra/Books.spec.ts:102:7 › Books admin with Hydra › Delete a book: pwa/tests/admin/Hydra/Books.spec.ts#L108
2) [chromium] › admin/Hydra/Books.spec.ts:102:7 › Books admin with Hydra › Delete a book ───────── Error: Timed out 5000ms waiting for expect(received).toHaveURL(expected) Expected pattern: /\/admin#\/books\/%2Fbooks%2F.+/ Received string: "https://localhost/admin#/books?page=2" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" 106 | await page.getByText('Edit').first().click() 107 | // Ensure url has changed > 108 | await expect(page).toHaveURL(/\/admin#\/books\/%2Fbooks%2F.+/) | ^ 109 | 110 | await page.getByText('Delete').click() 111 | // Ensure confirmation popup is shown at /home/runner/work/demo/demo/pwa/tests/admin/Hydra/Books.spec.ts:108:24
[chromium] › admin/Hydra/Books.spec.ts:102:7 › Books admin with Hydra › Delete a book: pwa/tests/admin/Hydra/Books.spec.ts#L108
2) [chromium] › admin/Hydra/Books.spec.ts:102:7 › Books admin with Hydra › Delete a book ───────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toHaveURL(expected) Expected pattern: /\/admin#\/books\/%2Fbooks%2F.+/ Received string: "https://localhost/admin#/books?page=2" Call log: - expect.toHaveURL with timeout 5000ms - waiting for locator(':root') - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" - locator resolved to <html>…</html> - unexpected value "https://localhost/admin#/books?page=2" 106 | await page.getByText('Edit').first().click() 107 | // Ensure url has changed > 108 | await expect(page).toHaveURL(/\/admin#\/books\/%2Fbooks%2F.+/) | ^ 109 | 110 | await page.getByText('Delete').click() 111 | // Ensure confirmation popup is shown at /home/runner/work/demo/demo/pwa/tests/admin/Hydra/Books.spec.ts:108:24
[chromium] › admin/OpenAPI/Reviews.spec.ts:45:7 › Reviews admin with Hydra › Show a review: pwa/tests/admin/OpenAPI/Reviews.spec.ts#L53
3) [chromium] › admin/OpenAPI/Reviews.spec.ts:45:7 › Reviews admin with Hydra › Show a review ──── Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality Expected: 1 Received: 2 Call log: - expect.toHaveCount with timeout 5000ms - waiting for getByText('Edit') - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" 51 | await expect(await page.url()).not.toEqual('/admin#/reviews') 52 | await expect(page.getByText('Show')).toHaveCount(0) > 53 | await expect(page.getByText('Edit')).toHaveCount(1) | ^ 54 | ***) 55 | 56 | test('Create a review', async (*** page ***) => *** at /home/runner/work/demo/demo/pwa/tests/admin/OpenAPI/Reviews.spec.ts:53:42
[chromium] › admin/OpenAPI/Reviews.spec.ts:45:7 › Reviews admin with Hydra › Show a review: pwa/tests/admin/OpenAPI/Reviews.spec.ts#L53
3) [chromium] › admin/OpenAPI/Reviews.spec.ts:45:7 › Reviews admin with Hydra › Show a review ──── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toHaveCount(expected) // deep equality Expected: 1 Received: 2 Call log: - expect.toHaveCount with timeout 5000ms - waiting for getByText('Edit') - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" - locator resolved to 2 elements - unexpected value "2" 51 | await expect(await page.url()).not.toEqual('/admin#/reviews') 52 | await expect(page.getByText('Show')).toHaveCount(0) > 53 | await expect(page.getByText('Edit')).toHaveCount(1) | ^ 54 | ***) 55 | 56 | test('Create a review', async (*** page ***) => *** at /home/runner/work/demo/demo/pwa/tests/admin/OpenAPI/Reviews.spec.ts:53:42
Tests
Process completed with exit code 1.
🎭 Playwright Run Summary
3 failed [chromium] › admin/Hydra/Books.spec.ts:81:7 › Books admin with Hydra › Edit a book ───────────── [chromium] › admin/Hydra/Books.spec.ts:102:7 › Books admin with Hydra › Delete a book ────────── [chromium] › admin/OpenAPI/Reviews.spec.ts:45:7 › Reviews admin with Hydra › Show a review ───── 1 skipped 40 passed (5.1m)

Artifacts

Produced during runtime
Name Size
playwright-screenshots Expired
10.8 MB