Dashboard templating e2e - fix flaky timezone (#104906)

Dashboard templating e2e - fix flaky timezone
pull/104933/head
Scott Lepper 2 weeks ago committed by GitHub
parent dde613bbe8
commit dff7a79071
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      e2e/dashboards-suite/dashboard-templating.spec.ts

@ -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', () => {

Loading…
Cancel
Save