Skip to content

Commit

Permalink
fix(#2393): Add timeout to failing time series widget test (#2394)
Browse files Browse the repository at this point in the history
  • Loading branch information
tenthe authored Jan 5, 2024
1 parent 2620542 commit bb75bbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/cypress/tests/datalake/widgets/timeSeriesSave.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ const runTestCase = (editOption: boolean) => {
cy.get('div').contains('Scatter').click();

// Check if scatter plot is displayed
cy.get('g').should('have.class', 'scatterlayer mlayer');
cy.get('g', { timeout: 10000 }).should('have.class', 'scatterlayer mlayer');

// Change second field from line plot to bar plot
cy.get('div').contains('Line').click();
cy.get('div').contains('Bar').click();

// Check if bar plot is displayed
cy.get('g').should('have.class', 'barlayer mlayer');
cy.get('g', { timeout: 10000 }).should('have.class', 'barlayer mlayer');
};

0 comments on commit bb75bbe

Please sign in to comment.