diff --git a/cypress/e2e/main.spec.cy.js b/cypress/e2e/main.spec.cy.js index 3c47c7d..2d3dc6d 100644 --- a/cypress/e2e/main.spec.cy.js +++ b/cypress/e2e/main.spec.cy.js @@ -2,11 +2,11 @@ describe('template spec', () => { it('passes', () => { cy.visit('localhost:5173/') cy.get('[data-qa="profile-box"]') - cy.get('[data-qa="comment-input"]').first().type('Test 123') + cy.get('[data-qa="comment-input"]').first().type('Test 1234') cy.get('[data-qa="publish-button"]').first().click() - cy.get('[data-qa="comment-text"]').contains('Test 123') + cy.get('[data-qa="comment-text"]').contains('Test 1234') cy.get('[data-qa="comment-text"]').each(($element) => { - if ($element.text() === 'Test 123') { + if ($element.text() === 'Test 1234') { cy.get($element).siblings('header').children('[data-qa="delete-button"]').click() } })