-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35abbbf
commit 1f9b76c
Showing
1 changed file
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Automated Testing with Playwright and JavaScript | ||
|
||
This project aims to demonstrate automated testing using Playwright and JavaScript. Playwright is a Node.js library for automating browsers, enabling us to write end-to-end tests to ensure the functionality and integrity of web applications. | ||
|
||
## Setup | ||
|
||
1. **Install Node.js**: If you haven't already, [install Node.js](https://nodejs.org/) on your system. | ||
|
||
2. **Clone the Repository**: Clone this repository to your local machine using the following command: | ||
``` | ||
git clone https://github.com/patriciaqa/testplay.git | ||
``` | ||
|
||
3. **Install Dependencies**: Navigate to the project directory and install the necessary dependencies using npm: | ||
``` | ||
cd your-project | ||
npm install | ||
``` | ||
|
||
## Running Tests | ||
|
||
To run the automated tests, execute the following command in your terminal: | ||
|
||
``` | ||
npx playwright test | ||
``` | ||
|
||
This command will execute the tests defined in the `tests` directory using Playwright. | ||
|
||
## Contributing | ||
|
||
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request. | ||
|
||
## Resources | ||
|
||
- [Playwright Documentation](https://playwright.dev/docs/intro) | ||
- [Node.js Documentation](https://nodejs.org/en/docs/) | ||
|
||
## License | ||
|
||
This project is licensed under the [MIT License](LICENSE). |