From c8c901a306165cdb5042aee797f177c753d45b66 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Thu, 23 Apr 2026 09:45:25 +0300 Subject: [PATCH] fix initial test data expectations to match seed data --- cypress/e2e/adminText.cy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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', () => {