You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2022/02/14 20:41:42 UTC

[incubator-streampipes] 01/03: [test] Fix cypress tests

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

riemer pushed a commit to branch experimental-module-federation-494
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git

commit 089a80e23cb3d058560a9613475b91ae9a381eaa
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Mon Feb 14 21:14:34 2022 +0100

    [test] Fix cypress tests
---
 ui/cypress/support/utils/PipelineUtils.ts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/ui/cypress/support/utils/PipelineUtils.ts b/ui/cypress/support/utils/PipelineUtils.ts
index 5b998f9..64c29be 100644
--- a/ui/cypress/support/utils/PipelineUtils.ts
+++ b/ui/cypress/support/utils/PipelineUtils.ts
@@ -35,7 +35,6 @@ export class PipelineUtils {
     // if data source type is data set, switch to this tab
     if (pipelineInput.dataSourceType === 'set') {
       cy.wait(5000);
-      cy.contains('Data Sets', { timeout: 10000 }).parent().click();
       cy.dataCy('sp-pipeline-element-' + pipelineInput.dataSource, { timeout: 10000 }).should('be.visible');
     }
 
@@ -55,7 +54,6 @@ export class PipelineUtils {
 
   private static selectDataStream(pipelineInput: PipelineInput) {
     // Select a stream
-    cy.dataCy('sp-pipeline-element-' + pipelineInput.dataSource, { timeout: 10000 }).should('be.visible');
     cy.dataCy('sp-editor-add-pipeline-element').click();
     cy.dataCy(pipelineInput.dataSource, { timeout: 10000 }).click();
   }