-
Notifications
You must be signed in to change notification settings - Fork 196
[full-ci][tests-only] test: migrate groups.feature to playwright #13472
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
8a79e35 to
20fe508
Compare
25fc463 to
8198f8e
Compare
| ), | ||
| page.locator(compareDialogConfirm).click() | ||
| ]) | ||
| await objects.a11y.Accessibility.assertNoSevereA11yViolations( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Toast doesn't appear hereafter so not checking the whole body
ade95bc to
d42ee93
Compare
| And "Admin" logs in | ||
| And "Admin" opens the "admin-settings" app | ||
| And "Admin" navigates to the groups management page | ||
| When "Admin" changes displayName to "a renamed group" for group "sales" using the sidebar panel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we didn't add an assertion step 🤦 . please add it now
| await objects.a11y.Accessibility.assertNoSevereA11yViolations( | ||
| page, | ||
| ['body'], | ||
| 'body after deleting group' | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| await objects.a11y.Accessibility.assertNoSevereA11yViolations( | |
| page, | |
| ['body'], | |
| 'body after deleting group' | |
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The group list is changed and the toast appears after deletion, so I thought it would be better to check the the whole body for accessibility.
| await objects.a11y.Accessibility.assertNoSevereA11yViolations( | ||
| page, | ||
| ['body'], | ||
| 'body after deleting group' | ||
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| await objects.a11y.Accessibility.assertNoSevereA11yViolations( | |
| page, | |
| ['body'], | |
| 'body after deleting group' | |
| ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The group list is changed and the toast appears after deletion, so I thought it would be better to check the the whole body for accessibility.
d42ee93 to
1e9fde6
Compare
1e9fde6 to
4dfa18c
Compare
c497f12 to
d1b1b8e
Compare
d1b1b8e to
3e2fd08
Compare
3e2fd08 to
28c94de
Compare
|



Description
Migrates groups.feature end-to-end tests from Cucumber/Gherkin to Playwright test framework.
Separated
getDisplayedGroupsIds(for UUIDs) andgetGroupsDisplayName(for display names) to avoid UI hangs during dynamic updates.Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Open tasks: