diff --git a/playwright-tests/pages/BailoutPage.ts b/playwright-tests/pages/BailoutPage.ts index 90d9caec..a75e98fe 100644 --- a/playwright-tests/pages/BailoutPage.ts +++ b/playwright-tests/pages/BailoutPage.ts @@ -28,7 +28,6 @@ export class BailoutPage extends BasePage { await expect.soft(this.firstNameTextBox).toHaveValue(customerDetails.firstName); await expect.soft(this.lastNameTextBox).toHaveValue(customerDetails.lastName); await expect.soft(this.phoneNumberTextBox).toHaveValue(customerDetails.phoneNumber); - //await expect.soft(this.emailAddressTextBox).toHaveValue(customerDetails.email); expect.soft(await this.getBailoutCode()).toEqual(bailoutCode); } @@ -40,10 +39,6 @@ export class BailoutPage extends BasePage { expect(this.emailAddressTextBox.inputValue()).not.toBe(''); } - async validateHeavyTruckErrorMessage(){ - - } - async getBailoutCode() { const mainLocalStorage = JSON.parse(await this.page.evaluate('sessionStorage.getItem(\'main\')')); const bailoutCode = mainLocalStorage.applicationUser.pageData['bailout-page'].bailoutCode as number;