test for location path change on input+output for http step
@@ -100,16 +100,28 @@ Cypress.Commands.add('createIntegration', data => {
/**
* Use connection created earlier
*/
- cy.get('[data-testid|=connection-card-' + data.connectionSlug + ']').click();
+ cy.get(
+ '[data-testid=connection-card-' + data.connectionSlug + '-card]'
+ ).click();
cy.get('[data-testid=select-action-page-select-button]').click();
cy.get('#integration-editor-form-next-button').click();
+ //input
+
cy.wait(200);
+
+ cy.location('pathname').should('contain', 'input');
+
cy.get('[data-testid=describe-data-shape-form-next-button]').click();
+ //output
+
cy.wait(200);
+
+ cy.location('pathname').should('contain', 'output');
+
cy.get('[data-testid=describe-data-shape-form-next-button]').click();
cy.wait(200);
