From fe32b1aa375c34d00472d808c1194c3ce0fc8585 Mon Sep 17 00:00:00 2001 From: JennyNou Date: Wed, 25 Mar 2026 15:43:57 -0400 Subject: [PATCH] Remove commented code --- playwright-tests/pages/VehiclePartsPage.ts | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/playwright-tests/pages/VehiclePartsPage.ts b/playwright-tests/pages/VehiclePartsPage.ts index 1d778f82..70d9a7ee 100644 --- a/playwright-tests/pages/VehiclePartsPage.ts +++ b/playwright-tests/pages/VehiclePartsPage.ts @@ -8,18 +8,7 @@ export default class VehiclePartQuestionsPage extends PartQuestionsPage{ constructor(page: Page) { super(page); } -/* this fails for some reason/some cases so may need to rework maybe only validate for part questions page and not on vehicle parts -async validatePartQuestions(partQuestions: IPartQuestion[]) { - for (const pq of partQuestions) { - const partQuestionOptions = this.page.locator(`fieldset[aria-labelledby="${pq.partQuestionType}"]`); - if (pq.isOnPage) { - await expect(partQuestionOptions).toBeAttached(); - } else { - await expect(partQuestionOptions).not.toBeAttached(); - } - } - } -*/ + async selectPartQuestionResponses(partQuestions: IPartQuestion[]) { for (const pq of partQuestions) { const parentobject=this.page.locator(`fieldset[aria-labelledby="${pq.partQuestionType}"]`);