From b1efd042cf5532b765d462e16ede1f8f25b5e9e8 Mon Sep 17 00:00:00 2001 From: MartinBraquet Date: Sun, 29 Mar 2026 20:29:17 +0200 Subject: [PATCH] Fix wrong text editor picked --- tests/e2e/web/pages/signUpPage.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/e2e/web/pages/signUpPage.ts b/tests/e2e/web/pages/signUpPage.ts index 067167f4..fe7d77f0 100644 --- a/tests/e2e/web/pages/signUpPage.ts +++ b/tests/e2e/web/pages/signUpPage.ts @@ -4,15 +4,15 @@ import { DietTuple, EducationTuple, EthnicityTuple, + GenderTuple, + InterestedInGenderTuple, LanguageTuple, PersonalityKey, PoliticalTuple, RelationshipStatusTuple, RelationshipStyleTuple, ReligionTuple, - GenderTuple, - InterestedInGenderTuple, -} from '../../../../common/src/choices' +} from 'common/choices' export type ChildrenExpectation = | ['Strongly against', 0] @@ -107,7 +107,7 @@ export class SignUpPage { this.usernameField = page.getByPlaceholder('Username') this.usernameError = page.getByTestId('signup-username') this.nextButton = page.getByRole('button', {name: 'Next', exact: true}) - this.bioField = page.locator('.tiptap') + this.bioField = page.locator('h3:has-text("Bio") ~ * .tiptap') this.locationField = page.getByPlaceholder('Search city...') this.headlineField = page.getByTestId('headline') this.keywordsField = page.getByTestId('keywords')