Skip to content

[Flaky CI]: Playwright tracing es5 should finish pageload transaction when the page goes background #7075

@AbhiPrasad

Description

@AbhiPrasad

Flakiness Type

Timeout

Name of Job

Playwright (bundle_es5) tracing only Tests

Name of Test

  1. [webkit] › suites/tracing/browsertracing/backgroundtab-pageload/test.ts:7:11

Link to Test Run

https://github.com/getsentry/sentry-javascript/actions/runs/4113751647/jobs/7102129929

Details

[231/261] [webkit] › suites/tracing/browsertracing/long-tasks-enabled/test.ts:8:11 › should capture long task.
  1) [webkit] › suites/tracing/browsertracing/backgroundtab-pageload/test.ts:7:11 › should finish pageload transaction when the page goes background 

    page.click: Target closed
    =========================== logs ===========================
    waiting for locator('#go-background')
      locator resolved to visible <button id="go-background">New Tab</button>
    attempting click action
      waiting for element to be visible, enabled and stable
      element is visible, enabled and stable
      scrolling into view if needed
      done scrolling
      performing click action
    waiting for locator('#go-background')
    ============================================================

      10 |   await page.goto(url);
      11 |
    > 12 |   void page.click('#go-background');
         |             ^
      13 |
      14 |   const pageloadTransaction = await getFirstSentryEnvelopeRequest<Event>(page);
      15 |

        at /home/runner/work/sentry-javascript/sentry-javascript/packages/integration-tests/suites/tracing/browsertracing/backgroundtab-pageload/test.ts:12:13

    Test timeout of 30000ms exceeded while tearing down "context".

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions