// Imports here import { ITestData } from 'framework/TestData'; import { VehicleDamage, ServiceLocation } from 'safelite-playwright-core'; import { ITestCase } from '../../framework/Typedefs' import { getNextWeekday } from 'safelite-playwright-core'; import { defaultTestData } from 'safelite-playwright-core'; // Both repair and replace selected (alert) Test Data const repairAndReplaceData: Partial = { ...defaultTestData, // Start with all defaults // Override specific fields with test-specific data vehicleDetails: { ...defaultTestData.vehicleDetails!, year: '2020', make: 'Acura', model: 'ILX', style: '4 door sedan' }, vehicleDamage: [ VehicleDamage.WindshieldOneChip, VehicleDamage.RearWindow ], appointmentDetails: { serviceLocation: ServiceLocation.DropOff, appointmentDate: getNextWeekday() }, alertFlags: { isRepairReplace: true } }; const repairAndReplaceTests: ITestCase[] = []; const tc = { name: `alert0002 Both repair and replace selected`, tags: ['@Alert', '@RepairReplace', '@test_report'], testData: repairAndReplaceData }; repairAndReplaceTests.push(tc); export default repairAndReplaceTests;