1
0
mirror of synced 2026-01-08 12:03:02 -05:00
Files
airbyte/airbyte-e2e-testing/cypress/integration/destination.spec.js
2021-03-23 15:12:01 -07:00

23 lines
883 B
JavaScript

describe("Destination main actions", () => {
it("Create new destination", () => {
cy.createTestDestination("Test destination cypress");
cy.url().should("include", `${Cypress.config().baseUrl}/destination/`);
});
it("Update destination", () => {
cy.createTestDestination("Test destination cypress for update");
cy.updateDestination("Test destination cypress for update", "connectionConfiguration.destination_path", "/local/my-json");
cy.get("div[data-id='success-result']").should("exist");
cy.get("input[value='/local/my-json']").should("exist");
});
it("Delete destination", () => {
cy.createTestDestination("Test destination cypress for delete");
cy.deleteDestination("Test destination cypress for delete");
cy.visit("/destination");
cy.get("div").contains("Test destination cypress for delete").should("not.exist");
});
});