Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cherry-pick(#26400): feat(chromium): roll to r1076 #26403

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

playwrightmachine
Copy link
Collaborator

This PR cherry-picks the following commits:

@github-actions
Copy link
Contributor

Test results for "tests 1"

3 failed
❌ [playwright-test] › expect-poll.spec.ts:222:5 › should show intermediate result for poll that spills over test time
❌ [playwright-test] › reporter-html.spec.ts:1452:7 › merged › labels › filter should update stats
❌ [playwright-test] › watch.spec.ts:257:5 › should respect title filter T

12 flaky
⚠️ [chromium] › page/page-event-request.spec.ts:130:3 › should report navigation requests and responses handled by service worker with routing
⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › page/page-event-request.spec.ts:101:3 › should report navigation requests and responses handled by service worker
⚠️ [firefox] › library/trace-viewer.spec.ts:176:1 › should show params and return value
⚠️ [firefox] › page/page-goto.spec.ts:482:3 › should succeed on url bar navigation when there is pending navigation
⚠️ [playwright-test] › ui-mode-trace.spec.ts:22:5 › should merge trace events
⚠️ [chromium] › library/tracing.spec.ts:395:14 › should produce screencast frames crop
⚠️ [chromium] › page/page-event-request.spec.ts:101:3 › should report navigation requests and responses handled by service worker
⚠️ [playwright-test] › ui-mode-test-progress.spec.ts:167:5 › should update tracing network live
⚠️ [webkit] › library/browsercontext-fetch.spec.ts:1039:3 › should abort requests when browser context closes
⚠️ [webkit] › library/browsercontext-reuse.spec.ts:50:1 › should reset serviceworker
⚠️ [playwright-test] › ui-mode-trace.spec.ts:126:5 › should show snapshots for sync assertions

25044 passed, 583 skipped
✔️✔️✔️

[playwright-test] › expect-poll.spec.ts:222:5 › should show intermediate result for poll that spills over test time

Error: expect(received).toContain(expected) // indexOf

Expected substring: "Expected: 2"
Received string:    "
Running 1 test using 1 worker·
  ✘  1 a.spec.ts:3:11 › should fail (2.0s)··
  1) a.spec.ts:3:11 › should fail ──────────────────────────────────────────────────────────────────·
    Test timeout of 2000ms exceeded.·
  1 failed
    a.spec.ts:3:11 › should fail ───────────────────────────────────────────────────────────────────
"

  230 |   }, { timeout: 2000 });
  231 |   expect(result.exitCode).toBe(1);
> 232 |   expect(result.output).toContain('Expected: 2');
      |                         ^
  233 |   expect(result.output).toContain('Received: 3');
  234 | });
  235 |

    at /Users/runner/work/playwright/playwright/tests/playwright-test/expect-poll.spec.ts:232:25

[playwright-test] › reporter-html.spec.ts:1452:7 › merged › labels › filter should update stats

Error: expect(received).toBe(expected) // Object.is equality

Expected: "Total time: 1127ms"
Received: "Total time: 1.1s"

  1774 |         await expect(page.locator('.chip', { hasText: 'c.test.js' })).toHaveCount(1);
  1775 |
> 1776 |         await flakyButton.click();
       |                                 ^
  1777 |
  1778 |         await expect(searchInput).toHaveValue('@regression @flaky');
  1779 |         await expect(page).toHaveURL(/@regression%20@flaky/);

    at checkTotalDuration (D:\a\playwright\playwright\tests\playwright-test\reporter-html.spec.ts:1776:33)
    at D:\a\playwright\playwright\tests\playwright-test\reporter-html.spec.ts:1782:9

[playwright-test] › watch.spec.ts:257:5 › should respect title filter T

Test timeout of 30000ms exceeded.

Merge workflow run.

@mxschmitt mxschmitt merged commit eed73de into release-1.37 Aug 10, 2023
82 of 96 checks passed
@mxschmitt mxschmitt deleted the cherry-pick-1.37-2023-08-10-13-17-13 branch August 10, 2023 14:18
@github-actions
Copy link
Contributor

Test results for "tests 2"

