Skip to content

Commit

Permalink
Merge pull request #135 from cdeutsch/must-to-much
Browse files Browse the repository at this point in the history
Change all occurrences of "must simpler" to "much simpler".
  • Loading branch information
Jennifer Shehane authored Oct 11, 2017
2 parents e1f334e + e8d34fd commit 9ef0912
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/api/commands/focus.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ cy.get('textarea').focus().type('Nice Product!').blur()

`.focus()` is just a helpful command which is a simple shortcut. Normally there's no way for a user to simply "focus" an element without causing another action or side effect. Typically the user would have to click or tab to this element.

Oftentimes its must simpler and conveys what you're trying to test by just using `.focus()` directly.
Oftentimes its much simpler and conveys what you're trying to test by just using `.focus()` directly.

If you want the other guarantees of waiting for an element to become actionable, you should use a different command like {% url `.click()` click %}.

Expand Down
2 changes: 1 addition & 1 deletion source/api/commands/submit.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ cy.get('#contact').submit()

`.submit()` is just a helpful command which is a simple shortcut. Normally a user has to perform a different "action" to submit a form. It could be clicking a submit `<button>`, or pressing `enter` on a keyboard.

Oftentimes its must simpler and conveys what you're trying to test by just using `.submit()` directly.
Oftentimes its much simpler and conveys what you're trying to test by just using `.submit()` directly.

If you want the other guarantees of waiting for an element to become actionable, you should use a different command like {% url `.click()` click %} or {% url `.type()` type %}.

Expand Down
2 changes: 1 addition & 1 deletion source/guides/getting-started/testing-your-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ The good news is that we aren't Selenium, nor are we a traditional e2e testing t

## Stubbing the Server

Another valid approach opposed to seeding and talking to your server is to just bypass it altogether. Must simpler!
Another valid approach opposed to seeding and talking to your server is to just bypass it altogether. Much simpler!

While you'll still receive all of the regular HTML / JS / CSS assets from your server and you'll continue to {% url `cy.visit()` visit %} it in the same way - you can instead **stub** the JSON responses coming from it.

Expand Down

0 comments on commit 9ef0912

Please sign in to comment.