Skip to content

Commit

Permalink
Merge branch 'master' into ci-action-update
Browse files Browse the repository at this point in the history
  • Loading branch information
nemesifier committed Feb 20, 2024
2 parents 795c6c9 + 558e9f8 commit 173d0ce
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,28 @@ Prerequisites for running browser-based tests:
6. In the test environment of openwisp-radius, the `default` organization
must be present.

After doing all the prerequisites, run browser based tests using the following command:
After doing all the prerequisites, you need to make sure OpenWISP RADIUS is running:

```
cd $OPENWISP_RADIUS_PATH
# enable python virtual environment if needed
./manage.py runserver
```

Then, in another terminal, from the root directory of this repository,
you need to build this app and serve it:

```
yarn build-dev
yarn start
```

Then, in another terminal, from the root directory of this repository,
you can finally run the browser based tests:

```
export OPENWISP_RADIUS_PATH=<PATH_TO_OPENWISP_RADIUS_DIRECTORY>
# enable python virtual environment if needed
yarn browser-test
```

Expand Down

0 comments on commit 173d0ce

Please sign in to comment.