Skip to content

Commit

Permalink
chore(readme): update README
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm committed May 20, 2024
1 parent 3fcda7f commit 9ec51e6
Showing 1 changed file with 63 additions and 1 deletion.
64 changes: 63 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,63 @@
# automated-tests-web
# Uplink Web - Automated Tests

Test Automation Framework designed to run E2E tests in Uplink Web using Cypress.

Tests running using GitHub Actions:

<p align="left">
<a href="https://github.com/Satellite-im/automated-tests-web/actions"><img src="https://github.com/Satellite-im/automated-tests-web/actions/workflows/automated-tests.yml/badge.svg" /></a>
</p>

## Based on

This automation framework is currently based on the following:

- **Cypress:** `13.9.0`

## Setting up to run on the local machine

1. First, clone the original Uplink Web Repository

```sh
git clone https://github.com/Satellite-im/UplinkWeb.git
```

2. Install Dependencies from Uplink Web:

```sh
npm install
```

3. Run instance in localhost from Uplink Web:

```sh
npm run dev
```

4. Clone this testing repository:

```sh
git clone https://github.com/Satellite-im/automated-tests-web.git
```

5. Install testing repository dependencies

```sh
npm install
```

6. If you want to run the cypress tests in command line, open a CLI, go to the testing repository directory and run:

```sh
npx cypress run
```

7. Now, if you want to open the cypress runner and see the tests in action, open a CLI, go to the testing repository directory and run:

```sh
npx cypress open
```

8. On Cypress Runner, select "E2E" and then click on the spec file you would like to run

Any contributions to the repository are welcome!

0 comments on commit 9ec51e6

Please sign in to comment.