An open API service indexing awesome lists of open source software.

https://github.com/betterstack-community/react-todo-mvc


https://github.com/betterstack-community/react-todo-mvc

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# Playwright End-to-End Testing Demo

The repo holds the React variant of the popular [TodoMVC](https://todomvc.com/)
application. It's used here to demonstrate end-to-end testing with
[Playwright](https://playwright.dev).

The original code can be found
[here](https://github.com/tastejs/todomvc/tree/master/examples/react).

**Tutorial**:
[Playwright End-to-End testing: A Step-by-Step Guide](https://betterstack.com/community/guides/testing/playwright-end-to-end-testing/)

![React TodoMVC demo](screenshot.png)

## 🟢 Prerequisites

- [A recent version of Node.js](https://nodejs.org/en/download), preferably the
latest LTS.

## 📦 Getting started

- Clone this repository to your local machine:

```bash
git clone https://github.com/betterstack-community/react-todo-mvc
```

- Change into the project directory, and install the dependencies:

```bash
cd react-todo-mvc
```

```bash
npm install
```

- Start the development server on port 8080:

```bash
npm run dev
```

- Open http://127.0.0.1:8080 in your browser to view and interact with the
application.

- [Follow the tutorial](<(https://betterstack.com/community/guides/testing/playwright-end-to-end-testing)>)
to learn how to write and execute end-to-end tests for the application with
Playwright.

## âš– License

The code used in this project and in the linked tutorial are licensed under the
[Apache License, Version 2.0](LICENSE)