diff --git a/cypress/e2e/adminText.cy.js b/cypress/e2e/adminText.cy.js index 18daef3..84be4cd 100644 --- a/cypress/e2e/adminText.cy.js +++ b/cypress/e2e/adminText.cy.js @@ -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', () => {