Skip to content

Commit

Permalink
cypress: correctly get child
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed Sep 28, 2021
1 parent b93e174 commit 6154d81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress/integration/blocks-accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ describe('Blocks Tests', () => {
cy.wait(500);

// the cypress test is run without slate, but with draftjs
cy.get('.accordion:nth-child(3) > .content')
cy.get('.accordion:nth-child(3) .content')
.first()
.within(() => {
cy.get('.public-DraftStyleDefault-block:nth-child(1)')
Expand Down

0 comments on commit 6154d81

Please sign in to comment.