Skip to content

test: expect RouterLink query parameters in insertion order - #2447

Merged
Artur- merged 1 commit into
mainfrom
test/router-link-query-param-order
Dec 1, 2026
Merged

Artur- merged 1 commit into
mainfrom
test/router-link-query-param-order

Conversation

@mcollovati

Copy link
Copy Markdown
Contributor

Summary

Port of vaadin/browserless-test#405.

RouterLinkTesterTest.routerLink_queryParameter fails against the current Flow 25.5-SNAPSHOT: the RouterLink href now lists query parameters in the order the view adds them, while the test pinned the previous order.

What changed

  • The expected href now uses the order the view adds the parameters (parameter1, then parameter2). No production code changed.

Test summary

  • RouterLinkTesterTest passes locally (6/6) against the latest 25.5-SNAPSHOT; it failed before the change.

Port of vaadin/browserless-test#405. With the current Flow 25.5-SNAPSHOT
the RouterLink href lists query parameters in the order the view adds
them.
@Artur-
Artur- merged commit 49bcc6b into main Dec 1, 2026
10 checks passed
@Artur-
Artur- deleted the test/router-link-query-param-order branch December 1, 2026 09:46
caalador pushed a commit that referenced this pull request Dec 1, 2026
…CP: 25.4) (#2449)

This PR cherry-picks changes from the original PR #2447 to branch 25.4.
---
#### Original PR description
> ## Summary
> Port of vaadin/browserless-test#405.
> 
> `RouterLinkTesterTest.routerLink_queryParameter` fails against the
current Flow 25.5-SNAPSHOT: the RouterLink href now lists query
parameters in the order the view adds them, while the test pinned the
previous order.
> 
> ## What changed
> - The expected href now uses the order the view adds the parameters
(`parameter1`, then `parameter2`). No production code changed.
> 
> ## Test summary
> - `RouterLinkTesterTest` passes locally (6/6) against the latest
25.5-SNAPSHOT; it failed before the change.

Co-authored-by: Marco Collovati <marco@vaadin.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants