You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2024/01/05 08:31:44 UTC
(streampipes) branch 2393-fix-failing-e2e-test-timeseriessave updated: fix(#2393): Add timeout to failing time series widget test
This is an automated email from the ASF dual-hosted git repository.
zehnder pushed a commit to branch 2393-fix-failing-e2e-test-timeseriessave
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/2393-fix-failing-e2e-test-timeseriessave by this push:
new ba6c664ff fix(#2393): Add timeout to failing time series widget test
ba6c664ff is described below
commit ba6c664ffb27ee0cc1e170bc0a75b0a6ab65d411
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Fri Jan 5 09:31:34 2024 +0100
fix(#2393): Add timeout to failing time series widget test
---
ui/cypress/tests/datalake/widgets/timeSeriesSave.spec.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/cypress/tests/datalake/widgets/timeSeriesSave.spec.ts b/ui/cypress/tests/datalake/widgets/timeSeriesSave.spec.ts
index 7be0a6660..aabca3d99 100644
--- a/ui/cypress/tests/datalake/widgets/timeSeriesSave.spec.ts
+++ b/ui/cypress/tests/datalake/widgets/timeSeriesSave.spec.ts
@@ -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');
};