Skip to content

Commit

Permalink
Fix Nightwatch links in Component Testing guides.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed Mar 21, 2024
1 parent 506c2f2 commit 31ba9d3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion guide/ci-integrations/run-nightwatch-on-gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ You can view the execution output in the shell logs of the particular pipeline r


### Related articles
- [How-to guides > Write tests > Run on CI Servers > Jenkins ](https://nightwatchjs.org/guide/ci-integrations/run-nightwatch-on-jenkins.html)
- [How-to guides > Write tests > Run on CI Servers > Jenkins ](/guide/ci-integrations/run-nightwatch-on-jenkins.html)
2 changes: 1 addition & 1 deletion guide/component-testing/debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Run the example and observe the breakpoint in the Chrome devtools console.

<a href="https://raw.githubusercontent.com/nightwatchjs/nightwatch-storybook-plugin/main/.github/assets/debugger.png"><img src="https://raw.githubusercontent.com/nightwatchjs/nightwatch-storybook-plugin/main/.github/assets/debugger.png" alt="Screenshot of the Chrome Devtools debugger paused at a breakpoint" style="max-width:800px"></a>

You can also use the [integrated debug console](https://nightwatchjs.org/guide/debugging-tests/using-debug.html) to issue commands from Nightwatch.
You can also use the [integrated debug console](/guide/debugging-tests/using-debug.html) to issue commands from Nightwatch.


### Recommended content
Expand Down
4 changes: 2 additions & 2 deletions guide/component-testing/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ The only disadvantage would be that it’s going to be a bit slower than the *JS
</div>
</div>

[1]: https://nightwatchjs.org/guide/component-testing/testing-react-components.html
[2]: https://nightwatchjs.org/guide/component-testing/testing-vue-components.html
[1]: /guide/component-testing/testing-react-components.html
[2]: /guide/component-testing/testing-vue-components.html
[3]: https://github.com/jsdom/jsdom
[4]: https://karma-runner.github.io/latest/index.html
[5]: https://pptr.dev/
Expand Down
2 changes: 1 addition & 1 deletion guide/component-testing/storybook-component-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ Run the example and observe the breakpoint in the Chrome devtools console.

<a href="https://raw.githubusercontent.com/nightwatchjs/nightwatch-storybook-plugin/main/.github/assets/debugger.png"><img src="https://raw.githubusercontent.com/nightwatchjs/nightwatch-storybook-plugin/main/.github/assets/debugger.png" alt="Screenshot of the Chrome Devtools debugger paused at a breakpoint" style="max-width:800px"></a>

You can also use the [integrated debug console](https://nightwatchjs.org/guide/debugging-tests/using-debug.html) to issue commands from Nightwatch.
You can also use the [integrated debug console](/guide/debugging-tests/using-debug.html) to issue commands from Nightwatch.


### Accessibility testing
Expand Down
6 changes: 3 additions & 3 deletions guide/component-testing/testing-react-components.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const FormStory = () => &lt;Form /&gt;

In component testing terms, a "story" is representation of a particular component with props or args. In our concrete case, it is a single `export const` declaration.

- Read more about [writing tests in Component Story Format](https://nightwatchjs.org/guide/component-testing/write-jsx-react-tests.html)
- Read more about [writing tests in Component Story Format](/guide/component-testing/write-jsx-react-tests.html)

#### Without JSX

Expand Down Expand Up @@ -196,10 +196,10 @@ We've put together a basic To-do app written in React and built on top of Vite w
- [Blog \> Introducing Component Testing in Nightwatch][8]

[1]: https://github.com/nightwatchjs/nightwatch-plugin-react
[2]: https://nightwatchjs.org/guide/component-testing/vite-plugin.html
[2]: /guide/component-testing/vite-plugin.html
[3]: https://storybook.js.org/docs/react/api/csf
[4]: https://github.com/ComponentDriven/csf
[5]: https://storybook.js.org/
[6]: http://local-new.nightwatchjs.org/guide/component-testing/vite-plugin.html#plugin-options
[6]: /guide/component-testing/vite-plugin.html#postdoc-plugin-options
[7]: https://github.com/nightwatchjs-community/todo-react "nightwatchjs-community/todo-react"
[8]: https://nightwatchjs.org/blog/introducing-component-testing-in-nightwatch/
2 changes: 1 addition & 1 deletion guide/component-testing/write-jsx-react-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,6 @@ We've put together a basic To-do app written in React and built on top of Vite w
[2]: https://github.com/ComponentDriven/csf
[3]: https://storybook.js.org/
[4]: https://storybook.js.org/docs/react/writing-stories/introduction
[5]: http://local-new.nightwatchjs.org/guide/component-testing/vite-plugin.html#plugin-options
[5]: /guide/component-testing/vite-plugin.html#postdoc-plugin-options
[6]: https://github.com/nightwatchjs-community/todo-react "nightwatchjs-community/todo-react"
[7]: https://nightwatchjs.org/blog/introducing-component-testing-in-nightwatch/

0 comments on commit 31ba9d3

Please sign in to comment.