5 failed
❌ [chromium] › page/page-event-request.spec.ts:44:3 › should report requests and responses handled by service worker
❌ [firefox] › page/page-drag.spec.ts:25:5 › Drag and drop › should work @smoke
❌ [firefox] › library\video.spec.ts:165:5 › screencast › should work with old options
❌ [firefox] › library\video.spec.ts:189:5 › screencast › should capture static page
❌ [webkit] › library/signals.spec.ts:62:7 › signals › should report browser close signal 2

77 flaky
⚠️ [chromium] › library/browsercontext-proxy.spec.ts:322:3 › should exclude patterns
⚠️ [chromium] › library/inspector/cli-codegen-2.spec.ts:493:7 › cli codegen › should --save-trace
⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › library/browsercontext-proxy.spec.ts:322:3 › should exclude patterns
⚠️ [chromium] › library/inspector/cli-codegen-3.spec.ts:479:7 › cli codegen › should generate getByLabel without regex
⚠️ [chromium] › page/page-drag.spec.ts:34:5 › Drag and drop › should send the right events
⚠️ [chromium] › page/page-drag.spec.ts:70:5 › Drag and drop › should work inside iframe
⚠️ [chromium] › page/page-drag.spec.ts:272:5 › Drag and drop › should work if a frame is stalled
⚠️ [chromium] › library\tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › page\page-goto.spec.ts:771:3 › should return when navigation is committed if commit is specified
⚠️ [chromium] › page\page-screenshot.spec.ts:610:5 › page screenshot animations › should stop animations that happen right before screenshot
⚠️ [chromium] › library/browsercontext-proxy.spec.ts:322:3 › should exclude patterns
⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › page/page-event-request.spec.ts:130:3 › should report navigation requests and responses handled by service worker with routing
⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › library/tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › page/page-event-request.spec.ts:130:3 › should report navigation requests and responses handled by service worker with routing
⚠️ [chromium] › library\browsertype-connect.spec.ts:235:5 › run-server › should send default User-Agent and X-Playwright-Browser headers with connect request
⚠️ [chromium] › library\tracing.spec.ts:239:5 › should not include trace resources from the previous chunks
⚠️ [chromium] › library\tracing.spec.ts:469:5 › should work with multiple chunks
⚠️ [firefox] › library/browsercontext-har.spec.ts:144:3 › should change document URL after redirected navigation
⚠️ [firefox] › library/capabilities.spec.ts:256:3 › requestFullscreen
⚠️ [firefox] › library/emulation-focus.spec.ts:65:3 › should not affect mouse event target page
⚠️ [firefox] › library/tracing.spec.ts:469:5 › should work with multiple chunks
⚠️ [firefox] › library/video.spec.ts:334:5 › screencast › should capture navigation
⚠️ [firefox] › library/proxy.spec.ts:179:3 › should exclude patterns
⚠️ [firefox] › library/tap.spec.ts:23:3 › should send all of the correct events @smoke
⚠️ [firefox] › library/video.spec.ts:165:5 › screencast › should work with old options
⚠️ [firefox] › library/video.spec.ts:189:5 › screencast › should capture static page
⚠️ [firefox] › library/video.spec.ts:712:5 › screencast › should capture full viewport on hidpi
⚠️ [firefox] › page/page-request-continue.spec.ts:271:3 › should work with Cross-Origin-Opener-Policy
⚠️ [firefox] › library/proxy.spec.ts:179:3 › should exclude patterns
⚠️ [firefox] › library/video.spec.ts:165:5 › screencast › should work with old options
⚠️ [firefox] › library\browsercontext-locale.spec.ts:118:3 › should be isolated between contexts
⚠️ [firefox] › library\browsercontext-pages.spec.ts:128:3 › should not leak listeners during navigation of 20 pages
⚠️ [firefox] › library\inspector\cli-codegen-2.spec.ts:93:7 › cli codegen › should not lead to an error if html gets clicked
⚠️ [firefox] › library\inspector\cli-codegen-2.spec.ts:493:7 › cli codegen › should --save-trace
⚠️ [firefox] › library\inspector\cli-codegen-2.spec.ts:551:5 › should --test-id-attribute
⚠️ [firefox] › library\inspector\console-api.spec.ts:55:3 › should support playwright.locator.values
⚠️ [firefox] › library\inspector\console-api.spec.ts:66:3 › should support playwright.locator({ has })
⚠️ [firefox] › library\inspector\console-api.spec.ts:72:3 › should support playwright.locator({ hasNot })
⚠️ [firefox] › library\inspector\console-api.spec.ts:78:3 › should support locator.and()
⚠️ [firefox] › library\inspector\console-api.spec.ts:83:3 › should support locator.or()
⚠️ [firefox] › library\inspector\console-api.spec.ts:98:3 › expected properties on playwright object
⚠️ [firefox] › library\tracing.spec.ts:28:5 › should collect trace with resources, but no js
⚠️ [firefox] › library/proxy.spec.ts:179:3 › should exclude patterns
⚠️ [firefox] › library/headful.spec.ts:83:3 › should dispatch click events to oversized viewports
⚠️ [firefox] › library/tracing.spec.ts:469:5 › should work with multiple chunks
⚠️ [firefox] › library/hit-target.spec.ts:259:3 › should not click an element overlaying iframe with the target
⚠️ [firefox] › page\frame-goto.spec.ts:46:3 › should continue after client redirect
⚠️ [chromium] › library/beforeunload.spec.ts:92:3 › should not stall on evaluate when dismissing beforeunload
⚠️ [firefox] › library/fetch-proxy.spec.ts:30:3 › context request should pick up proxy credentials
⚠️ [firefox] › page/frame-goto.spec.ts:46:3 › should continue after client redirect
⚠️ [webkit] › page/page-network-idle.spec.ts:83:3 › should wait for networkidle to succeed navigation
⚠️ [webkit] › library/browsercontext-reuse.spec.ts:50:1 › should reset serviceworker
⚠️ [webkit] › library/inspector/cli-codegen-javascript.spec.ts:87:5 › should save the codegen output to a file if specified
⚠️ [webkit] › page/page-drag.spec.ts:272:5 › Drag and drop › should work if a frame is stalled
⚠️ [webkit] › library/popup.spec.ts:115:3 › should inherit viewport size from browser context
⚠️ [webkit] › page/page-drag.spec.ts:272:5 › Drag and drop › should work if a frame is stalled
⚠️ [webkit] › page/page-drag.spec.ts:330:5 › Drag and drop › should work with locators
⚠️ [webkit] › library\browsercontext-viewport.spec.ts:143:12 › should drag with high dpi
⚠️ [webkit] › library\har.spec.ts:424:3 › should return receive time
⚠️ [webkit] › library\inspector\cli-codegen-1.spec.ts:403:7 › cli codegen › should record ArrowDown
⚠️ [webkit] › library\inspector\cli-codegen-1.spec.ts:425:7 › cli codegen › should emit single keyup on ArrowDown
⚠️ [webkit] › library\inspector\cli-codegen-1.spec.ts:450:7 › cli codegen › should check
⚠️ [webkit] › library\inspector\cli-codegen-python.spec.ts:74:5 › should save the codegen output to a file if specified
⚠️ [webkit] › library\tracing.spec.ts:469:5 › should work with multiple chunks
⚠️ [webkit] › page\page-drag.spec.ts:25:5 › Drag and drop › should work @smoke
⚠️ [webkit] › page\page-drag.spec.ts:246:5 › Drag and drop › should work if the drag event is captured but not canceled
⚠️ [webkit] › page\page-drag.spec.ts:272:5 › Drag and drop › should work if a frame is stalled
⚠️ [webkit] › page\page-mouse.spec.ts:193:3 › should trigger hover state with removed window.Node
⚠️ [webkit] › page/page-request-continue.spec.ts:177:5 › post data › should compute content-length from post data
⚠️ [webkit] › library/browsercontext-reuse.spec.ts:50:1 › should reset serviceworker
⚠️ [webkit] › library/browsercontext-reuse.spec.ts:50:1 › should reset serviceworker
⚠️ [webkit] › library\inspector\cli-codegen-javascript.spec.ts:87:5 › should save the codegen output to a file if specified
⚠️ [webkit] › library\tracing.spec.ts:469:5 › should work with multiple chunks

