Dashboard templating e2e - fix flaky timezone (#104906)
Dashboard templating e2e - fix flaky timezone
This commit is contained in:
@@ -3,6 +3,13 @@ import { e2e } from '../utils';
|
||||
describe('Dashboard templating', () => {
|
||||
beforeEach(() => {
|
||||
e2e.flows.login(Cypress.env('USERNAME'), Cypress.env('PASSWORD'));
|
||||
// Note: Only works in Chrome/Chromium-based browsers
|
||||
Cypress.automation('remote:debugger:protocol', {
|
||||
command: 'Emulation.setTimezoneOverride',
|
||||
params: {
|
||||
timezoneId: 'Pacific/Easter', // OR 'UTC'
|
||||
},
|
||||
});
|
||||
});
|
||||
|
||||
it('Verify variable interpolation works', () => {
|
||||
|
||||
Reference in New Issue
Block a user