From b1459cbf3bea05e226f2df072cdbcdfab6949706 Mon Sep 17 00:00:00 2001 From: Ali BARIN Date: Sat, 8 Oct 2022 23:58:06 +0200 Subject: [PATCH] test: display execution --- .../e2e/executions/display-execution.js | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 packages/e2e-tests/cypress/e2e/executions/display-execution.js diff --git a/packages/e2e-tests/cypress/e2e/executions/display-execution.js b/packages/e2e-tests/cypress/e2e/executions/display-execution.js new file mode 100644 index 00000000..647f97ca --- /dev/null +++ b/packages/e2e-tests/cypress/e2e/executions/display-execution.js @@ -0,0 +1,34 @@ +/// + +describe('Execution page', () => { + before(() => { + cy.login(); + + cy.og('executions-page-drawer-link').click(); + cy.og('execution-row').first().click({ force: true }); + + cy.location('pathname').should('match', /^\/executions\//); + }); + + after(() => { + cy.logout(); + }); + + it('displays data in by default', () => { + cy.og('execution-step').should('have.length', 2); + + cy.ss('Execution - data in'); + }); + + it('displays data out', () => { + cy.og('data-out-tab').click({ multiple: true }); + + cy.ss('Execution - data out'); + }); + + it('displays error', () => { + cy.og('error-tab').click({ multiple: true, force: true }); + + cy.ss('Execution - error'); + }); +}); \ No newline at end of file