You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/5/en/part5d.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1136,7 +1136,7 @@ Make a test for ensuring that the user who created a blog can delete it.
1136
1136
1137
1137
Make a test which checks that the blogs are ordered according to likes with the blog with the most likes being first.
1138
1138
1139
-
This exercise is quite a bit trickier than the previous ones. One solution is to add a certain class for the element which wraps the blog's content and use the [eq](https://docs.cypress.io/api/commands/eq#Syntax)-method to get the blog element in a specific index:
1139
+
This exercise is quite a bit trickier than the previous ones. One solution is to add a certain class for the element which wraps the blog's content and use the [eq](https://docs.cypress.io/api/commands/eq#Syntax)method to get the blog element in a specific index:
1140
1140
1141
1141
```js
1142
1142
cy.get('.blog').eq(0).should('contain', 'The title with the most likes')
0 commit comments