Skip to content

Commit 2511db7

Browse files
authored
Merge pull request #2655 from jobjer/patch-6
Update part5d.md
2 parents 54249d1 + 802a797 commit 2511db7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/content/5/en/part5d.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -512,7 +512,7 @@ const NoteForm = ({ createNote }) => {
512512
}
513513
```
514514

515-
There are multiple ways to test this. In the following example, we first search for a note and click its <i>make important</i> button. Then we check that the note now contains a <i>make not important</i> button.
515+
There are multiple ways to test this. In the following example, we first search for a note and click its <i>make not important</i> button. Then we check that the note now contains a <i>make important</i> button.
516516

517517
```js
518518
describe('Note app', function() {
@@ -528,7 +528,7 @@ describe('Note app', function() {
528528
cy.contains('save').click()
529529
})
530530

531-
it('it can be made important', function () {
531+
it('it can be made not important', function () {
532532
cy.contains('another note cypress')
533533
.contains('make not important')
534534
.click()
@@ -541,9 +541,9 @@ describe('Note app', function() {
541541
})
542542
```
543543

544-
The first command searches for a component containing the text <i>another note cypress</i>, and then for a <i>make important</i> button within it. It then clicks the button.
544+
The first command searches for a component containing the text <i>another note cypress</i>, and then for a <i>make not important</i> button within it. It then clicks the button.
545545

546-
The second command checks that the text on the button has changed to <i>make not important</i>.
546+
The second command checks that the text on the button has changed to <i>make important</i>.
547547

548548
The tests and the current frontend code can be found on the [GitHub](https://github.com/fullstack-hy2020/part2-notes/tree/part5-9) branch <i>part5-9</i>.
549549

0 commit comments

Comments
 (0)