From 14eeee9e9922070f896a072ef6bc593413331df4 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Fri, 14 Aug 2026 09:58:51 +0300 Subject: [PATCH] stabilize schedule kind assertion --- frontend/website/cypress/e2e/set-scheduling.cy.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/website/cypress/e2e/set-scheduling.cy.ts b/frontend/website/cypress/e2e/set-scheduling.cy.ts index 3c715a7..5747d6b 100644 --- a/frontend/website/cypress/e2e/set-scheduling.cy.ts +++ b/frontend/website/cypress/e2e/set-scheduling.cy.ts @@ -210,8 +210,11 @@ describe('set scheduling', () => { cy.wait('@schedule') cy.get('h1').should('have.text', 'Bible schedule') cy.get('.eyebrow') - .should('have.text', 'Chapter_sections-v2 plan') + .should(($eyebrow) => { + expect($eyebrow.text().trim()).to.equal('Chapter_sections-v2 plan') + }) .find('.schedule-kind') + .should('have.text', 'Chapter_sections-v2') .should('have.css', 'text-transform', 'none') cy.contains('2 Chapter_sections-v2 assignments across 3 days').should('be.visible')