mirror of
https://github.com/spliit-app/spliit.git
synced 2026-02-25 00:46:13 +01:00
Add test ID to group header for E2E test reliability
Update group header component to include data-testid for improved test targeting and update Page Object Model to use the more reliable test ID selector. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -6,7 +6,7 @@ export class GroupPage {
|
||||
|
||||
constructor(page: Page) {
|
||||
this.page = page
|
||||
this.title = page.getByRole('main').getByRole('heading', { level: 1 })
|
||||
this.title = page.getByTestId('group-name')
|
||||
}
|
||||
|
||||
async createExpense() {
|
||||
|
||||
Reference in New Issue
Block a user