diff --git a/README.md b/README.md index 3be0d47..f3eb98d 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,27 @@ See [Command Line Interface](https://devexpress.github.io/testcafe/documentation ## Examples in This Repository -> We are in the process of filling this repository with more examples. - -The examples are organized in the following sections: - -* [Inject Custom Client Scripts](examples/client-scripts/) -* [Access Element Properties](examples/element-properties/) -* [Manipulate the Tested Page](examples/page-manipulation/) +> We are in the process of adding more examples to this repository. + +The repository includes the following examples: + +* [Find Element By Trimmed Text](examples/find-element-by-trimmed-text) +* [Use XPath Selectors](examples/use-xpath-selectors) +* [Access Element Properties](examples/element-properties) +* [Iterate Over Table Rows](examples/iterate-over-table-rows) +* [Test \ Elements](examples/test-select-elements) +* [Page Reload](examples/page-manipulation) +* [Extract Code to Helpers](examples/extract-code-to-helpers) +* [Create Data-Driven Tests](examples/create-data-driven-tests) +* [Use Page Model](examples/use-page-model) +* [Inject Custom Client Scripts](examples/client-scripts) +* [Import Third-Party Modules](examples/import-third-party-modules) +* [Mock Date](examples/mock-date) +* [Mock Geolocation API](examples/mock-geolocation-api) +* [Wait Until an Element Property Has a Specific Value](examples/wait-for-element-property-value) +* [Wait For File Download](examples/wait-for-file-download) +* [Access Element Properties](examples/element-properties) + +Below are the examples that run in Chrome or Firefox only or require additional launch arguments. You should launch these examples separately. + +* [Mock Camera/Microphone Access](detached-examples/mock-camera-microphone-access) diff --git a/dedicated-examples/mock-camera-microphone-access/README.md b/detached-examples/mock-camera-microphone-access/README.md similarity index 100% rename from dedicated-examples/mock-camera-microphone-access/README.md rename to detached-examples/mock-camera-microphone-access/README.md diff --git a/dedicated-examples/mock-camera-microphone-access/index.html b/detached-examples/mock-camera-microphone-access/index.html similarity index 100% rename from dedicated-examples/mock-camera-microphone-access/index.html rename to detached-examples/mock-camera-microphone-access/index.html diff --git a/dedicated-examples/mock-camera-microphone-access/mock-camera-microphone-access.js b/detached-examples/mock-camera-microphone-access/mock-camera-microphone-access.js similarity index 100% rename from dedicated-examples/mock-camera-microphone-access/mock-camera-microphone-access.js rename to detached-examples/mock-camera-microphone-access/mock-camera-microphone-access.js diff --git a/package.json b/package.json index 692381e..586a4a4 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "scripts": { "examples": "testcafe chrome,firefox examples -a \"node server/index.js\"", - "mock-camera-microphone-access": " testcafe --hostname localhost \"chrome --use-fake-ui-for-media-stream --use-fake-device-for-media-stream\" dedicated-examples/mock-camera-microphone-access/mock-camera-microphone-access.js", + "mock-camera-microphone-access": " testcafe --hostname localhost \"chrome --use-fake-ui-for-media-stream --use-fake-device-for-media-stream\" detached-examples/mock-camera-microphone-access/mock-camera-microphone-access.js", "test": "npm run examples && npm run mock-camera-microphone-access" }, "devDependencies": {