Skip to content

Commit

Permalink
[docs] Recipes - uppercase 'HTML' (#1155)
Browse files Browse the repository at this point in the history
* [docs] Recipes - uppercase 'HTML'

* Fix broken links

* Fix nav menu
  • Loading branch information
VasilyStrelyaev authored and churkin committed Jan 20, 2017
1 parent 0fe46d2 commit 47bfab1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
10 changes: 6 additions & 4 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
* [TEST API](articles/documentation/test-api/index.md)
* [Test Code Structure](articles/documentation/test-api/test-code-structure.md)
* [Fixtures](articles/documentation/test-api/test-code-structure.md#fixtures)
* [Specifying the Start Webpage](articles/documentation/test-api/test-code-structure.md#specifying-the-start-webpage)
* [Initialization and Clean-Up](articles/documentation/test-api/test-code-structure.md#initialization-and-clean-up)
* [Http Authentication](articles/documentation/test-api/test-code-structure.md#http-authentication)
* [Tests](articles/documentation/test-api/test-code-structure.md#tests)
* [Test Controller](articles/documentation/test-api/test-code-structure.md#test-controller)
* [Specifying the Start Webpage](articles/documentation/test-api/test-code-structure.md#specifying-the-start-webpage)
* [Initialization and Clean-Up](articles/documentation/test-api/test-code-structure.md#initialization-and-clean-up)
* [Sharing Variables Between the Hooks and Test Code](articles/documentation/test-api/test-code-structure.md#sharing-variables-between-the-hooks-and-test-code)
* [Skipping Tests](articles/documentation/test-api/test-code-structure.md#skipping-tests)
* [Actions](articles/documentation/test-api/actions/index.md)
* [Click](articles/documentation/test-api/actions/click.md)
* [Double Click](articles/documentation/test-api/actions/double-click.md)
Expand All @@ -43,6 +44,7 @@
* [Assertions](articles/documentation/test-api/assertions/index.md)
* [Assertion API](articles/documentation/test-api/assertions/assertion-api.md)
* [Obtaining Data from the Client](articles/documentation/test-api/obtaining-data-from-the-client.md)
* [HTTP Authentication](articles/documentation/test-api/http-authentication.md)
* [Pausing the Test](articles/documentation/test-api/pausing-the-test.md)
* [Handling Native Dialogs](articles/documentation/test-api/handling-native-dialogs.md)
* [Working with <iframes>](articles/documentation/test-api/working-with-iframes.md)
Expand All @@ -56,7 +58,7 @@
* [RECIPES](articles/documentation/recipes/index.md)
* [Running Tests in Firefox and Chrome Using Travis CI](articles/documentation/recipes/running-tests-in-firefox-and-chrome-using-travis-ci.md)
* [Running Tests Using Travis CI and Sauce Labs](articles/documentation/recipes/running-tests-using-travis-ci-and-sauce-labs.md)
* [Test Static Html Pages](articles/documentation/recipes/test-static-html-pages.md)
* [Test Static HTML Pages](articles/documentation/recipes/test-static-html-pages.md)
* [Testing on Remote Computers and Mobile Devices](articles/documentation/recipes/testing-on-remote-computers-and-mobile-devices.md)
* [Using Page Model](articles/documentation/recipes/using-page-model.md)
* [Using TestCafe with Gulp](articles/documentation/recipes/using-testcafe-with-gulp.md)
6 changes: 3 additions & 3 deletions docs/articles/blog/2016-12-8-testcafe-v0-11-0-released.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Redesigned selector system, built-in assertions and lots of bug fixes! 🚀🚀

#### New selector methods

Multiple [filtering](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#filter-multiple-dom-nodes) and [hierarchical](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#find-elements-by-dom-hierarchy) methods were introduced for selectors.
Multiple [filtering](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#filter-dom-nodes) and [hierarchical](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#search-for-elements-in-the-dom-hierarchy) methods were introduced for selectors.
Now you can build flexible, lazily-evaluated functional-style selector chains.

*Here are some examples:*
Expand Down Expand Up @@ -72,7 +72,7 @@ In this example the selector:

#### Getting selector matching set length

Also, now you can get selector matching set length and check matching elements existence by using selector [`count` and `exists` properties](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#get-selector-matching-set-length).
Also, now you can get selector matching set length and check matching elements existence by using selector [`count` and `exists` properties](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#check-if-an-element-exists).

#### Unawaited parametrized selector calls now allowed outside test context

Expand Down Expand Up @@ -143,7 +143,7 @@ const id = await Selector('.someClass').id;

* [selectorOptions.index](http://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selector-options.html#optionsindex) - use [selector.nth()](http://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#nth) instead.
* [selectorOptions.text](http://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selector-options.html#optionstext) - use [selector.withText()](http://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#withtext) instead.
* [selectorOptions.dependencies](http://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selector-options.html#optionsdependencies) - use [filtering](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#filter-multiple-dom-nodes) and [hierarchical](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#find-elements-by-dom-hierarchy) methods to build combined selectors instead.
* [selectorOptions.dependencies](http://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selector-options.html#optionsdependencies) - use [filtering](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#filter-dom-nodes) and [hierarchical](https://devexpress.github.io/testcafe/documentation/test-api/selecting-page-elements/selectors.html#search-for-elements-in-the-dom-hierarchy) methods to build combined selectors instead.

### ⚙ Built-in assertions. ([#998](https://github.com/DevExpress/testcafe/issues/998))

Expand Down
6 changes: 3 additions & 3 deletions docs/articles/documentation/recipes/test-static-html-pages.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
layout: docs
title: Running Tests Locally
title: Test Static HTML Pages
permalink: /documentation/recipes/test-static-html-pages.html
---
# Test Static Html Pages
# Test Static HTML Pages

There are many ways to test your static html pages using TestCafe, but in this recipe we will focus on a simple one that uses a few other packages and can be easily integrated into your workflow. To do this, go through the following steps.
There are many ways to test your static HTML pages using TestCafe, but in this recipe we will focus on a simple one that uses a few other packages and can be easily integrated into your workflow. To do this, go through the following steps.

* [Step 1 - Install TestCafe and create tests](#step-1---install-testcafe-and-create-tests)
* [Step 2 - Install http-server](#step-2---install-http-server)
Expand Down
2 changes: 1 addition & 1 deletion docs/nav/nav-menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
url: /documentation/recipes/running-tests-in-firefox-and-chrome-using-travis-ci.md
- name: Running Tests Using Travis CI and Sauce Labs
url: /documentation/recipes/running-tests-using-travis-ci-and-sauce-labs.md
- name: Test Static Html Pages
- name: Test Static HTML Pages
url: /documentation/recipes/test-static-html-pages.md
- name: Testing on Remote Computers and Mobile Devices
url: /documentation/recipes/testing-on-remote-computers-and-mobile-devices.md
Expand Down

0 comments on commit 47bfab1

Please sign in to comment.