mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-28 17:41:16 +01:00
Updated test instructions in README
This commit is contained in:
parent
1805aee7ba
commit
c4b92fa0a9
1 changed files with 10 additions and 2 deletions
12
README.md
12
README.md
|
@ -72,10 +72,18 @@ npm run lint-styles
|
||||||
## Tests
|
## Tests
|
||||||
For testing we use [webdriverio](http://webdriver.io) and [selenium-standalone](https://github.com/vvo/selenium-standalone)
|
For testing we use [webdriverio](http://webdriver.io) and [selenium-standalone](https://github.com/vvo/selenium-standalone)
|
||||||
|
|
||||||
[selenium-standalone](https://github.com/vvo/selenium-standalone) starts a server that will launch browsers on your local machine. We use chrome so you **must** have chrome installed on your machine. Now open and terminal and run
|
[selenium-standalone](https://github.com/vvo/selenium-standalone) starts a server that will launch browsers on your local machine. We use chrome so you **must** have chrome installed on your machine.
|
||||||
|
|
||||||
|
Now open and terminal and run the following. This will install the drivers on your local machine
|
||||||
|
|
||||||
```
|
```
|
||||||
./node_modules/.bin/selenium-standalone
|
./node_modules/.bin/selenium-standalone install
|
||||||
|
```
|
||||||
|
|
||||||
|
Now start the standalone server
|
||||||
|
|
||||||
|
```
|
||||||
|
./node_modules/.bin/selenium-standalone start
|
||||||
```
|
```
|
||||||
|
|
||||||
Then open another terminal and run
|
Then open another terminal and run
|
||||||
|
|
Loading…
Reference in a new issue