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 404646d651 fix(#3772): Add wait to ensure update of event count in 
measurement (#3773)
404646d651 is described below

commit 404646d65158767b16c5d896884d399964f7c687
Author: Philipp Zehnder <[email protected]>
AuthorDate: Wed Sep 10 14:22:28 2025 +0200

    fix(#3772): Add wait to ensure update of event count in measurement (#3773)
    
    * fix(#3772): Add wait to ensure update of event count in measurement
    
    * fix(#3679): increase waiting time
---
 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..97c982c29d 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(5000);
+
         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