[test] Fix cypress tests
@@ -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();
}
