Skip to content

Commit

Permalink
fix(frontend): fixing output specs failure
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar committed Sep 5, 2023
1 parent 36579e7 commit 2977c2c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions web/cypress/e2e/TestRunDetail/Outputs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 2977c2c

Please sign in to comment.