Skip to content

Commit

Permalink
[Discover] Unskip time zone test (elastic#190116)
Browse files Browse the repository at this point in the history
- Closes elastic#189943
- Closes elastic#190058
  • Loading branch information
jughosta authored Aug 8, 2024
1 parent bfb1bf5 commit 6a8b950
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 6 additions & 0 deletions test/functional/apps/discover/group1/_discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,14 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await kibanaServer.uiSettings.update({ 'dateFormat:tz': 'America/Phoenix' });
await PageObjects.common.navigateToApp('discover');
await PageObjects.header.awaitKibanaChrome();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();
await PageObjects.timePicker.setDefaultAbsoluteRange();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();
await queryBar.clearQuery();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();

log.debug(
'check that the newest doc timestamp is now -7 hours from the UTC time in the first test'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,15 +216,19 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
});

// FLAKY: https://github.com/elastic/kibana/issues/189943
// FLAKY: https://github.com/elastic/kibana/issues/190058
describe.skip('time zone switch', () => {
describe('time zone switch', () => {
it('should show bars in the correct time zone after switching', async function () {
await kibanaServer.uiSettings.update({ 'dateFormat:tz': 'America/Phoenix' });
await PageObjects.common.navigateToApp('discover');
await PageObjects.header.awaitKibanaChrome();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();
await PageObjects.timePicker.setDefaultAbsoluteRange();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();
await queryBar.clearQuery();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();

log.debug(
'check that the newest doc timestamp is now -7 hours from the UTC time in the first test'
Expand Down

0 comments on commit 6a8b950

Please sign in to comment.