mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Re-enable Dashboard time changes functional test. (#21323)
This commit is contained in:
parent
393150def0
commit
be6a266da8
1 changed files with 10 additions and 10 deletions
|
@ -97,15 +97,15 @@ export default function ({ getPageObjects }) {
|
|||
// when it's opened. However, if the user then changes the time, navigates to visualize, then navigates
|
||||
// back to dashboard, the overridden time should be preserved. The time is *only* reset on open, not
|
||||
// during navigation or page refreshes.
|
||||
// describe('time changes', function () {
|
||||
// it('preserved during navigation', async function () {
|
||||
// await PageObjects.header.setQuickTime('Today');
|
||||
// await PageObjects.header.clickVisualize();
|
||||
// await PageObjects.header.clickDashboard();
|
||||
//
|
||||
// const prettyPrint = await PageObjects.header.getPrettyDuration();
|
||||
// expect(prettyPrint).to.equal('Today');
|
||||
// });
|
||||
// });
|
||||
describe('time changes', function () {
|
||||
it('preserved during navigation', async function () {
|
||||
await PageObjects.header.setQuickTime('Today');
|
||||
await PageObjects.header.clickVisualize();
|
||||
await PageObjects.header.clickDashboard();
|
||||
|
||||
const prettyPrint = await PageObjects.header.getPrettyDuration();
|
||||
expect(prettyPrint).to.equal('Today');
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue