Skip to content

Demo setup of all open-source end-to-end NodeJS based frameworks for automated browser testing.

Notifications You must be signed in to change notification settings

shane-reaume/e2e-js-demo

Repository files navigation

e2e-js-demo

A demo repository for exploring and running top web testing frameworks. This project supports the blog post Top 5 Web Testing Frameworks for 2024.

A cluster of Icons for each end-to-end framework


Summary

This repository demonstrates how to install and run End-to-End (E2E) testing frameworks using JavaScript. It includes preconfigured scripts for popular frameworks like Playwright, TestCafe, Nightwatch, Puppeteer, Selenium, and Cypress.


Quick Start Guide

1. Install Node.js

Ensure Node.js is installed on your machine. You can download it from Node.js Official Website.

2. Clone and Navigate to the Repository

git clone https://github.com/your-username/e2e-js-demo.git
cd e2e-js-demo

3. Install Dependencies

Run the following script to install all dependencies:

npm run build-npm

Framework-Specific Steps

Playwright

Install Playwright browsers:

npm run setup:playwright-browsers

Run tests in headless mode:

npm run test:playwright-headless

Run tests in headed mode:

npm run test:playwright-headed

TestCafe

Run the TestCafe test:

npm run test:testcafe

Nightwatch

Run the Nightwatch test:

npm run test:nightwatch

Puppeteer

Run the Puppeteer test:

npm run test:puppeteer

Selenium

Run the Selenium test:

npm run test:selenium

Cypress

Run the Cypress test:

npm run test:cypress

Contributing

Feel free to submit issues or pull requests to improve this repository.

About

Demo setup of all open-source end-to-end NodeJS based frameworks for automated browser testing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published