From 2977c2c6f96b16b39cef20a12d5542ca9eaaaff2 Mon Sep 17 00:00:00 2001 From: Oscar Reyes Date: Tue, 5 Sep 2023 13:42:55 -0600 Subject: [PATCH] fix(frontend): fixing output specs failure --- web/cypress/e2e/TestRunDetail/Outputs.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web/cypress/e2e/TestRunDetail/Outputs.spec.ts b/web/cypress/e2e/TestRunDetail/Outputs.spec.ts index aed1f4880a..095aaef240 100644 --- a/web/cypress/e2e/TestRunDetail/Outputs.spec.ts +++ b/web/cypress/e2e/TestRunDetail/Outputs.spec.ts @@ -14,7 +14,7 @@ describe('Outputs', () => { // Save output cy.wait('@getSelect'); - cy.get('[data-cy=output-save-button]').click(); + cy.get('[data-cy=output-save-button]').click({force: true}); cy.get('[data-cy=output-pending-tag]').should('have.length', 1); // Add new output from scratch @@ -27,7 +27,7 @@ describe('Outputs', () => { cy.get('[data-cy=expression-editor] [contenteditable=true]').type('attr:http.status_code'); }); cy.wait('@getSelect'); - cy.get('[data-cy=output-save-button]').click(); + cy.get('[data-cy=output-save-button]').click({force: true}); cy.get('[data-cy=output-pending-tag]').should('have.length', 2); // Publish and run @@ -53,7 +53,7 @@ describe('Outputs', () => { // Save output cy.wait('@getSelect'); - cy.get('[data-cy=output-save-button]').click(); + cy.get('[data-cy=output-save-button]').click({force: true}); cy.get('[data-cy=output-pending-tag]').should('have.length', 1); // Add new output from scratch @@ -66,7 +66,7 @@ describe('Outputs', () => { cy.get('[data-cy=expression-editor] [contenteditable=true]').type('attr:http.status_code'); }); cy.wait('@getSelect'); - cy.get('[data-cy=output-save-button]').click(); + cy.get('[data-cy=output-save-button]').click({force: true}); cy.get('[data-cy=output-pending-tag]').should('have.length', 2); // Delete output @@ -96,7 +96,7 @@ describe('Outputs', () => { // Save output cy.wait('@getSelect'); - cy.get('[data-cy=output-save-button]').click(); + cy.get('[data-cy=output-save-button]').click({force: true}); cy.get('[data-cy=output-pending-tag]').should('have.length', 1); // Revert