This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 0cf87b0959 fix: Fix the test time order data view (#3929)
0cf87b0959 is described below

commit 0cf87b095934ab06713cf456de6af05ec4d7768c
Author: Philipp Zehnder <[email protected]>
AuthorDate: Fri Nov 14 09:52:28 2025 +0100

    fix: Fix the test time order data view (#3929)
---
 ui/cypress/support/utils/dataExplorer/DataExplorerBtns.ts | 2 +-
 ui/cypress/tests/dataExplorer/timeOrderDataView.spec.ts   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/ui/cypress/support/utils/dataExplorer/DataExplorerBtns.ts 
b/ui/cypress/support/utils/dataExplorer/DataExplorerBtns.ts
index 7e1226adea..da3de0faef 100644
--- a/ui/cypress/support/utils/dataExplorer/DataExplorerBtns.ts
+++ b/ui/cypress/support/utils/dataExplorer/DataExplorerBtns.ts
@@ -92,7 +92,7 @@ export class DataExplorerBtns {
             .click();
     }
     public static editDataViewButton(dataViewName: string) {
-        return cy.dataCy('edit-data-view-' + dataViewName);
+        return cy.dataCy('edit-data-view-' + dataViewName.replaceAll(' ', ''));
     }
 
     public static editWidget(widgetName: string) {
diff --git a/ui/cypress/tests/dataExplorer/timeOrderDataView.spec.ts 
b/ui/cypress/tests/dataExplorer/timeOrderDataView.spec.ts
index be5995cdf0..276d902cf7 100644
--- a/ui/cypress/tests/dataExplorer/timeOrderDataView.spec.ts
+++ b/ui/cypress/tests/dataExplorer/timeOrderDataView.spec.ts
@@ -17,7 +17,6 @@
  */
 
 import { DataExplorerUtils } from 
'../../support/utils/dataExplorer/DataExplorerUtils';
-import { DataExplorerBtns } from 
'../../support/utils/dataExplorer/DataExplorerBtns';
 import { DataExplorerWidget } from '../../support/model/DataExplorerWidget';
 
 describe('Test Time Order in Data Explorer', () => {
@@ -53,7 +52,7 @@ describe('Test Time Order in Data Explorer', () => {
 
         // Save and leave view, edit view again and check ascending order
         DataExplorerUtils.saveDataViewConfiguration();
-        DataExplorerBtns.editDataViewButton('New chart');
+        DataExplorerUtils.editDataView('New chart');
         DataExplorerUtils.clickOrderBy('ascending');
         DataExplorerUtils.openVisualizationConfig();
         DataExplorerUtils.selectVisualizationType(DataExplorerWidget.TABLE);

Reply via email to