Skip to content

Commit

Permalink
test codacy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ramezsaeed committed Nov 24, 2024
1 parent 4a3d4e1 commit 65d5d23
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions packages/playground/tests/frontend_selenium/selenium.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
| [webdriver-manager](https://pypi.org/project/webdriver-manager/) | `4.0.2` |

## Running selenium

There are two ways to run the Automation selenium tests:

1- Run Tests against the local dashboard environment which installed from latest commit on development branch.
Expand All @@ -25,22 +26,23 @@

- You need to leave the localhost running and open a new terminal.


### Second (Run Tests against any live environment)

#### update the config files to point to the target environment

- Update the env url and some other variables directly in these files config.ini and base.by
- Ex.: to run agains Mainnet
- config.ini:
```
```
[Base]
net = main
```
```
- base.by:
```
```
base_url = 'https://dashboard.grid.tf/'
```
```

### Setup environment configurations

Expand All @@ -55,7 +57,6 @@
- `email`: a valid email that will be used for all the automated tests.
- If the port in serve changes from `5173` for any reason, you should update the `port` under the `Base` section in [config.ini](../frontend_selenium/Config.ini) to reflect the new value.


### Prepare tests requirements

- Change directory to frontend selenium by running `cd packages/playground/tests/frontend_selenium/` in the command line.
Expand Down

0 comments on commit 65d5d23

Please sign in to comment.