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

zehnder pushed a commit to branch 
3772-flaky-e2e-test-editadapter-fails-inconsistently
in repository https://gitbox.apache.org/repos/asf/streampipes.git


The following commit(s) were added to 
refs/heads/3772-flaky-e2e-test-editadapter-fails-inconsistently by this push:
     new 185964cce3 fix(#3772): Add wait to ensure update of event count in 
measurement
185964cce3 is described below

commit 185964cce3e70be33fa4deac54ea8f2faa303b0e
Author: Philipp Zehnder <[email protected]>
AuthorDate: Wed Sep 10 11:23:56 2025 +0200

    fix(#3772): Add wait to ensure update of event count in measurement
---
 ui/cypress/tests/connect/editAdapter.smoke.spec.ts | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/ui/cypress/tests/connect/editAdapter.smoke.spec.ts 
b/ui/cypress/tests/connect/editAdapter.smoke.spec.ts
index 48866961ef..f9f5fe437a 100644
--- a/ui/cypress/tests/connect/editAdapter.smoke.spec.ts
+++ b/ui/cypress/tests/connect/editAdapter.smoke.spec.ts
@@ -105,16 +105,14 @@ describe('Test Edit Adapter', () => {
             initialValue = value;
         });
 
+        cy.wait(2000);
+
         DataLakeBtns.refreshDataLakeMeasures().click();
 
         DataLakeUtils.waitForCountingResults();
 
         DataLakeUtils.getDatalakeNumberOfEvents().then(newValue => {
-            // IMPORTANT: Currently we implemented a workaround by showing the 
user a warning message when the data type is changed.
-            // In the future, we need a migration mechanism to automatically 
change all the StreamPipes resources that are effected
-            // by the change. Once this is implemented the following line must 
be changed to .not.equal.
-            // The issue is tracked here: 
https://github.com/apache/streampipes/issues/2954
-            expect(newValue).equal(initialValue);
+            expect(newValue).not.equal(initialValue);
         });
     });
 });

Reply via email to