From 066e32ad35e47d373255797cdcd84f4b20fa4c94 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 21 Aug 2020 10:11:17 +0100 Subject: [PATCH] fix cypress test --- packages/builder/cypress/integration/createTable.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/builder/cypress/integration/createTable.spec.js b/packages/builder/cypress/integration/createTable.spec.js index c744eb7e4f..214727ab7d 100644 --- a/packages/builder/cypress/integration/createTable.spec.js +++ b/packages/builder/cypress/integration/createTable.spec.js @@ -38,10 +38,10 @@ context('Create a Table', () => { it('edits a record', () => { cy.get("tbody .ri-more-line").click() cy.get("[data-cy=edit-row]").click() - cy.get(".actions input").type("updatedRecord") + cy.get(".actions input").type("Updated") cy.contains("Save").click() - cy.contains('updatedRecord').should('have.text', 'updatedRecord') + cy.contains('RoverUpdated').should('have.text', 'RoverUpdated') }) it('deletes a record', () => { @@ -49,7 +49,7 @@ context('Create a Table', () => { cy.get("[data-cy=delete-row]").click() cy.get(".modal-actions").contains("Delete").click() - cy.contains('updatedRecord').should('not.exist') + cy.contains('RoverUpdated').should('not.exist') }) it('deletes a column', () => {