test: display execution

This commit is contained in:
Ali BARIN
2022-10-08 23:58:06 +02:00
parent 5838216b72
commit b1459cbf3b

View File

@@ -0,0 +1,34 @@
/// <reference types="cypress" />
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');
});
});