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:
@@ -1,6 +1,6 @@
|
||||
import { e2e } from '../index';
|
||||
|
||||
const getBaseUrl = () => e2e.env('BASE_URL') || e2e.config().baseUrl || 'http://localhost:3000';
|
||||
const getBaseUrl = () => Cypress.env('BASE_URL') || Cypress.config().baseUrl || 'http://localhost:3000';
|
||||
|
||||
export const fromBaseUrl = (url = '') => new URL(url, getBaseUrl()).href;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user