INSR 8668 work
This commit is contained in:
parent
6d354280cd
commit
bc23169ebf
2 changed files with 1 additions and 13 deletions
|
|
@ -16,7 +16,6 @@ export class WelcomePage extends BasePage {
|
|||
readonly emailAddress: Locator;
|
||||
readonly city: Locator;
|
||||
readonly state: Locator;
|
||||
readonly lossCity: Locator;
|
||||
readonly cookieCloseButton: Locator;
|
||||
readonly GetStartedButton: Locator;
|
||||
readonly applicationPageHeader: Locator;
|
||||
|
|
@ -37,7 +36,6 @@ export class WelcomePage extends BasePage {
|
|||
this.state = page.locator('select[name="\\38 fdf9dc2e13e430eb57529499dceb3eb"]');
|
||||
this.cookieCloseButton = page.getByRole('button', { name: 'Close' });
|
||||
this.GetStartedButton = page.getByRole('button', { name: 'Get Started' });
|
||||
this.lossCity = page.getByRole('textbox', { name: 'Loss city' });
|
||||
this.applicationPageHeader = page.locator('.site-header-container');
|
||||
}
|
||||
|
||||
|
|
@ -81,10 +79,6 @@ export class WelcomePage extends BasePage {
|
|||
return this.city.isVisible();
|
||||
}
|
||||
|
||||
async hasLossLocationInfo() {
|
||||
return this.lossCity.isVisible();
|
||||
}
|
||||
|
||||
async hasApplicationPageHeader(currentClientTag: string, accountNumber?: string) {
|
||||
const client = ClientData.resolveClientForTest(currentClientTag, accountNumber);
|
||||
|
||||
|
|
|
|||
|
|
@ -870,13 +870,7 @@ async function runWorkflow(page: Page, testCase: TestCase) {
|
|||
if (appointmentDetails?.serviceLocation === ServiceLocation.Mobile) {
|
||||
await test.step('ContactDetailsPage >> Validate contact details', async () => {
|
||||
await contactDetailsPage.validateURL(contactDetailsPage.issPageValue);
|
||||
|
||||
|
||||
// await contactDetailsPage.fillContactDetails(customerDetails!);
|
||||
// if (appointmentDetails?.alternateMobileCity) {
|
||||
// await contactDetailsPage.fillAlternateMobileStreetAndCity(appointmentDetails?.alternateMobileStreetAddress!, appointmentDetails?.alternateMobileCity!);
|
||||
//}
|
||||
if (appointmentDetails?.serviceAddress) {
|
||||
if (appointmentDetails?.serviceAddress) {
|
||||
await contactDetailsPage.fillMobileServiceAddress(appointmentDetails.serviceAddress);
|
||||
} else {
|
||||
await contactDetailsPage.fillContactDetails(customerDetails!);
|
||||
|
|
|
|||
Loading…
Reference in a new issue