Skip to content

Commit

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

Please sign in to comment.