This is an automated email from the ASF dual-hosted git repository. zehnder pushed a commit to branch 4175-angular-v20-upgrade-causing-failing-e2e-tests in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 8b452b848bfc40d3e22cfad55674a79ac4d501c8 Author: Philipp Zehnder <[email protected]> AuthorDate: Mon Feb 16 11:03:32 2026 +0100 fix(#4175): Fix missingDataInDataLake.spec.ts --- ui/cypress/support/utils/FileManagementUtils.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/ui/cypress/support/utils/FileManagementUtils.ts b/ui/cypress/support/utils/FileManagementUtils.ts index 617948d36c..aaf27debe8 100644 --- a/ui/cypress/support/utils/FileManagementUtils.ts +++ b/ui/cypress/support/utils/FileManagementUtils.ts @@ -32,12 +32,27 @@ export class FileManagementUtils { { force: true }, ); cy.dataCy('sp-file-management-store-file').click(); + + this.expectUploadedFileToBeVisibleInFileOverview(filePath); } private static addFixtureDirectoryPrefix(filePath: string): string { return 'cypress/fixtures/' + filePath; } + private static getFileName(filePath: string): string { + return filePath.split('/').pop() ?? filePath; + } + + private static expectUploadedFileToBeVisibleInFileOverview( + filePath: string, + ): void { + const uploadedFileName = this.getFileName(filePath); + cy.get('sp-file-overview', { timeout: 10000 }) + .contains('span', uploadedFileName) + .should('be.visible'); + } + public static deleteFile() { // Go to StreamPipes file management cy.visit('#/configuration/files');
