mirror of
https://github.com/getredash/redash.git
synced 2026-05-10 06:00:10 -04:00
19 lines
533 B
JavaScript
19 lines
533 B
JavaScript
describe('Create Data Source', () => {
|
|
beforeEach(() => {
|
|
cy.login();
|
|
cy.visit('/data_sources/new');
|
|
});
|
|
|
|
it('creates a new PostgreSQL data source', () => {
|
|
cy.getByTestId('DatabaseSource').contains('PostgreSQL').click();
|
|
|
|
cy.getByTestId('Name').type('Redash');
|
|
cy.getByTestId('Host').type('{selectall}postgres');
|
|
cy.getByTestId('User').type('postgres');
|
|
cy.getByTestId('Password').type('postgres');
|
|
cy.getByTestId('Database Name').type('postgres{enter}');
|
|
|
|
cy.contains('Saved.');
|
|
});
|
|
});
|