-
Notifications
You must be signed in to change notification settings - Fork 257
docs: add quickstart guide for Playwright samples in D365 and improve fork README #450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1 @@ | ||||||||||||||||||||||||||||||||||||||
| Dica: parametrizar fixtures/vari�veis para seu tenant antes de rodar em CI. | ||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||
| Dica: parametrizar fixtures/vari�veis para seu tenant antes de rodar em CI. | |
| # Playwright Samples - Quickstart Guide | |
| This guide will help you get started with the Playwright sample tests for Customer Service automation. | |
| ## Prerequisites | |
| - [Node.js](https://nodejs.org/) (version 14 or higher recommended) | |
| - [npm](https://www.npmjs.com/) (comes with Node.js) | |
| - [Git](https://git-scm.com/) (to clone the repository) | |
| ## Setup | |
| 1. **Clone the repository:** | |
| ```sh | |
| git clone <REPO_URL> | |
| cd Customer Service/Testing/Automation/Playwright/Samples |
-
Install dependencies:
npm install
-
Configure environment variables and fixtures:
- Update any required configuration files (e.g.,
.env,playwright.config.js, or fixture files) with your tenant-specific variables. - Make sure to parametrize fixtures/variables for your tenant before running in CI.
- Update any required configuration files (e.g.,
Running the Tests
To execute all Playwright tests, run:
npx playwright testTo run a specific test file:
npx playwright test path/to/your/test.spec.tsAdditional Tips
- Dica: Parametrize fixtures/variáveis para seu tenant antes de rodar em CI.
- For more information on Playwright, see the official documentation.
Troubleshooting
- If you encounter issues with browser downloads, run
npx playwright install. - Ensure all environment variables are set correctly for your tenant.
Happy Testing!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The text contains character encoding issues. The word 'variáveis' is corrupted as 'vari�veis'. This should be corrected to proper UTF-8 encoding or written in English for consistency.