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 13:27:47 UTC
(streampipes) branch dev updated: fix: stabilize asset filter test and update value rules expectation (#4313)
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 870fc92669 fix: stabilize asset filter test and update value rules expectation (#4313)
870fc92669 is described below
commit 870fc92669915805f18ccaf91fb0a75b81cf21c0
Author: Philipp Zehnder <te...@users.noreply.github.com>
AuthorDate: Fri Mar 27 14:27:41 2026 +0100
fix: stabilize asset filter test and update value rules expectation (#4313)
---
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) {