Visitar URL original
Check same-document navigation results by adityareddy-dev · Pull Request #6577 · grafana/k6 · GitHub
Skip to content

Check same-document navigation results - #6577

Open
adityareddy-dev wants to merge 3 commits into
grafana:masterfrom
adityareddy-dev:test/same-document-navigation
Open

adityareddy-dev wants to merge 3 commits into
grafana:masterfrom
adityareddy-dev:test/same-document-navigation

Conversation

@adityareddy-dev

@adityareddy-dev adityareddy-dev commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

What?

Checks the URL after both same-document navigations. The anchor now sits below the viewport, so the test also checks that the fragment link scrolls to it and the History API link doesn't. Also removed an extra slash in the fixture URL that caused a redirect.

Why?

The test only checked that navigation and click didn't error.

Checklist

  • I have performed a self-review of my code.
  • I have commented on my code, particularly in hard-to-understand areas. (Not applicable, the test assertions and fixture are direct.)
  • 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)

  • 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)

Closes #4424

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Signed commits report

All 3 commits between master and test/same-document-navigation have verified signatures. ✅

@cla-assistant

cla-assistant Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@adityareddy-dev
adityareddy-dev force-pushed the test/same-document-navigation branch from ac92910 to e643826 Compare October 15, 2026 22:54
@adityareddy-dev
adityareddy-dev marked this pull request as ready for review October 15, 2026 23:52
@adityareddy-dev
adityareddy-dev requested a review from a team as a code owner October 15, 2026 23:52
@adityareddy-dev
adityareddy-dev requested review from joanlopez and mstoykov and removed request for a team October 15, 2026 23:52
@mstoykov

Copy link
Copy Markdown
Contributor

Hi @adityareddy-dev thank you for the PR. You will need to sign your commits as explained in #6577 (comment) as otehrwise we will be unable to merge this.

I have started the CI - when you sign your commtis and repush will be able to review the PR

@adityareddy-dev
adityareddy-dev temporarily deployed to azure-trusted-signing October 16, 2026 11:36 — with GitHub Actions Inactive
@adityareddy-dev
adityareddy-dev temporarily deployed to azure-trusted-signing October 16, 2026 11:38 — with GitHub Actions Inactive
@adityareddy-dev
adityareddy-dev temporarily deployed to azure-trusted-signing October 21, 2026 06:52 — with GitHub Actions Inactive
@adityareddy-dev
adityareddy-dev temporarily deployed to azure-trusted-signing October 21, 2026 06:54 — with GitHub Actions Inactive
@joanlopez
joanlopez requested review from a team and AgnesToulet and removed request for a team and joanlopez November 3, 2026 12:44
@adityareddy-dev

Copy link
Copy Markdown
Contributor Author

@mstoykov All three commits are signed now.

@mstoykov mstoykov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the test @adityareddy-dev

This branch was previously deployed

1 inactive deployment
azure-trusted-signing — b7588c20 Deployed Oct 21, 2026 by adityareddy-dev via sign-packages #11105
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.

Expand TestWaitForFrameNavigationWithinDocument to perform a functionality check

2 participants