mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Remove more stuff from the e2e object (#75513)
* cut down the e2e object more :) * undo changes in grafana-e2e * couple more things to undo in grafana-e2e
This commit is contained in:
@@ -82,14 +82,14 @@ export const addDataSource = (config?: Partial<AddDataSourceConfig>) => {
|
||||
e2e.pages.DataSource.saveAndTest().click();
|
||||
|
||||
if (awaitHealth) {
|
||||
cy.wait('@health', { timeout: timeout ?? e2e.config().defaultCommandTimeout });
|
||||
cy.wait('@health', { timeout: timeout ?? Cypress.config().defaultCommandTimeout });
|
||||
}
|
||||
|
||||
// use the timeout passed in if it exists, otherwise, continue to use the default
|
||||
e2e.pages.DataSource.alert()
|
||||
.should('exist')
|
||||
.contains(expectedAlertMessage, {
|
||||
timeout: timeout ?? e2e.config().defaultCommandTimeout,
|
||||
timeout: timeout ?? Cypress.config().defaultCommandTimeout,
|
||||
});
|
||||
cy.logToConsole('Added data source with name:', name);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user