2023-09-08 10:51:59 -05:00
|
|
|
import { e2e } from '../utils';
|
2020-04-24 01:48:04 -05:00
|
|
|
|
2024-01-17 05:26:47 -06:00
|
|
|
describe('Explore', () => {
|
2023-09-13 07:24:20 -05:00
|
|
|
beforeEach(() => {
|
2023-09-27 05:33:00 -05:00
|
|
|
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
|
2023-09-13 07:24:20 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
it('Basic path through Explore.', () => {
|
2020-04-24 01:48:04 -05:00
|
|
|
e2e.pages.Explore.visit();
|
|
|
|
e2e.pages.Explore.General.container().should('have.length', 1);
|
2021-11-10 04:01:06 -06:00
|
|
|
e2e.components.RefreshPicker.runButtonV2().should('have.length', 1);
|
2020-04-24 01:48:04 -05:00
|
|
|
|
2020-10-20 11:18:14 -05:00
|
|
|
e2e.components.DataSource.TestData.QueryTab.scenarioSelectContainer()
|
2023-04-05 09:08:03 -05:00
|
|
|
.scrollIntoView()
|
2020-10-20 11:18:14 -05:00
|
|
|
.should('be.visible')
|
|
|
|
.within(() => {
|
2023-09-11 05:20:54 -05:00
|
|
|
cy.get('input[id*="test-data-scenario-select-"]').should('be.visible').click();
|
2020-10-20 11:18:14 -05:00
|
|
|
});
|
|
|
|
|
2021-07-14 08:04:23 -05:00
|
|
|
cy.contains('CSV Metric Values').scrollIntoView().should('be.visible').click();
|
2023-09-13 07:24:20 -05:00
|
|
|
});
|
2020-04-24 01:48:04 -05:00
|
|
|
});
|