From 5fba2138e2776abff3597ec5eca0362e900eaa89 Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Sat, 11 Apr 2026 22:37:14 +0300 Subject: [PATCH] assert input and button for adding texts exists --- cypress/e2e/admin.cy.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/e2e/admin.cy.js b/cypress/e2e/admin.cy.js index af905a6..c277eb9 100644 --- a/cypress/e2e/admin.cy.js +++ b/cypress/e2e/admin.cy.js @@ -1,6 +1,7 @@ describe('The admin page', () => { it('successfully loads texts', () => { cy.visit('/admin') - + cy.get('#newTextname').type('new text') + cy.get('#submit').click() }) })