Skip to content

Commit 69c0c8b

Browse files
authored
chore(README.md): fix links (#800)
* chore(README.md): fix links Links FAQs to the new link and corrects the file path * chore(README.md): npm -> pnpm * chore(README.md): oops
1 parent d7eca28 commit 69c0c8b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,13 @@ Two tests on two different components are executed. Each test first sets a state
237237
The above spec file can be saved in a folder and added to the command line with the following command:
238238

239239
```sh
240-
npm run test.local.desktop.storybook.localhost -- --spec='tests/specs/storybook-interaction/*.ts'
240+
pnpm run test.local.desktop.storybook.localhost -- --spec='tests/specs/storybook-interaction/*.ts'
241241
```
242242

243243
The Storybook runner will first automatically scan your Storybook instance and then add your tests to the stories that need to be compared. If you don't want the components that you use for interaction testing to be compared twice, you can add a filter to remove the "default" stories from the scan by providing the [`--skipStories`](#--skipstories) filter. This would look like this:
244244

245245
```sh
246-
npm run test.local.desktop.storybook.localhost -- --skipStories="/example-page.*/gm" --spec='tests/specs/storybook-interaction/*.ts'
246+
pnpm run test.local.desktop.storybook.localhost -- --skipStories="/example-page.*/gm" --spec='tests/specs/storybook-interaction/*.ts'
247247
```
248248

249249
### New Custom Command
@@ -493,7 +493,7 @@ devDependencies:
493493
- eslint-plugin-wdio 9.0.8
494494
- husky 9.1.6
495495
- jsdom 25.0.1
496-
- npm-run-all2 6.2.3
496+
- pnpm-run-all2 6.2.3
497497
- release-it 17.6.0
498498
- rimraf 6.0.1
499499
- saucelabs 8.0.0
@@ -516,7 +516,7 @@ Please join our [Discord](https://discord.webdriver.io) Server if you have any q
516516
517517
### Issues
518518
519-
If you have questions, bugs or feature requests, please file an issue. Before submitting an issue, please search the issue archive to help reduce duplicates, and read the [FAQ](../README.md#faq).
519+
If you have questions, bugs or feature requests, please file an issue. Before submitting an issue, please search the issue archive to help reduce duplicates, and read the [FAQ](https://webdriver.io/docs/visual-testing/faq/).
520520
521521
If you can't find it there you can submit an issue where you can submit:
522522
@@ -574,7 +574,7 @@ First, a local baseline needs to be created. This can be done with:
574574
575575
```sh
576576
// With the webdriver protocol
577-
$ npm run test.local.init
577+
$ pnpm run test.local.init
578578
````
579579
580580
This command will create a folder called `localBaseline` that will hold all the baseline images.
@@ -583,7 +583,7 @@ Then run:
583583
584584
```sh
585585
// With the webdriver protocol
586-
npm run test.local.desktop
586+
pnpm run test.local.desktop
587587
```
588588

589589
This will run all tests on a local machine on Chrome.
@@ -593,15 +593,15 @@ This will run all tests on a local machine on Chrome.
593593
First, a local baseline needs to be created. This can be done with:
594594

595595
```sh
596-
npm run test.local.desktop.storybook
596+
pnpm run test.local.desktop.storybook
597597
```
598598

599599
This will Storybook tests with Chrome in headless mode against a Demo Storybook repo located at https://govuk-react.github.io/govuk-react/.
600600

601601
To run the tests with more browsers you can run
602602

603603
```sh
604-
npm run test.local.desktop.storybook -- --browsers=chrome,firefox,edge,safari
604+
pnpm run test.local.desktop.storybook -- --browsers=chrome,firefox,edge,safari
605605
```
606606

607607
> [!NOTE]
@@ -612,10 +612,10 @@ npm run test.local.desktop.storybook -- --browsers=chrome,firefox,edge,safari
612612
The command below is used to test the build on GitHub Actions, it can only be used there and not for local development.
613613

614614
```
615-
$ npm run test.saucelabs
615+
$ pnpm run test.saucelabs
616616
```
617617

618-
It will test against a lot of configurations that can be found [here](./tests/configs/wdio.saucelabs.conf.js).
618+
It will test against a lot of configurations that can be found [here](./tests/configs/wdio.saucelabs.web.conf.ts).
619619
All PRs are automatically checked against Sauce Labs.
620620

621621
## Releasing

0 commit comments

Comments
 (0)