This test automation suite is designed to verify the functionality of Orane Findley's portfolio.
- Technologies Used
- Project Structure
- Installation
- Running Tests
- Reporting
- Continuous Integration
- Contributing
- TypeScript
- Playwright
- Node.js
portfolio-test-automation/
├── tests/
│ │ └── testName.spec.ts
├── pages/
│ │ └── pageObject.page.ts
├── data/
│ ├── dataFile.data.ts
├── playwright.config.ts
├── package.json
├── .gitignore
└── README.md
data/
: Contains data files used in tests.pages/
: Contains page object files for different pages or components of the application.tests/
: Contains test files organized by test suites or features..github/workflows/
: Contains GitHub Actions workflowplaywright.yml
: Defines the CI pipeline for running Playwright tests
playwright.config.ts
: Configuration file for Playwrightpackage.json
: Defines project dependencies and scripts.gitignore
: Specifies intentionally untracked files to ignore
- Clone the repository
- Install dependencies:
npm install
To run all tests, use the following command:
npx playwright test
Alternatively, you can use the following shortcut:
npm test
To run all tests in headed mode, use the following command:
npx playwright test --headed
To generate a HTML test report, use the following command:
npx playwright show-report
This project uses GitHub Actions for continuous integration. The workflow is defined in:
.github/workflows/playwright.yml
.
The CI pipeline runs on push to main/master branches and on pull requests.
- Fork the repository
- Create a new branch
- Make your changes
- Submit a pull request