//Imports here import { ITestData, getDefaultExperimentsData } from 'framework/TestData' import { ITestCase } from '../framework/Typedefs' import { VehicleLookupType } from 'safelite-playwright-core'; import { ClientData } from 'safelite-playwright-core'; import { getDefaultTestData, setFakerSeedFromTestName } from 'safelite-playwright-core'; import { PaymentMethod } from 'framework/localTypes/Enums'; // Set the seed before generating any data setFakerSeedFromTestName("CashReplaceGlassAddressLookupInshopAfterPay"); // Now get the test data with the seeded faker const cashReplaceGlassAddressLookupInshopAfterPayData: Partial = { ...getDefaultTestData(), // Get default data with current seed // CASH Client paymentMethod: PaymentMethod.SelfPay, // Enable entering funnel with ZIP isEnterFunnelWithZip: true, // Override customer details customerDetails: { ...getDefaultTestData().customerDetails!, lastName: 'Patel', address: { street: '4076 Spectacle Dr', city: 'Columbus', state: 'Ohio', postalCode: '43230', country: 'United States' } }, // Override vehicle details vehicleDetails: { ...getDefaultTestData().vehicleDetails!, year: '2024', make: 'Acura', model: 'MDX', style: '4 door utility', vehicleLookupType: VehicleLookupType.Address }, // Override payment details paymentDetails: ClientData.getDefaultAfterpayDetails(), // Experiments experiments: { ...getDefaultExperimentsData() } } const cashReplaceGlassAddressLookupInshopAfterPayTests: ITestCase[] = []; const tc = { name: `CashReplaceGlassAddressLookupInshopAfterPay`, tags: ['@E2E','@CashReplaceGlassAddressLookupInshopAfterPay', '@test_report', '@CASH', '@CASH-848'], testData: cashReplaceGlassAddressLookupInshopAfterPayData }; cashReplaceGlassAddressLookupInshopAfterPayTests.push(tc); export default cashReplaceGlassAddressLookupInshopAfterPayTests;