Skip to content

Commit

Permalink
add doc page about retry-ability (#1314)
Browse files Browse the repository at this point in the history
* start doc page about retry-ability

* edit retry-ability page

* add timeout section

* fix wrong link

* write more sections

* major editing

- Added ‘what you’ll learn’ section
- changed uses of the work ‘select’ to ‘query’ to avoid confusion
- properly formatted cy commands
- Fixed links that were not using url helper
- aligned code comments
- structured content into lists when possible
- fixed header hierarchy
- other minor content edits

* Fix links that are failing :/

* remove stray it.only in the example 🙂

* Move 'retry-ability' doc into 'core concepts'

* move 'retry-ability' file into core-concepts folder
  • Loading branch information
bahmutov authored and jennifer-shehane committed Feb 12, 2019
1 parent 979ad68 commit fb579bf
Show file tree
Hide file tree
Showing 17 changed files with 310 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .textlintrc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@

// Hyphenated
["end ?to ?end", "end-to-end"],
["retryability", "retry-ability"],
["retriability", "retry-ability"],
]
}
},
Expand Down
1 change: 1 addition & 0 deletions source/_data/sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ guides:
core-concepts:
introduction-to-cypress: introduction-to-cypress.html
writing-and-organizing-tests: writing-and-organizing-tests.html
retry-ability: retry-ability.html
interacting-with-elements: interacting-with-elements.html
variables-and-aliases: variables-and-aliases.html
conditional-testing: conditional-testing.html
Expand Down
305 changes: 305 additions & 0 deletions source/guides/core-concepts/retry-ability.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion source/guides/references/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Option | Default | Description
## Timeouts

{% note success Core Concept %}
{% url 'Timeouts are a core concept' introduction-to-cypress#Default-Values %} you should understand well. The default values listed here are meaningful.
{% url 'Timeouts are a core concept' introduction-to-cypress#Timeouts %} you should understand well. The default values listed here are meaningful.
{% endnote %}

Option | Default | Description
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/img/guides/retry-ability/alternating.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/img/guides/retry-ability/eq.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/img/guides/retry-ability/retry-2-items.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added source/img/guides/retry-ability/two-items.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions themes/cypress/languages/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ sidebar:
reporters: Reporters
typescript-support: TypeScript
module-api: Module API
retry-ability: Retry-ability
api:
api: API
table-of-contents: Table of Contents
Expand Down

0 comments on commit fb579bf

Please sign in to comment.