mirror of
https://github.com/getredash/redash.git
synced 2025-12-19 17:37:19 -05:00
* Run prettier on cypress folder
* Test Restyled
* Revert "Test Restyled"
This reverts commit 13d43968fe.
16 lines
425 B
JavaScript
16 lines
425 B
JavaScript
describe("Edit Data Source", () => {
|
|
beforeEach(() => {
|
|
cy.login();
|
|
cy.visit("/data_sources/1");
|
|
});
|
|
|
|
it("renders the page and takes a screenshot", () => {
|
|
cy.getByTestId("DataSource").within(() => {
|
|
cy.getByTestId("Name").should("have.value", "Test PostgreSQL");
|
|
cy.getByTestId("Host").should("have.value", "postgres");
|
|
});
|
|
|
|
cy.percySnapshot("Edit Data Source - PostgreSQL");
|
|
});
|
|
});
|