Dashboard templating e2e - fix flaky timezone (#104906)

Dashboard templating e2e - fix flaky timezone
This commit is contained in:
Scott Lepper
2025-05-06 12:58:56 -04:00
committed by GitHub
parent dde613bbe8
commit dff7a79071
@@ -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', () => {