Skip to content

Commit

Permalink
See if resetting helps.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneseymour committed May 10, 2021
1 parent a19ffc7 commit a62c85a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/functional/apps/visualize/_tsvb_chart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const inspector = getService('inspector');
const retry = getService('retry');
const security = getService('security');
const kibanaServer = getService('kibanaServer');

const PageObjects = getPageObjects([
'visualize',
'visualBuilder',
Expand Down Expand Up @@ -175,6 +177,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});

describe('browser history changes', () => {
before(async () => {
await kibanaServer.savedObjects.clean({ types: ['visualization'] });
await kibanaServer.importExport.load('visualize');
});

it('should activate previous/next chart tab and panel config', async () => {
await PageObjects.visualBuilder.resetPage();

Expand Down

0 comments on commit a62c85a

Please sign in to comment.