Skip to content

Commit

Permalink
Fix functional test
Browse files Browse the repository at this point in the history
Signed-off-by: abbyhu2000 <abigailhu2000@gmail.com>
  • Loading branch information
abbyhu2000 committed Oct 28, 2022
1 parent 50658ed commit 1684893
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/functional/apps/vis_builder/_experimental_vis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.visualize.waitForVisualizationSelectPage();

// Try to find the visBuilder Vis type.
const wizardVisTypeExists = await PageObjects.visualize.hasVisType('visBuilder');
expect(wizardVisTypeExists).to.be(true);
const visBuilderVisTypeExists = await PageObjects.visualize.hasVisType('vis-builder');
expect(visBuilderVisTypeExists).to.be(true);

// Create a new visualization
await PageObjects.visualize.clickVisType('visBuilder');
await PageObjects.visualize.clickVisType('vis-builder');

// Check that the experimental banner is there and state that this is experimental
const info = await PageObjects.visBuilder.getExperimentalInfo();
Expand All @@ -39,7 +39,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.visualize.waitForVisualizationSelectPage();

// Try to find the visBuilder Vis type.
const visBuilderVisTypeExists = await PageObjects.visualize.hasVisType('visBuilder');
const visBuilderVisTypeExists = await PageObjects.visualize.hasVisType('vis-builder');
expect(visBuilderVisTypeExists).to.be(false);
});

Expand Down

0 comments on commit 1684893

Please sign in to comment.