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 2026/03/27 08:05:22 UTC

(streampipes) 01/01: fix: stabilize asset filter test and update value rules expectation

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

zehnder pushed a commit to branch fix-e2e-asset-filter-value-rules
in repository https://gitbox.apache.org/repos/asf/streampipes.git

commit 77112a1415641ce30d274b59c69c890f395a8f1e
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Fri Mar 27 09:05:03 2026 +0100

    fix: stabilize asset filter test and update value rules expectation
---
 ui/cypress/fixtures/connect/valueRules/expected.csv          | 2 +-
 ui/cypress/support/utils/configuration/ConfigurationUtils.ts | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ui/cypress/fixtures/connect/valueRules/expected.csv b/ui/cypress/fixtures/connect/valueRules/expected.csv
index 32d0094214..94a4707a5c 100644
--- a/ui/cypress/fixtures/connect/valueRules/expected.csv
+++ b/ui/cypress/fixtures/connect/valueRules/expected.csv
@@ -1,2 +1,2 @@
 temperature;value
-50.003334045410156;10.0
+50.00333333333327;10.0
diff --git a/ui/cypress/support/utils/configuration/ConfigurationUtils.ts b/ui/cypress/support/utils/configuration/ConfigurationUtils.ts
index 618809df64..7a0675e040 100644
--- a/ui/cypress/support/utils/configuration/ConfigurationUtils.ts
+++ b/ui/cypress/support/utils/configuration/ConfigurationUtils.ts
@@ -35,11 +35,16 @@ export class ConfigurationUtils {
 
     public static addNewLabel(name: string, description: string = '') {
         cy.dataCy('new-label-button').click();
-        cy.dataCy('label-name').clear().type(name);
+        cy.dataCy('label-name')
+            .should('be.visible')
+            .and('not.be.disabled')
+            .clear()
+            .type(name);
         if (description !== '') {
             cy.dataCy('label-description').type(description);
         }
         cy.dataCy('save-label-button').click();
+        cy.dataCy('label-name').should('not.exist');
     }
 
     public static checkLabel(labelName: string) {