activate node before clicking action buttons in tests
This commit is contained in:
parent
c73cbe2f1a
commit
793b0149b8
5 changed files with 39 additions and 13 deletions
|
|
@ -30,7 +30,7 @@ describe('The user text detail page', () => {
|
|||
cy.visit('/texts/0')
|
||||
cy.wait('@getNodes')
|
||||
|
||||
cy.get('#text-detail > ul > li').first()
|
||||
cy.get('#text-detail > ul > li').first().activateNode()
|
||||
.children('button.add-child').click()
|
||||
cy.get('#text-detail > ul > li').first()
|
||||
.children('input.child-title').type('My new child')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue