fix initial test data expectations to match seed data
This commit is contained in:
parent
70f0574330
commit
c8c901a306
1 changed files with 3 additions and 3 deletions
|
|
@ -13,15 +13,15 @@ describe('The admin text detail page', () => {
|
|||
})
|
||||
|
||||
it('shows the text name as a heading', () => {
|
||||
cy.get('h1').should('contain', 'test text')
|
||||
cy.get('h1').should('contain', 'Tanach')
|
||||
})
|
||||
|
||||
it('shows the root node', () => {
|
||||
cy.get('#text-detail li').first().should('contain', 'Chapter 1')
|
||||
cy.get('#text-detail li').first().should('contain', 'Tanach')
|
||||
})
|
||||
|
||||
it('shows a child node under the root node', () => {
|
||||
cy.get('#text-detail > ul > li > ul > li').should('contain', 'Section 1.1')
|
||||
cy.get('#text-detail > ul > li > ul > li').should('contain', 'Torah')
|
||||
})
|
||||
|
||||
it('shows an "Add child" button on each node', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue