DigitalConsumer.ISS/playwright-tests/tests
Rob Donahey d539df9550
Feature/insr 7038: Playwright tests for big truck scenarios (#963)
List of commits in this pr:

* Begin essential Playwright test cases for big truck

* Implement non serviceable big truck vin lookup and fix test case tags

* Rename non serviceable vin cases

* Common sense .env.dev example

* Move extraneous stuff to .env.example

* Add playwright environment file to gitignore

* Stop tracking .env.dev

* Specify file ignore

* Ignore .env

* Implement advanced tests for big truck

* Remove duplicate smoke test

* Implement PR feedback

* Add  comments to type definitions for clarity for any future uses

* More descriptive env comment
2025-10-16 16:07:01 -04:00
..
advanced Feature/insr 7038: Playwright tests for big truck scenarios (#963) 2025-10-16 16:07:01 -04:00
mockResponses few corrections. 2025-03-12 11:54:13 -04:00
0000__M.test.ts Feature/insr 7038: Playwright tests for big truck scenarios (#963) 2025-10-16 16:07:01 -04:00
0001_EssentialReplaceStatisAdas.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0002_EssentialRepairInShopAcura.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0003_EssentialTpaNotEnabledBailout.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0004_EssentialTpaEnabled.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0005_EssentialReplaceDynamicAdas.ts latest updates from QA repo 2025-02-18 14:41:05 -05:00
0007_EssentialRepairHyundaiMobile.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0009_EssentialPartsServiceErrorBailout.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0010_EssentialVehicleNotFoundBailout.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0011_EssentialDoNotSeeShopBailout.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0012_EssentialUniqueGlass.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0013_EssentialReplace.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0014_EssentialRepairMobile.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0015_EssentialReplacePartsQuestionsDropoff.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0016_EssentialRepairInShop.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0017_EssentialTpaNotEnabledBailoutReplace.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0018_EssentialTpaEnabledReplace.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0019_EssentialTpaEnabledReplaceRecal.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0020_EssentialVehicleLookupBailout.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0021_EssentialPriceServiceErrorBailout.ts Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00
0022_EssentialServiceableBigTruck.ts Feature/insr 7038: Playwright tests for big truck scenarios (#963) 2025-10-16 16:07:01 -04:00
0023_EssentialNonServiceableBigTruck.ts Feature/insr 7038: Playwright tests for big truck scenarios (#963) 2025-10-16 16:07:01 -04:00
0024_EssentialNonServiceableBigTruckVin.ts Feature/insr 7038: Playwright tests for big truck scenarios (#963) 2025-10-16 16:07:01 -04:00
README.md Added playwright tests into repo (#923) 2025-02-14 09:54:11 -05:00

ISS QA Automation Framework

An automated testing framework for Insurance Self-Service (ISS) application using Playwright with TypeScript.

Technology Stack

• Playwright - Core testing framework • TypeScript - Programming language • Node.js - Runtime environment • SauceLabs/Dockers - Cross-browser testing platform

Key Features

• Page Object Model implementation • Data-driven test approach • Cross-browser testing support • Parallel test execution • HTML report generation • Environment-specific configurations • SauceLabs integration

Test Scenarios

The framework includes various test scenarios covering essential flows like:

  1. Vehicle Not Found Tests (Scenario 10)
  2. Do Not See Shop Tests (Scenario 11)
  3. Unique Glass Tests (Scenario 12)
  4. Replace Tests (Scenario 13)
  5. Repair Mobile Tests (Scenario 14)
  6. Replace Parts Questions Dropoff Tests (Scenario 15)
  7. HP Tests (Scenario 16)

Installation

Install dependencies

npm install

Install SauceLabs CLI

npm install saucectl

Configuration

• Environment configurations in .env files • SauceLabs configuration in config.yml • Playwright configuration in playwright.config.ts

Project Structure

. ├── tests/ # Test scenarios and cases ├── pages/ # Page Object Models ├── business-logic/ # Business logic and data models ├── impl/ # Implementation utilities └── artifacts/ # Test artifacts and results

Running Tests

Run all tests

npx playwright test

Run a specific test file

npx playwright test tests/0000__M.test.ts

Run tests with specific tag (cognitive approach)

npx playwright test --grep "@smoke"

Test Reports

Test results are available in:

• ortoni report (summerized HTML) • HTML format (playwright-report) • JUnit format • SauceLabs dashboard

Key Features

Page Object Model implementation Data-driven test approach Cross-browser testing support Integration with SauceLabs Parallel test execution HTML report generation Environment-specific configurations

Common Test Flows

• Vehicle lookup validation • Shop selection • Damage assessment • Appointment scheduling • Coverage verification • Payment processing

Contributing

  1. Follow the established page object pattern
  2. Add proper test documentation
  3. Include appropriate test tags
  4. Ensure tests are isolated and repeatable

Environment Variables

BASE_URL= CCIS_API_URL= ADMIN_SERVICE_API_URL= SAUCE_USERNAME= SAUCE_ACCESS_KEY=

CI/CD Integration

The project uses Azure Pipelines for continuous integration with configurations defined in azure-pipelines.yml.