Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
I'm porting these over from
feat/grid
andfeat/components-in-table
early, because those branches are blocked by changes in the design system we're waiting for, and these tools come in handy now.Two new functions have been added:
cy.navPage(name)
lets you get the button for navigating to a specific page, by a given name. Socy.navPage('form').click()
will click the navigation button for1. form
(the first page in thechangename
task infrontend-test
).cy.changeLayout()
lets you change the current layout configuration without reloading the page (using the same trick as the developer tools is using). This might not always be what you want, since some effects of the layout configuration runs in sagas when the app is loading.Related Issue(s)
Verification/QA
src/layout/layout.d.ts
andlayout.schema.v1.json
, and these are all backwards-compatiblekind/*
label to this PR for proper release notes grouping