Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions examples/gatsbygram/cypress/integration/home_page_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,10 @@ describe(`The Home Page`, () => {
cy.fixture(`posts`).then(postsData => {
const post1 = postsData[0]
const post2 = postsData[1]
// open fist post
// open first post
cy.getTestElement(`post`)
.first()
.click()
.wait(100)
cy.url().should("contain", post1.id)
// click right arrow icon to go to 2nd post
cy.getTestElement(`next-post`).click()
Expand All @@ -89,7 +88,6 @@ describe(`The Home Page`, () => {
cy.getTestElement(`post`)
.first()
.click()
.debug()
cy.url().should("contain", post1.id)
// press right arrow to go to 2nd post
cy.get(`body`).type(`{rightarrow}`)
Expand Down