Skip to content

Commit 404646d

Browse files
authored
fix(apache#3772): Add wait to ensure update of event count in measurement (apache#3773)
* fix(apache#3772): Add wait to ensure update of event count in measurement * fix(apache#3679): increase waiting time
1 parent 774d5a2 commit 404646d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ui/cypress/tests/connect/editAdapter.smoke.spec.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,14 @@ describe('Test Edit Adapter', () => {
105105
initialValue = value;
106106
});
107107

108+
cy.wait(5000);
109+
108110
DataLakeBtns.refreshDataLakeMeasures().click();
109111

110112
DataLakeUtils.waitForCountingResults();
111113

112114
DataLakeUtils.getDatalakeNumberOfEvents().then(newValue => {
113-
// IMPORTANT: Currently we implemented a workaround by showing the user a warning message when the data type is changed.
114-
// In the future, we need a migration mechanism to automatically change all the StreamPipes resources that are effected
115-
// by the change. Once this is implemented the following line must be changed to .not.equal.
116-
// The issue is tracked here: https://github.com/apache/streampipes/issues/2954
117-
expect(newValue).equal(initialValue);
115+
expect(newValue).not.equal(initialValue);
118116
});
119117
});
120118
});

0 commit comments

Comments
 (0)