Update social platform selection button name to 'Website' in signUpPage

This commit is contained in:
MartinBraquet
2026-05-23 19:53:30 +02:00
parent 806e9f358a
commit 3e7fc0f008

View File

@@ -151,7 +151,7 @@ export class SignUpPage {
this.smokerField = page.getByText('Yes', {exact: true})
this.nonSmokerField = page.getByText('No', {exact: true})
this.alcoholConsumedPerMonthField = page.getByTestId('alcohol-consumed-per-month')
this.socialPlatformSelectionField = page.getByRole('button', {name: 'Platform'})
this.socialPlatformSelectionField = page.getByRole('button', {name: 'Website'})
this.socialPlatformSearchField = page.getByRole('textbox', {name: 'Search...'})
this.addSocialPlatformField = page.getByRole('textbox', {name: 'URL'})
this.addSocialPlatformButton = page.locator('button').filter({hasText: 'Add'}).nth(3)