Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ankur22
Copy link
Contributor

@ankur22 ankur22 commented Jan 15, 2026

What?

We're now waiting for expected to be all true before testing the assertion.

Why?

Before we were calling page.Close() which also flushed the web vital metrics, but there wasn't enough time after close and to retrieve all the latest metrics on slower machines.

Checklist

  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas.
  • I have added tests for my changes.
  • I have run linter and tests locally (make check) and all pass.

Checklist: Documentation (only for k6 maintainers and if relevant)

Please do not merge this PR until the following items are filled out.

  • I have added the correct milestone and labels to the PR.
  • I have updated the release notes: link
  • I have updated or added an issue to the k6-documentation: grafana/k6-docs#NUMBER if applicable
  • I have updated or added an issue to the TypeScript definitions: grafana/k6-DefinitelyTyped#NUMBER if applicable

Related PR(s)/Issue(s)

@ankur22 ankur22 temporarily deployed to azure-trusted-signing January 15, 2026 17:04 — with GitHub Actions Inactive
@ankur22 ankur22 temporarily deployed to azure-trusted-signing January 15, 2026 17:06 — with GitHub Actions Inactive
@ankur22 ankur22 force-pushed the fix/web-vital-test branch from a544cd5 to 9af32f1 Compare January 16, 2026 09:48
@ankur22 ankur22 temporarily deployed to azure-trusted-signing January 16, 2026 09:54 — with GitHub Actions Inactive
@ankur22 ankur22 temporarily deployed to azure-trusted-signing January 16, 2026 09:56 — with GitHub Actions Inactive
On Windows CI TestWebVitalMetricNoInteraction fails to report back the
required web vitals. Other OS CIs work as expected.
@ankur22 ankur22 force-pushed the fix/web-vital-test branch from 9af32f1 to 28d3e5d Compare January 19, 2026 11:14
@ankur22 ankur22 temporarily deployed to azure-trusted-signing January 19, 2026 11:20 — with GitHub Actions Inactive
@ankur22 ankur22 temporarily deployed to azure-trusted-signing January 19, 2026 11:22 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant