Skip to content

Conversation

@anon-pradip
Copy link
Contributor

@anon-pradip anon-pradip commented Jan 12, 2026

Description

Migrates groups.feature end-to-end tests from Cucumber/Gherkin to Playwright test framework.
Separated getDisplayedGroupsIds (for UUIDs) and getGroupsDisplayName (for display names) to avoid UI hangs during dynamic updates.

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • Locally and CI

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

Open tasks:

@anon-pradip anon-pradip self-assigned this Jan 12, 2026
@anon-pradip anon-pradip force-pushed the test/e2e-playwright-groups.feature branch from 8a79e35 to 20fe508 Compare January 12, 2026 10:53
@anon-pradip anon-pradip force-pushed the test/e2e-playwright-groups.feature branch 3 times, most recently from 25fc463 to 8198f8e Compare January 13, 2026 06:50
),
page.locator(compareDialogConfirm).click()
])
await objects.a11y.Accessibility.assertNoSevereA11yViolations(
Copy link
Contributor Author

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

@anon-pradip anon-pradip force-pushed the test/e2e-playwright-groups.feature branch 3 times, most recently from ade95bc to d42ee93 Compare January 13, 2026 07:23
@anon-pradip anon-pradip marked this pull request as ready for review January 13, 2026 08:05
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
Copy link
Contributor

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

Comment on lines +143 to +159
await objects.a11y.Accessibility.assertNoSevereA11yViolations(
page,
['body'],
'body after deleting group'
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
await objects.a11y.Accessibility.assertNoSevereA11yViolations(
page,
['body'],
'body after deleting group'
)

Copy link
Contributor Author

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.

Comment on lines +110 to +126
await objects.a11y.Accessibility.assertNoSevereA11yViolations(
page,
['body'],
'body after deleting group'
)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
await objects.a11y.Accessibility.assertNoSevereA11yViolations(
page,
['body'],
'body after deleting group'
)

Copy link
Contributor Author

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.

@anon-pradip anon-pradip force-pushed the test/e2e-playwright-groups.feature branch from d42ee93 to 1e9fde6 Compare January 13, 2026 12:25
@anon-pradip anon-pradip force-pushed the test/e2e-playwright-groups.feature branch from 1e9fde6 to 4dfa18c Compare January 15, 2026 08:23
@anon-pradip anon-pradip force-pushed the test/e2e-playwright-groups.feature branch 2 times, most recently from c497f12 to d1b1b8e Compare January 15, 2026 08:44
@anon-pradip anon-pradip force-pushed the test/e2e-playwright-groups.feature branch from d1b1b8e to 3e2fd08 Compare January 15, 2026 08:57
@anon-pradip anon-pradip force-pushed the test/e2e-playwright-groups.feature branch from 3e2fd08 to 28c94de Compare January 15, 2026 09:00
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants