Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete Dynamically rendering pageNavigators
Browse files Browse the repository at this point in the history
nothuman2718 committed Apr 1, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 2f82a01 commit fa0ab37
Showing 61 changed files with 290 additions and 708 deletions.
3 changes: 0 additions & 3 deletions docs/guide/browser-drivers/chromedriver.md
Original file line number Diff line number Diff line change
@@ -107,6 +107,3 @@ If your tests require a Chrome instance running inside a [Docker](https://www.do
"args" : ["--no-sandbox"]
}
</code></pre>



Original file line number Diff line number Diff line change
@@ -92,5 +92,3 @@ Once you push your changes and click on save and run button, the pipeline will s

Related articles
- [How-to guides > Write tests > Run on CI Servers > Jenkins ](/guide/ci-integrations/run-nightwatch-on-jenkins.html)


2 changes: 0 additions & 2 deletions docs/guide/ci-integrations/run-nightwatch-on-bamboo.md
Original file line number Diff line number Diff line change
@@ -90,5 +90,3 @@ After installation, now you can sign in to the admin and create a plan after cli

### Related articles
- [How-to guides > Write tests > Run on CI Servers > Jenkins ](/guide/ci-integrations/run-nightwatch-on-jenkins.html)


2 changes: 0 additions & 2 deletions docs/guide/ci-integrations/run-nightwatch-on-circleci.md
Original file line number Diff line number Diff line change
@@ -80,5 +80,3 @@ Click on the pipeline build that just ran followed by the job name i.e. `test`.

### Related articles
- [How-to guides > Write tests > Run on CI Servers > Jenkins ](/guide/ci-integrations/run-nightwatch-on-jenkins.html)


2 changes: 0 additions & 2 deletions docs/guide/ci-integrations/run-nightwatch-on-jenkins.md
Original file line number Diff line number Diff line change
@@ -96,5 +96,3 @@ Nightwatch also publishes HTML reports which can be published to Jenkins
<strong>3.</strong> Run your tests to see the HTML report under `Status->HTML Report`.

![Jenkins HTML report](https://user-images.githubusercontent.com/1677755/178733403-8205f8ad-81a0-47d7-99aa-676e6e211aa2.png)


2 changes: 0 additions & 2 deletions docs/guide/component-testing/introduction.md
Original file line number Diff line number Diff line change
@@ -75,8 +75,6 @@ The only disadvantage would be that it’s going to be a bit slower than the *JS
### Recommended content
- [Blog \> Introducing Component Testing in Nightwatch][6]



[1]: /guide/component-testing/testing-react-components.html
[2]: /guide/component-testing/testing-vue-components.html
[3]: https://github.com/jsdom/jsdom
2 changes: 0 additions & 2 deletions docs/guide/component-testing/storybook-component-testing.md
Original file line number Diff line number Diff line change
@@ -417,8 +417,6 @@ export default {
### Recommended content
- [Blog \> Introducing Component Testing in Nightwatch][14]



[1]: https://storybook.js.org/docs/react/api/csf
[2]: https://storybook.js.org/docs/react/writing-tests/interaction-testing
[3]: https://storybook.js.org/docs/react/writing-tests/accessibility-testing
2 changes: 0 additions & 2 deletions docs/guide/component-testing/vite-plugin.md
Original file line number Diff line number Diff line change
@@ -169,8 +169,6 @@ window['@@component_element'] = element;
### Recommended content
- [Blog \> Introducing Component Testing in Nightwatch][8]



[1]: https://github.com/nightwatchjs/vite-plugin-nightwatch
[2]: https://vitejs.dev/
[3]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
4 changes: 1 addition & 3 deletions docs/guide/concepts/session-capabilities.md
Original file line number Diff line number Diff line change
@@ -68,6 +68,4 @@ The Selenium docs provide apple documentation on all the capabilities, both shar
- [Capabilities specific to Firefox](https://www.selenium.dev/documentation/webdriver/capabilities/firefox/)
- [Capabilities specific to Safari](https://www.selenium.dev/documentation/webdriver/capabilities/safari/)
- [Capabilities specific to Internet Explorer](https://www.selenium.dev/documentation/webdriver/capabilities/internet_explorer/)
- [Capabilities negotiation](https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities#capabilities_negotiation)


- [Capabilities negotiation](https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities#capabilities_negotiation)
2 changes: 0 additions & 2 deletions docs/guide/concepts/test-environments.md
Original file line number Diff line number Diff line change
@@ -96,5 +96,3 @@ Here’s an extract from the `nightwatch.conf.js` config file available as part

### Recommended content
- [Define and use test environments](/guide/configuration/define-test-environments.html)


2 changes: 0 additions & 2 deletions docs/guide/concepts/test-globals.md
Original file line number Diff line number Diff line change
@@ -209,5 +209,3 @@ myGlobalVar is: "integrated global"
### Recommended content
- [Use external globals in tests](/guide/writing-tests/using-test-globals.html)
- [Use global test hooks in tests](/guide/writing-tests/global-test-hooks.html)


2 changes: 0 additions & 2 deletions docs/guide/configuration/advanced-test-source-filtering.md
Original file line number Diff line number Diff line change
@@ -58,5 +58,3 @@ The below settings can be used to define ways of filtering test files.
### Recommended content
- [Reference > All configuration settings](/guide/reference/settings.html)
- [Reference > Configuration defaults](/guide/reference/defaults.html)


2 changes: 0 additions & 2 deletions docs/guide/configuration/aws-devicefarm-settings.md
Original file line number Diff line number Diff line change
@@ -104,5 +104,3 @@ module.exports = (async function() {
### Recommended content
- [Reference > All configuration settings](/guide/reference/settings.html)
- [Reference > Configuration defaults](/guide/reference/defaults.html)


2 changes: 0 additions & 2 deletions docs/guide/configuration/browser-stack-settings.md
Original file line number Diff line number Diff line change
@@ -126,5 +126,3 @@ You can specify proxy settings in Nightwatch by adding the `proxy` key in your `

- [Reference > All configuration settings](/guide/reference/settings.html)
- [Reference > Configuration defaults](/guide/reference/defaults.html)


2 changes: 0 additions & 2 deletions docs/guide/configuration/define-test-environments.md
Original file line number Diff line number Diff line change
@@ -128,5 +128,3 @@ OK. 1 assertions passed. (5.604s)
- [Reference > Browser Drivers > ChormeDriver](/guide/configuration/define-test-environments.html)
- [Reference > All configuration settings](/guide/reference/settings.html)
- [Reference > Configuration defaults](/guide/reference/defaults.html)


2 changes: 0 additions & 2 deletions docs/guide/configuration/web-driver-settings.md
Original file line number Diff line number Diff line change
@@ -164,5 +164,3 @@ If you'd like to enable this, set `start_process` to `true` and specify the loca
### Recommended content
- [Reference > All configuration settings](/guide/reference/settings.html)
- [Reference > Configuration defaults](/guide/reference/defaults.html)


2 changes: 0 additions & 2 deletions docs/guide/contributing/styleguide.md
Original file line number Diff line number Diff line change
@@ -68,5 +68,3 @@ Apart from the guidelines mentioned here, if you are confused, defer on the [Goo
* Embed BrowserStack test results in your job results
* Do not use a bullet (number or symbol) when there is only one item; there must be a least two
items to make a list. In such cases, convert it to a sentence.


3 changes: 0 additions & 3 deletions docs/guide/debugging-tests/using-pause.md
Original file line number Diff line number Diff line change
@@ -57,6 +57,3 @@ While using the `pause()` command without any argument, the following operations
### Recommended content
- [API docs > `.pause()`](/api/pause.html)
- [API docs > `.debug()`](/api/debug.html)


\
2 changes: 0 additions & 2 deletions docs/guide/extending-nightwatch/adding-custom-assertions.md
Original file line number Diff line number Diff line change
@@ -125,5 +125,3 @@ Assertions implement a simple interface which is shared between built-in asserti

### Recommended content
- [Define custom commands](/guide/extending-nightwatch/adding-custom-commands.html)


2 changes: 0 additions & 2 deletions docs/guide/migrating-to-nightwatch/from-protractor.md
Original file line number Diff line number Diff line change
@@ -270,5 +270,3 @@ The best way to ask for questions or report issues related to Nightwatch Angular
[ExceptLink]:/api/expect/
[PageObjectLink]:/api/pageobject/
[APICommandsLink]:/api/commands/


4 changes: 0 additions & 4 deletions docs/guide/mobile-app-testing/assertions.md
Original file line number Diff line number Diff line change
@@ -194,7 +194,3 @@ Learn [how to run native mobile tests on virtual,real and cloud devices][2]
[2]: /guide/mobile-app-testing/running-tests.html

[image-1]: https://user-images.githubusercontent.com/1677755/220315555-6668b4c9-91c3-4221-a126-a14472bb4824.png




4 changes: 0 additions & 4 deletions docs/guide/mobile-app-testing/commands.md
Original file line number Diff line number Diff line change
@@ -287,7 +287,3 @@ Now that you understand selectors and commands,you can proceed towards understan
[1]: /guide/mobile-app-testing/selectors.html
[2]: https://developer.android.com/reference/android/view/KeyEvent
[3]: /guide/mobile-app-testing/assertions.html




4 changes: 0 additions & 4 deletions docs/guide/mobile-app-testing/introduction-writing-tests.md
Original file line number Diff line number Diff line change
@@ -150,7 +150,3 @@ Now that you understand the basics of writing tests for mobile apps, it's time t
[7]: /guide/mobile-app-testing/assertions.html

[image-1]: https://user-images.githubusercontent.com/1677755/220278494-7ca02bb0-6944-47bf-b459-92ffdc9ad38c.png




3 changes: 0 additions & 3 deletions docs/guide/mobile-app-testing/selectors.md
Original file line number Diff line number Diff line change
@@ -53,6 +53,3 @@ Now that you understand selectors, you can use them to write commands & assertio
[image-1]: https://user-images.githubusercontent.com/1677755/220292896-8acdac83-47a2-447c-924b-95240959e695.png
[image-2]: https://user-images.githubusercontent.com/1677755/220293322-e0db2a87-ffd4-4009-8738-709cd91b2be5.png




2 changes: 0 additions & 2 deletions docs/guide/mobile-web-testing/with-appium.md
Original file line number Diff line number Diff line change
@@ -112,5 +112,3 @@ The [Actions API](/api/useractions/) is very general and platform independent. I
});
});
});</code></pre></div>


2 changes: 0 additions & 2 deletions docs/guide/network-requests/capture-network-calls.md
Original file line number Diff line number Diff line change
@@ -99,5 +99,3 @@ Request headers: {
### Recommended content
- [Chrome DevTools Protocol in Selenium 4](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/)
- [Intercept network responses](/guide/network-requests/mock-network-response.html)


3 changes: 0 additions & 3 deletions docs/guide/network-requests/mock-geolocation.md
Original file line number Diff line number Diff line change
@@ -101,6 +101,3 @@ After overriding the geolocation of your browser, if you now want to reset the g

### Recommended content
- [Chrome DevTools Protocol in Selenium 4](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/)



2 changes: 0 additions & 2 deletions docs/guide/nightwatch-cli/command-line-options.md
Original file line number Diff line number Diff line change
@@ -218,5 +218,3 @@ write(results, options, done) {
- [CLI Test Runner](/guide/running-tests/using-the-cli-test-runner.html)
- [Configuration](/guide/reference/settings.html)
- [Nightwatch release notes](/guide/overview/whats-new.html)


2 changes: 0 additions & 2 deletions docs/guide/overview/what-is-webdriver.md
Original file line number Diff line number Diff line change
@@ -33,5 +33,3 @@ description: Webdriver is a general purpose library for automating web browsers
- [Selenium WebDriver Docs](https://www.selenium.dev/documentation/webdriver/)
- [WebDriver Docs on MDN](https://developer.mozilla.org/en-US/docs/Web/WebDriver)
- [W3C WebDriver spec](https://www.w3.org/TR/webdriver1/)


2 changes: 0 additions & 2 deletions docs/guide/overview/whats-new-in-v2.md
Original file line number Diff line number Diff line change
@@ -68,5 +68,3 @@ Please refer to the release notes section for information about the latest chang
- [Nightwatch release notes](/guide/overview/whats-new.html)
- [A First Look at Nightwatch v2.0](https://nightwatchjs.org/blog/a-first-look-at-nightwatch-v2.html)
- [Nightwatch v2 is Now in Beta](https://nightwatchjs.org/blog/nightwatch-v2-beta-is-available.html)


2 changes: 0 additions & 2 deletions docs/guide/overview/whats-new-in-v3.md
Original file line number Diff line number Diff line change
@@ -124,5 +124,3 @@ Relive the test as it happened by enabling DOM history. When this functionaity i
[17]: https://www.deque.com/
[18]: https://www.w3.org/WAI/standards-guidelines/wcag/
[19]: /guide/reporters/dom-history.html


2 changes: 0 additions & 2 deletions docs/guide/reference/settings.md
Original file line number Diff line number Diff line change
@@ -832,5 +832,3 @@ Remember to also enable HTTP keepalive for improved network performance.

- [Default configuration](/guide/reference/defaults.html)
- [CLI options](/guide/nightwatch-cli/command-line-options.html)


2 changes: 0 additions & 2 deletions docs/guide/reporters/use-json-reporter.md
Original file line number Diff line number Diff line change
@@ -81,5 +81,3 @@ The JSON report should have been generated in the local `tests_output` folder in
- [How-to guides > Use reporters > HTML reporter](/guide/reporters/use-html-reporter.html)
- [How-to guides > Use reporters > Add custom reporter](/guide/reporters/create-custom-reporter.html)
- [How-to guides > Use reporters > Mochawesome reporter reporter](/guide/reporters/use-mochawesome-reporter.html)


3 changes: 0 additions & 3 deletions docs/guide/reporters/use-junit-reporter.md
Original file line number Diff line number Diff line change
@@ -137,6 +137,3 @@ The reports can be disabled completely if desired by setting the `output_folder`
- [Configuration > Output settings](/guide/configuration/customising-test-output.html)
- [Configuration > Default settings](/guide/reference/defaults.html)
- [Reference > Nightwatch CLI](/guide/nightwatch-cli/command-line-options.html)



2 changes: 0 additions & 2 deletions docs/guide/reporters/use-mochawesome-reporter.md
Original file line number Diff line number Diff line change
@@ -58,5 +58,3 @@ Mochawesome reporter options can be defined in main Nightwatch config under the
- [How-to guides > Use reporters > Junit-XML reporter](/guide/reporters/use-junit-reporter.html)
- [How-to guides > Use reporters > HTML reporter](/guide/reporters/use-html-reporter.html)
- [Mochawesome on Github](https://github.com/adamgruber/mochawesome)


2 changes: 0 additions & 2 deletions docs/guide/reporters/use-nightwatch-allure-reporter.md
Original file line number Diff line number Diff line change
@@ -74,5 +74,3 @@ Visit the URL provided in the terminal to view the report :
- [How-to guides > Use reporters > HTML reporter](/guide/reporters/use-html-reporter.html)
- [How-to guides > Use reporters > Add custom reporter](/guide/reporters/create-custom-reporter.html)
- [Nightwatch Allure on github](https://github.com/kushmangal/Nightwatch-Allure-Reporter)


2 changes: 0 additions & 2 deletions docs/guide/reporters/use-slack-reporter.md
Original file line number Diff line number Diff line change
@@ -134,5 +134,3 @@ You don't need to do anything extra because you've configured the Slack reporter
- [How-to guides > Use reporters > HTML reporter](/guide/reporters/use-html-reporter.html)
- [How-to guides > Use reporters > Add custom reporter](/guide/reporters/create-custom-reporter.html)
- [Nightwatch Allure on github](https://github.com/kushmangal/Nightwatch-Allure-Reporter)


2 changes: 0 additions & 2 deletions docs/guide/reporters/use-teamcity-reporter.md
Original file line number Diff line number Diff line change
@@ -85,5 +85,3 @@ Recommended content
- [How-to guides > Use reporters > HTML reporter](/guide/reporters/use-html-reporter.html)
- [How-to guides > Use reporters > Add custom reporter](/guide/reporters/create-custom-reporter.html)
- [Nightwatch Teamcity on github](https://www.npmjs.com/package/nightwatch-teamcity)


2 changes: 0 additions & 2 deletions docs/guide/running-tests/catch-js-exceptions.md
Original file line number Diff line number Diff line change
@@ -98,5 +98,3 @@ No assertions ran.
### Recommended content
- [Capture browser console messages](/guide/running-tests/capture-console-messages.html)
- [Chrome DevTools Protocol in Selenium 4](https://www.selenium.dev/documentation/webdriver/bidirectional/chrome_devtools/)


2 changes: 0 additions & 2 deletions docs/guide/running-tests/filtering-by-test-tags.md
Original file line number Diff line number Diff line change
@@ -51,5 +51,3 @@ To skip running tests with a specific tag, use the `--skiptags` flag:
Or to skip multiple tags, add each tag you want to skip as comma-separated:

<pre><code class="language-bash">nightwatch --skiptags login,something_else</code></pre>


2 changes: 0 additions & 2 deletions docs/guide/running-tests/programmatic-api.md
Original file line number Diff line number Diff line change
@@ -77,5 +77,3 @@ The returned object will be the Nightwatch [browser API](/api/#the-browser-objec
const browser = await client.launchBrowser();
</code></pre></div>
</div>


2 changes: 0 additions & 2 deletions docs/guide/running-tests/skipping-disabling-tests.md
Original file line number Diff line number Diff line change
@@ -75,5 +75,3 @@ The below will only run the `startHomepage` testcase and ignore the rest.
});
<br>
</code></pre></div>


2 changes: 0 additions & 2 deletions docs/guide/running-tests/using-with-test-groups.md
Original file line number Diff line number Diff line change
@@ -42,5 +42,3 @@ Also, if you would want to skip running the `smoketests` group you would do the
To skip multiple groups, just add them as comma-separated:

<pre><code class="language-bash">nightwatch --skipgroup addressbook,chat</code></pre>


2 changes: 0 additions & 2 deletions docs/guide/using-nightwatch/accessibility-testing.md
Original file line number Diff line number Diff line change
@@ -70,8 +70,6 @@ You can find the complete list of the rule IDs on the [Axe Github page][7]
- [API Reference: axeInject()][8]
- [API Reference: axeRun()][9]



[1]: https://www.w3.org/WAI/standards-guidelines/wcag/
[2]: https://www.npmjs.com/package/axe-core
[3]: https://www.deque.com/
2 changes: 0 additions & 2 deletions docs/guide/using-page-objects/defining-elements.md
Original file line number Diff line number Diff line change
@@ -162,5 +162,3 @@ When using named page object elements (starting with '@') you can also use CSS p
- [Define sections](/guide/using-page-objects/defining-sections.html)
- [Add page-specific commands](/guide/using-page-objects/writing-page-specific-commands.html)
- [Concepts > Page object model](/guide/concepts/page-object-model.html)


Original file line number Diff line number Diff line change
@@ -107,7 +107,3 @@ And for a more elaborate example... You can reference the main page object via `
- [Define page elements](/guide/using-page-objects/defining-elements.html)
- [Define sections](/guide/using-page-objects/defining-sections.html)
- [Concepts > Page object model](/guide/concepts/page-object-model.html)




2 changes: 0 additions & 2 deletions docs/guide/writing-tests/api-testing.md
Original file line number Diff line number Diff line change
@@ -270,8 +270,6 @@ Example using `waitUntil`:
});
</code></pre></div>



[1]: https://github.com/nightwatchjs/nightwatch-plugin-apitesting
[2]: https://www.npmjs.com/package/supertest
[3]: https://www.npmjs.com/package/express
Original file line number Diff line number Diff line change
@@ -139,5 +139,3 @@ const ecosiaTest: NightwatchTests = {

[2]: https://www.w3.org/TR/webdriver/#locator-strategies
[3]: https://www.w3.org/TR/webdriver/#elements


3 changes: 0 additions & 3 deletions docs/guide/writing-tests/nightwatch-inspector.md
Original file line number Diff line number Diff line change
@@ -63,9 +63,6 @@ All successful commands will show up in Command History as shown below

You can directly copy paste these in your test files and complete your test authoring very easily. Enjoy authoring tests with the Nightwatch inspector!




[image-1]: https://github.com/nightwatchjs/nightwatch-docs/assets/1677755/167f04bd-4bbc-46c7-b582-cff875eae7ac
[image-2]: https://github.com/nightwatchjs/nightwatch-docs/assets/1677755/a4b0f1e3-72a6-4d4e-8e34-bdf0d744c8e7
[image-3]: https://github.com/nightwatchjs/nightwatch-docs/assets/1677755/63e7dd88-2df4-4f5a-b842-81bff3c2aa9f
2 changes: 0 additions & 2 deletions docs/guide/writing-tests/test-syntax-exports.md
Original file line number Diff line number Diff line change
@@ -121,5 +121,3 @@ Or to skip multiple tags, add each tag you want to skip as comma-separated:
- [Using async/await](/guide/writing-tests/using-es-6-async-await.html)

[1]: https://www.ecosia.org/


2 changes: 0 additions & 2 deletions docs/guide/writing-tests/using-cucumberjs.md
Original file line number Diff line number Diff line change
@@ -152,5 +152,3 @@ Using: firefox (92.0.1) on MAC (20.6.0).
10 steps (10 passed)
0m13.024s (executing steps: 0m12.998s)
</pre></div>


2 changes: 0 additions & 2 deletions docs/guide/writing-tests/using-es-6-async-await.md
Original file line number Diff line number Diff line change
@@ -54,5 +54,3 @@ Callbacks can still be used as before and if the callback returns a `Promise`, t

[8]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function
[9]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await


2 changes: 0 additions & 2 deletions docs/guide/writing-tests/using-mocha.md
Original file line number Diff line number Diff line change
@@ -236,5 +236,3 @@ You only need to install it from NPM and it's ready to go. You may optionally co
To use it as a reporter simply pass the `--reporter mocha-junit-reporter` argument as follows:

<div class="sample-test"><pre><code class="language-bash">npx nightwatch examples/tests/ --reporter mocha-junit-reporter</code></pre></div>


2 changes: 0 additions & 2 deletions docs/guide/writing-tests/using-test-globals.md
Original file line number Diff line number Diff line change
@@ -142,5 +142,3 @@ If we still pass the `--env integration` option to the runner, then our globals
};</code></pre>

</div>


2 changes: 0 additions & 2 deletions docs/guide/writing-tests/using-test-hooks.md
Original file line number Diff line number Diff line change
@@ -103,5 +103,3 @@ Failing the test intentionally in a test hook can be achieved by calling `done`
### Global Test Hooks

The same set of test hooks as per test suite is also available globally, outside the scope of the test. Refer to the next section for details.


2 changes: 0 additions & 2 deletions docs/guide/writing-tests/using-xpath-selectors.md
Original file line number Diff line number Diff line change
@@ -55,5 +55,3 @@ If you mostly are using XPath expressions and you want to avoid configuring the

[10]: /gettingstarted/configuration/#extended-settings
[11]: /guide/working-with-page-objects/#element-properties


2 changes: 0 additions & 2 deletions docs/guide/writing-tests/visual-regression-testing.md
Original file line number Diff line number Diff line change
@@ -140,5 +140,3 @@ E.g.:

[image-1]: https://user-images.githubusercontent.com/1677755/222640496-99bff9fd-406e-4600-b4eb-a4426e521e64.png
[image-2]: https://user-images.githubusercontent.com/1677755/222640717-a0a98555-d704-479a-9529-4561ef2a5727.png


Original file line number Diff line number Diff line change
@@ -163,5 +163,3 @@ In the meantime you can write a custom reporter which will output coverage data.
There are some hosted services which provide the reporting and metrics for you in a modern web interface. These services will typically require coverage data in LCOV format. Nightwatch uses [coveralls.io](https://coveralls.io/github/nightwatchjs/nightwatch?branch=main).

For details on how an LCOV reporter should look like and how to integrate with your project, you can check out the [mocha-lcov-reporter](https://www.npmjs.com/package/mocha-lcov-reporter).


255 changes: 0 additions & 255 deletions src/includes/guide-sidebar.ejs
Original file line number Diff line number Diff line change
@@ -1,258 +1,3 @@
<%
const navItems = [
{
title: 'Overview',
collapseId: 'index-collapse',
links: [
{ title: 'What is Nightwatch?', url: '/guide/overview/what-is-nightwatch.html' },
{ title: "What's new in v3?", url: '/guide/overview/whats-new-in-v3.html' },
{ title: 'Release notes', url: '/guide/overview/whats-new.html' }
]
},
{
title: 'Get started',
collapseId: 'quickstarts-collapse',
links: [
{ title: 'Install Nightwatch', url: '/guide/quickstarts/create-and-run-a-nightwatch-test.html' },
{ title: 'Using Selenium server', url: '/guide/quickstarts/create-and-run-a-test-with-selenium-server.html' },
{ title: 'Using cloud providers', url: '/guide/quickstarts/create-and-run-a-test-with-cloud-providers.html' }
]
},
{
title: 'Concepts',
collapseId: 'concepts-collapse',
links: [
{ title: 'Test environments', url: '/guide/concepts/test-environments.html' },
{ title: 'Test globals', url: '/guide/concepts/test-globals.html' },
{ title: 'Session capabilities', url: '/guide/concepts/session-capabilities.html' },
{ title: 'Parallel testing', url: '/guide/concepts/parallel-testing-in-nightwatch.html' },
{ title: 'Page object model', url: '/guide/concepts/page-object-model.html' }
]
},
{
title: 'Write tests',
collapseId: 'writing-tests-collapse',
links: [
{ title: 'Introduction', url: '/guide/writing-tests/introduction.html' },
{ title: 'Commands', url: '/guide/writing-tests/commands.html' },
{ title: 'Selectors', url: '/guide/writing-tests/selectors.html' },
{ title: 'Assertions', url: '/guide/writing-tests/adding-assertions.html' },
{ title: 'BDD test syntax', url: '/guide/writing-tests/test-syntax-bdd.html' },
{ title: 'Exports test syntax', url: '/guide/writing-tests/test-syntax-exports.html' },
{ title: 'ES6 async/await', url: '/guide/writing-tests/using-es-6-async-await.html' },
{ title: 'Finding DOM elements', url: '/guide/writing-tests/finding-interacting-with-dom-elements.html' },
{ title: 'Xpath selectors', url: '/guide/writing-tests/using-xpath-selectors.html' },
{ title: 'Complex user actions', url: '/guide/writing-tests/write-complex-user-actions.html' },
{ title: 'Using test hooks', url: '/guide/writing-tests/using-test-hooks.html' },
{ title: 'Test globals', url: '/guide/writing-tests/using-test-globals.html' },
{ title: 'Global hooks', url: '/guide/writing-tests/global-test-hooks.html' },
{ title: 'Accessibility testing', url: '/guide/using-nightwatch/accessibility-testing.html' },
{ title: 'Visual regression testing', url: '/guide/writing-tests/visual-regression-testing.html' },
{ title: 'API testing', url: '/guide/writing-tests/api-testing.html' },
{ title: 'Unit & integration testing', url: '/guide/writing-tests/write-nodejs-unit-integration-tests.html' },
{ title: 'Test Doubles', url: '/guide/writing-tests/test-doubles.html' },
{ title: 'Nightwatch Inspector', url: '/guide/writing-tests/nightwatch-inspector.html' }
]
},
{
title: 'Run tests',
collapseId: 'runningtests-collapse',
links: [
{ title: 'CLI test runner', url: '/guide/running-tests/using-the-cli-test-runner.html' },
{ title: 'Mocha integration', url: '/guide/writing-tests/using-mocha.html' },
{ title: 'Skip / disable tests', url: '/guide/running-tests/skipping-disabling-tests.html' },
{ title: 'Running in parallel', url: '/guide/running-tests/parallel-running.html' },
{ title: 'Filter by test tags', url: '/guide/running-tests/filtering-by-test-tags.html' },
{ title: 'Test groups', url: '/guide/running-tests/using-with-test-groups.html' },
{ title: 'Programmatic API', url: '/guide/running-tests/programmatic-api.html' },
{ title: 'CucumberJS integration', url: '/guide/writing-tests/using-cucumberjs.html' },
{ title: 'Chrome Devtools Recorder', url: '/guide/writing-tests/chrome-devtools-recorder.html' }
]
},
{
title: 'Component testing',
collapseId: 'component-test-collapse',
links: [
{ title: 'Introduction', url: '/guide/component-testing/introduction.html' },
{ title: 'Using the Vite plugin', url: '/guide/component-testing/vite-plugin.html' },
{ title: 'Test React components', url: '/guide/component-testing/testing-react-components.html' },
{ title: 'Write JSX React tests', url: '/guide/component-testing/write-jsx-react-tests.html' },
{ title: 'Storybook integration', url: '/guide/component-testing/storybook-component-testing.html' },
{ title: 'Using Angular', url: '/guide/component-testing/testing-angular-components.html' },
{ title: 'Debug component tests', url: '/guide/component-testing/debugging.html' }
]
},
{
title: 'Mobile App Testing',
collapseId: 'mobile-apptesting-collapse',
links: [
{ title: 'Introduction', url: '/guide/mobile-app-testing/introduction.html' },
{ title: 'Installation', url: '/guide/mobile-app-testing/installation.html' },
{ title: 'Write Tests', url: '/guide/mobile-app-testing/introduction-writing-tests.html' },
{ title: 'Using Selectors', url: '/guide/mobile-app-testing/selectors.html' },
{ title: 'Using Commands', url: '/guide/mobile-app-testing/commands.html' },
{ title: 'Using Assertions', url: '/guide/mobile-app-testing/assertions.html' },
{ title: 'Run Tests', url: '/guide/mobile-app-testing/running-tests.html' },
{ title: 'Debug Tests', url: '/guide/mobile-app-testing/debug-tests.html' }
]
},
{
title: 'Configuration',
collapseId: 'configuration-collapse',
links: [
{ title: 'Nightwatch config file', url: '/guide/configuration/nightwatch-configuration-file.html' },
{ title: 'Define test environments', url: '/guide/configuration/define-test-environments.html' },
{ title: 'Use ENV variables', url: '/guide/configuration/using-env-variables-in-your-config.html' },
{ title: 'Take screenshots on test failure', url: '/guide/configuration/taking-screenshots-on-fail.html' },
{ title: 'Test output', url: '/guide/configuration/customising-test-output.html' },
{ title: 'Advanced test source filtering', url: '/guide/configuration/advanced-test-source-filtering.html' },
{ title: 'WebDriver settings', url: '/guide/configuration/web-driver-settings.html' },
{ title: 'Selenium settings', url: '/guide/configuration/selenium-settings.html' },
{ title: 'Configure BrowserStack settings', url: '/guide/configuration/browser-stack-settings.html' },
{ title: 'Configure AWS Device Farm', url: '/guide/configuration/aws-devicefarm-settings.html' }
]
},
,
{
title: 'How-to guides',
collapseId: 'howto-collapse',
links: [
{
title: 'Page Objects',
collapseId: 'pageobjects-collapse',
links: [
{ title: 'Getting started', url: '/guide/using-page-objects/getting-started.html' },
{ title: 'Define elements', url: '/guide/using-page-objects/defining-elements.html' },
{ title: 'Define sections', url: '/guide/using-page-objects/defining-sections.html' },
{ title: 'Add page-specific commands', url: '/guide/using-page-objects/writing-page-specific-commands.html' }
]
},
{
title: 'Debug tests',
collapseId: 'debugtests-collapse',
links: [
{ title: 'Overview', url: '/guide/debugging-tests/overview.html' },
{ title: 'Use .pause()', url: '/guide/debugging-tests/using-pause.html' },
{ title: 'Use .debug()', url: '/guide/debugging-tests/using-debug.html' },
{ title: 'Capture browser logs', url: '/guide/running-tests/capture-console-messages.html' },
{ title: 'Capture browser exceptions', url: '/guide/running-tests/catch-js-exceptions.html' },
{ title: 'Take heap snapshot', url: '/guide/running-tests/take-heap-snapshot.html' }
]
},
{
title: 'Run on CI Servers',
collapseId: 'ci-integrations-collapse',
links: [
{ title: 'Jenkins', url: '/guide/ci-integrations/run-nightwatch-on-jenkins.html' },
{ title: 'Github Actions', url: '/guide/ci-integrations/run-nightwatch-on-github-actions.html' },
{ title: 'Bamboo', url: '/guide/ci-integrations/run-nightwatch-on-bamboo.html' },
{ title: 'Azure Pipelines', url: '/guide/ci-integrations/run-nightwatch-on-azure-pipelines.html' },
{ title: 'CircleCI', url: '/guide/ci-integrations/run-nightwatch-on-circleci.html' },
{ title: 'Gitlab CI', url: '/guide/ci-integrations/run-nightwatch-on-gitlab.html' }
]
},
{
title: 'Network requests',
collapseId: 'networkrequests-collapse',
links: [
{ title: 'Capture network calls', url: '/guide/network-requests/capture-network-calls.html' },
{ title: 'Mock network response', url: '/guide/network-requests/mock-network-response.html' },
{ title: 'Mock geolocation', url: '/guide/network-requests/mock-geolocation.html' }
]
},
{
title: 'Reporters',
collapseId: 'reporters-collapse',
links: [
{ title: 'JUnit XML reporter', url: '/guide/reporters/use-junit-reporter.html' },
{ title: 'HTML reporter', url: '/guide/reporters/use-html-reporter.html' },
{ title: 'JSON reporter', url: '/guide/reporters/use-json-reporter.html' },
{ title: 'Mochawesome reporter', url: '/guide/reporters/use-mochawesome-reporter.html' },
{ title: 'Slack reporter', url: '/guide/reporters/use-slack-reporter.html' },
{ title: 'Allure reporter', url: '/guide/reporters/use-nightwatch-allure-reporter.html' },
{ title: 'Teamcity reporter', url: '/guide/reporters/use-teamcity-reporter.html' },
{ title: 'Add custom reporter', url: '/guide/reporters/create-custom-reporter.html' },
{ title: 'DOM history', url: '/guide/reporters/dom-history.html' }
]
},
{
title: 'Test on mobile',
collapseId: 'mobiletesting-collapse',
links: [
{ title: 'Use Nightwatch with Appium', url: '/guide/mobile-web-testing/with-appium.html' },
{ title: 'Override device dimensions', url: '/guide/mobile-web-testing/override-device-dimensions.html' }
]
}
]
},
{
title: 'Extend Nightwatch',
collapseId: 'extending-collapse',
links: [
{ title: 'Define custom commands', url: '/guide/extending-nightwatch/adding-custom-commands.html' },
{ title: 'Define custom assertions', url: '/guide/extending-nightwatch/adding-custom-assertions.html' },
{ title: 'Create custom reporters', url: '/guide/extending-nightwatch/adding-custom-reporters.html' },
{ title: 'Plugins', url: '/guide/extending-nightwatch/adding-plugins.html' }
]
},
{
title: 'Reference',
collapseId: 'reference-collapse',
links: [
{
title: 'Browser Drivers',
collapseId: 'browserdrivers-collapse',
links: [
{ title: 'GeckoDriver (Firefox)', url: '/guide/browser-drivers/geckodriver.html' },
{ title: 'ChromeDriver', url: '/guide/browser-drivers/chromedriver.html' },
{ title: 'SafariDriver', url: '/guide/browser-drivers/safaridriver.html' },
{ title: 'EdgeDriver', url: '/guide/browser-drivers/edgedriver.html' }
]
},
{
title: 'Nightwatch CLI',
collapseId: 'nightwatchcli-collapse',
links: [
{ title: 'Command-line Options', url: '/guide/nightwatch-cli/command-line-options.html' }
]
},
{
title: 'Config settings',
collapseId: 'refconfiguration-collapse',
links: [
{ title: 'All settings', url: '/guide/reference/settings.html' },
{ title: 'Default settings', url: '/guide/reference/defaults.html' }
]
}
]
},
{
title: 'Resources',
collapseId: 'resources-collapse',
links: [
{ title: 'Comparison With Leading Frameworks', url: '/guide/comparison-with-leading-frameworks.html' },
{
title: 'Contribute guide',
collapseId: 'contributing-collapse',
links: [
{ title: 'Style guide', url: '/guide/contributing/styleguide.html' }
]
},
{
title: 'Migrating to Nightwatch 2',
collapseId: 'migrating-collapse',
links: [
{ title: 'From Nightwatch v1', url: '/guide/migrating-to-nightwatch/from-nightwatch-v1.html' },
{ title: 'From Protractor', url: '/guide/migrating-to-nightwatch/from-protractor.html' }
]
}
]
}
];
%>

<div class="clearfix">
<button class="btn btn-link d-md-none collapsed" type="button" data-bs-toggle="collapse"
353 changes: 38 additions & 315 deletions src/includes/pageNavigator.ejs

Large diffs are not rendered by default.

258 changes: 251 additions & 7 deletions src/pages/guide/index.ejs
Original file line number Diff line number Diff line change
@@ -32,6 +32,255 @@ const defaultPageHeaders = {
'resources': 'Reference'
};
const navItems = [
{
title: 'Overview',
collapseId: 'index-collapse',
links: [
{ title: 'What is Nightwatch?', url: '/guide/overview/what-is-nightwatch.html' },
{ title: "What's new in v3?", url: '/guide/overview/whats-new-in-v3.html' },
{ title: 'Release notes', url: '/guide/overview/whats-new.html' }
]
},
{
title: 'Get started',
collapseId: 'quickstarts-collapse',
links: [
{ title: 'Install Nightwatch', url: '/guide/quickstarts/create-and-run-a-nightwatch-test.html' },
{ title: 'Using Selenium server', url: '/guide/quickstarts/create-and-run-a-test-with-selenium-server.html' },
{ title: 'Using cloud providers', url: '/guide/quickstarts/create-and-run-a-test-with-cloud-providers.html' }
]
},
{
title: 'Concepts',
collapseId: 'concepts-collapse',
links: [
{ title: 'Test environments', url: '/guide/concepts/test-environments.html' },
{ title: 'Test globals', url: '/guide/concepts/test-globals.html' },
{ title: 'Session capabilities', url: '/guide/concepts/session-capabilities.html' },
{ title: 'Parallel testing', url: '/guide/concepts/parallel-testing-in-nightwatch.html' },
{ title: 'Page object model', url: '/guide/concepts/page-object-model.html' }
]
},
{
title: 'Write tests',
collapseId: 'writing-tests-collapse',
links: [
{ title: 'Introduction', url: '/guide/writing-tests/introduction.html' },
{ title: 'Commands', url: '/guide/writing-tests/commands.html' },
{ title: 'Selectors', url: '/guide/writing-tests/selectors.html' },
{ title: 'Assertions', url: '/guide/writing-tests/adding-assertions.html' },
{ title: 'BDD test syntax', url: '/guide/writing-tests/test-syntax-bdd.html' },
{ title: 'Exports test syntax', url: '/guide/writing-tests/test-syntax-exports.html' },
{ title: 'ES6 async/await', url: '/guide/writing-tests/using-es-6-async-await.html' },
{ title: 'Finding DOM elements', url: '/guide/writing-tests/finding-interacting-with-dom-elements.html' },
{ title: 'Xpath selectors', url: '/guide/writing-tests/using-xpath-selectors.html' },
{ title: 'Complex user actions', url: '/guide/writing-tests/write-complex-user-actions.html' },
{ title: 'Using test hooks', url: '/guide/writing-tests/using-test-hooks.html' },
{ title: 'Test globals', url: '/guide/writing-tests/using-test-globals.html' },
{ title: 'Global hooks', url: '/guide/writing-tests/global-test-hooks.html' },
{ title: 'Accessibility testing', url: '/guide/using-nightwatch/accessibility-testing.html' },
{ title: 'Visual regression testing', url: '/guide/writing-tests/visual-regression-testing.html' },
{ title: 'API testing', url: '/guide/writing-tests/api-testing.html' },
{ title: 'Unit & integration testing', url: '/guide/writing-tests/write-nodejs-unit-integration-tests.html' },
{ title: 'Test Doubles', url: '/guide/writing-tests/test-doubles.html' },
{ title: 'Nightwatch Inspector', url: '/guide/writing-tests/nightwatch-inspector.html' }
]
},
{
title: 'Run tests',
collapseId: 'runningtests-collapse',
links: [
{ title: 'CLI test runner', url: '/guide/running-tests/using-the-cli-test-runner.html' },
{ title: 'Mocha integration', url: '/guide/writing-tests/using-mocha.html' },
{ title: 'Skip / disable tests', url: '/guide/running-tests/skipping-disabling-tests.html' },
{ title: 'Running in parallel', url: '/guide/running-tests/parallel-running.html' },
{ title: 'Filter by test tags', url: '/guide/running-tests/filtering-by-test-tags.html' },
{ title: 'Test groups', url: '/guide/running-tests/using-with-test-groups.html' },
{ title: 'Programmatic API', url: '/guide/running-tests/programmatic-api.html' },
{ title: 'CucumberJS integration', url: '/guide/writing-tests/using-cucumberjs.html' },
{ title: 'Chrome Devtools Recorder', url: '/guide/writing-tests/chrome-devtools-recorder.html' }
]
},
{
title: 'Component testing',
collapseId: 'component-test-collapse',
links: [
{ title: 'Introduction', url: '/guide/component-testing/introduction.html' },
{ title: 'Using the Vite plugin', url: '/guide/component-testing/vite-plugin.html' },
{ title: 'Test React components', url: '/guide/component-testing/testing-react-components.html' },
{ title: 'Write JSX React tests', url: '/guide/component-testing/write-jsx-react-tests.html' },
{ title: 'Storybook integration', url: '/guide/component-testing/storybook-component-testing.html' },
{ title: 'Using Angular', url: '/guide/component-testing/testing-angular-components.html' },
{ title: 'Debug component tests', url: '/guide/component-testing/debugging.html' }
]
},
{
title: 'Mobile App Testing',
collapseId: 'mobile-apptesting-collapse',
links: [
{ title: 'Introduction', url: '/guide/mobile-app-testing/introduction.html' },
{ title: 'Installation', url: '/guide/mobile-app-testing/installation.html' },
{ title: 'Write Tests', url: '/guide/mobile-app-testing/introduction-writing-tests.html' },
{ title: 'Using Selectors', url: '/guide/mobile-app-testing/selectors.html' },
{ title: 'Using Commands', url: '/guide/mobile-app-testing/commands.html' },
{ title: 'Using Assertions', url: '/guide/mobile-app-testing/assertions.html' },
{ title: 'Run Tests', url: '/guide/mobile-app-testing/running-tests.html' },
{ title: 'Debug Tests', url: '/guide/mobile-app-testing/debug-tests.html' }
]
},
{
title: 'Configuration',
collapseId: 'configuration-collapse',
links: [
{ title: 'Nightwatch config file', url: '/guide/configuration/nightwatch-configuration-file.html' },
{ title: 'Define test environments', url: '/guide/configuration/define-test-environments.html' },
{ title: 'Use ENV variables', url: '/guide/configuration/using-env-variables-in-your-config.html' },
{ title: 'Take screenshots on test failure', url: '/guide/configuration/taking-screenshots-on-fail.html' },
{ title: 'Test output', url: '/guide/configuration/customising-test-output.html' },
{ title: 'Advanced test source filtering', url: '/guide/configuration/advanced-test-source-filtering.html' },
{ title: 'WebDriver settings', url: '/guide/configuration/web-driver-settings.html' },
{ title: 'Selenium settings', url: '/guide/configuration/selenium-settings.html' },
{ title: 'Configure BrowserStack settings', url: '/guide/configuration/browser-stack-settings.html' },
{ title: 'Configure AWS Device Farm', url: '/guide/configuration/aws-devicefarm-settings.html' }
]
},
{
title: 'How-to guides',
collapseId: 'howto-collapse',
links: [
{
title: 'Page Objects',
collapseId: 'pageobjects-collapse',
links: [
{ title: 'Getting started', url: '/guide/using-page-objects/getting-started.html' },
{ title: 'Define elements', url: '/guide/using-page-objects/defining-elements.html' },
{ title: 'Define sections', url: '/guide/using-page-objects/defining-sections.html' },
{ title: 'Add page-specific commands', url: '/guide/using-page-objects/writing-page-specific-commands.html' }
]
},
{
title: 'Debug tests',
collapseId: 'debugtests-collapse',
links: [
{ title: 'Overview', url: '/guide/debugging-tests/overview.html' },
{ title: 'Use .pause()', url: '/guide/debugging-tests/using-pause.html' },
{ title: 'Use .debug()', url: '/guide/debugging-tests/using-debug.html' },
{ title: 'Capture browser logs', url: '/guide/running-tests/capture-console-messages.html' },
{ title: 'Capture browser exceptions', url: '/guide/running-tests/catch-js-exceptions.html' },
{ title: 'Take heap snapshot', url: '/guide/running-tests/take-heap-snapshot.html' }
]
},
{
title: 'Run on CI Servers',
collapseId: 'ci-integrations-collapse',
links: [
{ title: 'Jenkins', url: '/guide/ci-integrations/run-nightwatch-on-jenkins.html' },
{ title: 'Github Actions', url: '/guide/ci-integrations/run-nightwatch-on-github-actions.html' },
{ title: 'Bamboo', url: '/guide/ci-integrations/run-nightwatch-on-bamboo.html' },
{ title: 'Azure Pipelines', url: '/guide/ci-integrations/run-nightwatch-on-azure-pipelines.html' },
{ title: 'CircleCI', url: '/guide/ci-integrations/run-nightwatch-on-circleci.html' },
{ title: 'Gitlab CI', url: '/guide/ci-integrations/run-nightwatch-on-gitlab.html' }
]
},
{
title: 'Network requests',
collapseId: 'networkrequests-collapse',
links: [
{ title: 'Capture network calls', url: '/guide/network-requests/capture-network-calls.html' },
{ title: 'Mock network response', url: '/guide/network-requests/mock-network-response.html' },
{ title: 'Mock geolocation', url: '/guide/network-requests/mock-geolocation.html' }
]
},
{
title: 'Reporters',
collapseId: 'reporters-collapse',
links: [
{ title: 'JUnit XML reporter', url: '/guide/reporters/use-junit-reporter.html' },
{ title: 'HTML reporter', url: '/guide/reporters/use-html-reporter.html' },
{ title: 'JSON reporter', url: '/guide/reporters/use-json-reporter.html' },
{ title: 'Mochawesome reporter', url: '/guide/reporters/use-mochawesome-reporter.html' },
{ title: 'Slack reporter', url: '/guide/reporters/use-slack-reporter.html' },
{ title: 'Allure reporter', url: '/guide/reporters/use-nightwatch-allure-reporter.html' },
{ title: 'Teamcity reporter', url: '/guide/reporters/use-teamcity-reporter.html' },
{ title: 'Add custom reporter', url: '/guide/reporters/create-custom-reporter.html' },
{ title: 'DOM history', url: '/guide/reporters/dom-history.html' }
]
},
{
title: 'Test on mobile',
collapseId: 'mobiletesting-collapse',
links: [
{ title: 'Use Nightwatch with Appium', url: '/guide/mobile-web-testing/with-appium.html' },
{ title: 'Override device dimensions', url: '/guide/mobile-web-testing/override-device-dimensions.html' }
]
}
]
},
{
title: 'Extend Nightwatch',
collapseId: 'extending-collapse',
links: [
{ title: 'Define custom commands', url: '/guide/extending-nightwatch/adding-custom-commands.html' },
{ title: 'Define custom assertions', url: '/guide/extending-nightwatch/adding-custom-assertions.html' },
{ title: 'Create custom reporters', url: '/guide/extending-nightwatch/adding-custom-reporters.html' },
{ title: 'Plugins', url: '/guide/extending-nightwatch/adding-plugins.html' }
]
},
{
title: 'Reference',
collapseId: 'reference-collapse',
links: [
{
title: 'Browser Drivers',
collapseId: 'browserdrivers-collapse',
links: [
{ title: 'GeckoDriver (Firefox)', url: '/guide/browser-drivers/geckodriver.html' },
{ title: 'ChromeDriver', url: '/guide/browser-drivers/chromedriver.html' },
{ title: 'SafariDriver', url: '/guide/browser-drivers/safaridriver.html' },
{ title: 'EdgeDriver', url: '/guide/browser-drivers/edgedriver.html' }
]
},
{
title: 'Nightwatch CLI',
collapseId: 'nightwatchcli-collapse',
links: [
{ title: 'Command-line Options', url: '/guide/nightwatch-cli/command-line-options.html' }
]
},
{
title: 'Config settings',
collapseId: 'refconfiguration-collapse',
links: [
{ title: 'All settings', url: '/guide/reference/settings.html' },
{ title: 'Default settings', url: '/guide/reference/defaults.html' }
]
}
]
},
{
title: 'Resources',
collapseId: 'resources-collapse',
links: [
{ title: 'Comparison With Leading Frameworks', url: '/guide/comparison-with-leading-frameworks.html' },
{
title: 'Contribute guide',
collapseId: 'contributing-collapse',
links: [
{ title: 'Style guide', url: '/guide/contributing/styleguide.html' }
]
},
{
title: 'Migrating to Nightwatch 2',
collapseId: 'migrating-collapse',
links: [
{ title: 'From Nightwatch v1', url: '/guide/migrating-to-nightwatch/from-nightwatch-v1.html' },
{ title: 'From Protractor', url: '/guide/migrating-to-nightwatch/from-protractor.html' }
]
}
]
}
];
const data = {
version: appSettings.version,
baseUrl: appSettings.baseUrl,
@@ -61,25 +310,20 @@ const data = {
<div class="clearfix">
<div class="row flex-xl-nowrap no-gutters">
<div class="col-md-3 col-xl-2 doc-sidebar bs-sidebar hidden-print" role="complementary">
<%- guideSidebar() %>
<%- include('guide-sidebar',{navItems:navItems}) %>
</div>

<div class="col-md-9 col-xl-9 doc-main-body" role="main">
<div class="docs-section" data-page-uri="<%- page.url %>">
<div class="page-content"><%- pageContent %></div>
<%- pageNavigator() %>
<%- include('pageNavigator',{navItems:navItems}) %>
</div>
</div>

<div class="d-none d-xl-block col-xl-2 doc-sideNav right-side-nav">
<%- rightSidebarContent({}) %>
</div>

</div>
</div>

</div>

</section>

<section id="index-container"></section>

0 comments on commit fa0ab37

Please sign in to comment.