100503 passed, 5717 skipped
✔️✔️✔️

[chromium] › page/page-event-request.spec.ts:44:3 › should report requests and responses handled by service worker

Test timeout of 30000ms exceeded.

Retry 1:

Test timeout of 30000ms exceeded.

Retry 2:

Test timeout of 30000ms exceeded.

Retry 3:

Test timeout of 30000ms exceeded.

[firefox] › page/page-drag.spec.ts:25:5 › Drag and drop › should work @smoke

Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  29 |     await page.hover('#target');
  30 |     await page.mouse.up();
> 31 |     expect(await page.$eval('#target', target => target.contains(document.querySelector('#source')))).toBe(true); // could not find source in target
     |                                                                                                       ^
  32 |   });
  33 |
  34 |   it('should send the right events', async ({ server, page, browserName }) => {

    at /home/runner/work/playwright/playwright/tests/page/page-drag.spec.ts:31:103

Retry 1:

Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  29 |     await page.hover('#target');
  30 |     await page.mouse.up();
> 31 |     expect(await page.$eval('#target', target => target.contains(document.querySelector('#source')))).toBe(true); // could not find source in target
     |                                                                                                       ^
  32 |   });
  33 |
  34 |   it('should send the right events', async ({ server, page, browserName }) => {

    at /home/runner/work/playwright/playwright/tests/page/page-drag.spec.ts:31:103

Retry 2:

Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  29 |     await page.hover('#target');
  30 |     await page.mouse.up();
> 31 |     expect(await page.$eval('#target', target => target.contains(document.querySelector('#source')))).toBe(true); // could not find source in target
     |                                                                                                       ^
  32 |   });
  33 |
  34 |   it('should send the right events', async ({ server, page, browserName }) => {

    at /home/runner/work/playwright/playwright/tests/page/page-drag.spec.ts:31:103

Retry 3:

Error: expect(received).toBe(expected) // Object.is equality

Expected: true
Received: false

  29 |     await page.hover('#target');
  30 |     await page.mouse.up();
> 31 |     expect(await page.$eval('#target', target => target.contains(document.querySelector('#source')))).toBe(true); // could not find source in target
     |                                                                                                       ^
  32 |   });
  33 |
  34 |   it('should send the right events', async ({ server, page, browserName }) => {

    at /home/runner/work/playwright/playwright/tests/page/page-drag.spec.ts:31:103

[firefox] › library\video.spec.ts:165:5 › screencast › should work with old options

Test timeout of 90000ms exceeded.

Retry 1:

Error: expect(received).toBeLessThan(expected)

Expected: < 70
Received:   145

Actual pixels=[253,0,1,255,253,0,1,255,255,0,1,255,255,145,146,255,255,243,242,255,255,243,242,255,248,250,250,255,36,38,38,255,11,11,11,255,130,130,130,255,252,0,0,255,252,0,0,255,254,0,0,255,255,144,145,255,255,243,242,255,255,243,242,255,248,250,250,255,36,38,38,255,11,11,11,255,130,130,130,255,253,0,1,255,252,0,0,255,254,0,0,255,255,145,146,255,255,243,242,255,255,243,242,255,248,250,250,255,36,38,38,255,11,11,11,255,130,130,130,255,253,0,1,255,253,0,1,255,255,0,1,255,255,145,146,255,255,243,242,255,255,243,242,255,248,250,250,255,36,38,38,255,11,11,11,255,130,130,130,255,255,1,3,255,253,0,1,255,255,0,1,255,255,146,147,255,255,244,243,255,255,244,243,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,255,1,3,255,253,0,1,255,255,0,1,255,255,146,147,255,255,244,243,255,255,244,243,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,255,2,4,255,253,0,1,255,255,0,1,255,255,147,148,255,255,244,243,255,255,244,243,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,1,255,252,0,0,255,254,0,0,255,255,145,146,255,255,244,243,255,255,244,243,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,1,255,252,0,0,255,254,0,0,255,255,145,146,255,255,243,242,255,255,243,242,255,248,250,250,255,36,38,38,255,12,12,12,255,130,130,130,255,253,0,1,255,253,0,1,255,255,0,1,255,255,145,146,255,255,243,242,255,255,243,242,255,248,250,250,255,36,38,38,255,12,12,12,255,130,130,130,255]

  91 | function almostRed(r, g, b, alpha) {
  92 |   expect(r).toBeGreaterThan(185);
> 93 |   expect(g).toBeLessThan(70);
     |             ^
  94 |   expect(b).toBeLessThan(70);
  95 |   expect(alpha).toBe(255);
  96 | }

    at rgbaPredicate (D:\a\playwright\playwright\tests\library\video.spec.ts:93:13)
    at checkPixel (D:\a\playwright\playwright\tests\library\video.spec.ts:121:5)
    at expectAll (D:\a\playwright\playwright\tests\library\video.spec.ts:125:7)
    at expectRedFrames (D:\a\playwright\playwright\tests\library\video.spec.ts:152:5)
    at D:\a\playwright\playwright\tests\library\video.spec.ts:181:5

Retry 2:

Error: expect(received).toBeLessThan(expected)

Expected: < 70
Received:   146

Actual pixels=[253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255]

  91 | function almostRed(r, g, b, alpha) {
  92 |   expect(r).toBeGreaterThan(185);
> 93 |   expect(g).toBeLessThan(70);
     |             ^
  94 |   expect(b).toBeLessThan(70);
  95 |   expect(alpha).toBe(255);
  96 | }

    at rgbaPredicate (D:\a\playwright\playwright\tests\library\video.spec.ts:93:13)
    at checkPixel (D:\a\playwright\playwright\tests\library\video.spec.ts:121:5)
    at expectAll (D:\a\playwright\playwright\tests\library\video.spec.ts:125:7)
    at expectRedFrames (D:\a\playwright\playwright\tests\library\video.spec.ts:152:5)
    at D:\a\playwright\playwright\tests\library\video.spec.ts:181:5

Retry 3:

Error: expect(received).toBeLessThan(expected)

Expected: < 70
Received:   147

Actual pixels=[253,0,1,255,253,0,1,255,252,0,0,255,255,147,147,255,255,244,240,255,255,244,240,255,246,248,248,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,1,255,253,0,1,255,252,0,0,255,255,147,147,255,255,244,240,255,255,244,240,255,244,246,246,255,36,38,38,255,10,10,10,255,129,129,129,255,253,0,1,255,253,0,1,255,252,0,0,255,255,147,147,255,255,245,241,255,255,245,241,255,247,249,249,255,38,40,40,255,10,10,10,255,129,129,129,255,253,0,1,255,253,0,1,255,252,0,0,255,255,147,147,255,255,245,241,255,255,245,241,255,246,248,248,255,37,39,39,255,10,10,10,255,129,129,129,255,253,0,1,255,253,0,1,255,252,0,0,255,255,147,147,255,255,245,241,255,255,245,241,255,246,248,248,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,1,255,253,0,1,255,252,0,0,255,255,147,147,255,255,245,241,255,255,245,241,255,246,248,248,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,1,255,253,0,1,255,252,0,0,255,255,147,147,255,255,245,241,255,255,245,241,255,246,248,248,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,1,255,253,0,1,255,252,0,0,255,255,147,147,255,255,245,241,255,255,245,241,255,246,248,248,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,1,255,253,0,1,255,252,0,0,255,255,148,145,255,255,245,243,255,255,245,243,255,246,248,245,255,37,39,36,255,11,11,11,255,130,130,130,255,253,0,1,255,253,0,1,255,252,0,0,255,255,148,145,255,255,245,243,255,255,245,243,255,246,248,245,255,37,39,36,255,11,11,11,255,130,130,130,255]

  91 | function almostRed(r, g, b, alpha) {
  92 |   expect(r).toBeGreaterThan(185);
> 93 |   expect(g).toBeLessThan(70);
     |             ^
  94 |   expect(b).toBeLessThan(70);
  95 |   expect(alpha).toBe(255);
  96 | }

    at rgbaPredicate (D:\a\playwright\playwright\tests\library\video.spec.ts:93:13)
    at checkPixel (D:\a\playwright\playwright\tests\library\video.spec.ts:121:5)
    at expectAll (D:\a\playwright\playwright\tests\library\video.spec.ts:125:7)
    at expectRedFrames (D:\a\playwright\playwright\tests\library\video.spec.ts:152:5)
    at D:\a\playwright\playwright\tests\library\video.spec.ts:181:5

[firefox] › library\video.spec.ts:189:5 › screencast › should capture static page

Error: expect(received).toBeLessThan(expected)

Expected: < 70
Received:   145

Actual pixels=[252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,244,240,255,247,249,249,255,36,38,38,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,244,240,255,247,249,249,255,36,38,38,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,244,240,255,247,249,249,255,36,38,38,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,244,240,255,247,249,249,255,36,38,38,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255]

  91 | function almostRed(r, g, b, alpha) {
  92 |   expect(r).toBeGreaterThan(185);
> 93 |   expect(g).toBeLessThan(70);
     |             ^
  94 |   expect(b).toBeLessThan(70);
  95 |   expect(alpha).toBe(255);
  96 | }

    at rgbaPredicate (D:\a\playwright\playwright\tests\library\video.spec.ts:93:13)
    at checkPixel (D:\a\playwright\playwright\tests\library\video.spec.ts:121:5)
    at expectAll (D:\a\playwright\playwright\tests\library\video.spec.ts:125:7)
    at expectRedFrames (D:\a\playwright\playwright\tests\library\video.spec.ts:152:5)
    at D:\a\playwright\playwright\tests\library\video.spec.ts:206:5

Retry 1:

Error: expect(received).toBeLessThan(expected)

Expected: < 70
Received:   145

Actual pixels=[252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,244,240,255,247,249,249,255,36,38,38,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,244,240,255,247,249,249,255,36,38,38,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,244,240,255,247,249,249,255,36,38,38,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,244,240,255,247,249,249,255,36,38,38,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,245,241,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255]

  91 | function almostRed(r, g, b, alpha) {
  92 |   expect(r).toBeGreaterThan(185);
> 93 |   expect(g).toBeLessThan(70);
     |             ^
  94 |   expect(b).toBeLessThan(70);
  95 |   expect(alpha).toBe(255);
  96 | }

    at rgbaPredicate (D:\a\playwright\playwright\tests\library\video.spec.ts:93:13)
    at checkPixel (D:\a\playwright\playwright\tests\library\video.spec.ts:121:5)
    at expectAll (D:\a\playwright\playwright\tests\library\video.spec.ts:125:7)
    at expectRedFrames (D:\a\playwright\playwright\tests\library\video.spec.ts:152:5)
    at D:\a\playwright\playwright\tests\library\video.spec.ts:206:5

Retry 2:

Error: expect(received).toBeLessThan(expected)

Expected: < 70
Received:   146

Actual pixels=[253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,243,239,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,243,239,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,243,239,255,255,244,240,255,247,249,249,255,37,39,39,255,11,11,11,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,244,240,255,247,249,249,255,38,40,40,255,11,11,11,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,244,240,255,247,249,249,255,38,40,40,255,11,11,11,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,244,240,255,247,249,249,255,38,40,40,255,11,11,11,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,244,240,255,247,249,249,255,38,40,40,255,11,11,11,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,244,240,255,247,249,249,255,38,40,40,255,11,11,11,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,244,240,255,247,249,249,255,38,40,40,255,11,11,11,255,130,130,130,255,253,0,0,255,255,1,1,255,255,1,1,255,255,146,146,255,255,244,240,255,255,244,240,255,247,249,249,255,38,40,40,255,11,11,11,255,130,130,130,255]

  91 | function almostRed(r, g, b, alpha) {
  92 |   expect(r).toBeGreaterThan(185);
> 93 |   expect(g).toBeLessThan(70);
     |             ^
  94 |   expect(b).toBeLessThan(70);
  95 |   expect(alpha).toBe(255);
  96 | }

    at rgbaPredicate (D:\a\playwright\playwright\tests\library\video.spec.ts:93:13)
    at checkPixel (D:\a\playwright\playwright\tests\library\video.spec.ts:121:5)
    at expectAll (D:\a\playwright\playwright\tests\library\video.spec.ts:125:7)
    at expectRedFrames (D:\a\playwright\playwright\tests\library\video.spec.ts:152:5)
    at D:\a\playwright\playwright\tests\library\video.spec.ts:206:5

Retry 3:

Error: expect(received).toBeLessThan(expected)

Expected: < 70
Received:   145

Actual pixels=[252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,251,251,251,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,251,251,251,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,251,251,251,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,252,252,252,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,251,251,251,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,251,251,251,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,251,251,251,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,251,251,251,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,251,251,251,255,130,130,130,255,252,0,0,255,253,0,0,255,253,0,0,255,255,145,145,255,255,244,240,255,255,245,241,255,247,249,249,255,116,118,118,255,251,251,251,255,130,130,130,255]

  91 | function almostRed(r, g, b, alpha) {
  92 |   expect(r).toBeGreaterThan(185);
> 93 |   expect(g).toBeLessThan(70);
     |             ^
  94 |   expect(b).toBeLessThan(70);
  95 |   expect(alpha).toBe(255);
  96 | }

    at rgbaPredicate (D:\a\playwright\playwright\tests\library\video.spec.ts:93:13)
    at checkPixel (D:\a\playwright\playwright\tests\library\video.spec.ts:121:5)
    at expectAll (D:\a\playwright\playwright\tests\library\video.spec.ts:125:7)
    at expectRedFrames (D:\a\playwright\playwright\tests\library\video.spec.ts:152:5)
    at D:\a\playwright\playwright\tests\library\video.spec.ts:206:5

[webkit] › library/signals.spec.ts:62:7 › signals › should report browser close signal 2

Error: expect(received).toBe(expected) // Object.is equality

Expected: "137"
Received: "null"

  66 |     if (isMac && browserName === 'webkit' && parseInt(os.release(), 10) === 22) {
  67 |       // WebKit on mac13 exits differently.
> 68 |       expect(await remoteServer.out('exitCode')).toBe('137');
     |                                                  ^
  69 |       expect(await remoteServer.out('signal')).toBe('null');
  70 |     } else {
  71 |       expect(await remoteServer.out('exitCode')).toBe('null');

    at /Users/runner/work/playwright/playwright/tests/library/signals.spec.ts:68:50

Retry 1:

Error: expect(received).toBe(expected) // Object.is equality

Expected: "137"
Received: "null"

  66 |     if (isMac && browserName === 'webkit' && parseInt(os.release(), 10) === 22) {
  67 |       // WebKit on mac13 exits differently.
> 68 |       expect(await remoteServer.out('exitCode')).toBe('137');
     |                                                  ^
  69 |       expect(await remoteServer.out('signal')).toBe('null');
  70 |     } else {
  71 |       expect(await remoteServer.out('exitCode')).toBe('null');

    at /Users/runner/work/playwright/playwright/tests/library/signals.spec.ts:68:50

Retry 2:

Error: expect(received).toBe(expected) // Object.is equality

Expected: "137"
Received: "null"

  66 |     if (isMac && browserName === 'webkit' && parseInt(os.release(), 10) === 22) {
  67 |       // WebKit on mac13 exits differently.
> 68 |       expect(await remoteServer.out('exitCode')).toBe('137');
     |                                                  ^
  69 |       expect(await remoteServer.out('signal')).toBe('null');
  70 |     } else {
  71 |       expect(await remoteServer.out('exitCode')).toBe('null');

    at /Users/runner/work/playwright/playwright/tests/library/signals.spec.ts:68:50

Retry 3:

Error: expect(received).toBe(expected) // Object.is equality

Expected: "137"
Received: "null"

  66 |     if (isMac && browserName === 'webkit' && parseInt(os.release(), 10) === 22) {
  67 |       // WebKit on mac13 exits differently.
> 68 |       expect(await remoteServer.out('exitCode')).toBe('137');
     |                                                  ^
  69 |       expect(await remoteServer.out('signal')).toBe('null');
  70 |     } else {
  71 |       expect(await remoteServer.out('exitCode')).toBe('null');

    at /Users/runner/work/playwright/playwright/tests/library/signals.spec.ts:68:50

Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants