Skip to content

Commit

Permalink
[Lens] Stabilize a11y test (#131035)
Browse files Browse the repository at this point in the history
* stabilize a11y test

* fix bug
  • Loading branch information
flash1293 authored Apr 27, 2022
1 parent 12fdfd6 commit 6fccbac
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/test/accessibility/apps/lens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});

it('change chart type', async () => {
await PageObjects.lens.switchToVisualization('line');
await PageObjects.lens.openChartSwitchPopover();
await PageObjects.lens.waitForSearchInputValue('line');
await a11y.testAppSnapshot();
await testSubjects.click('lnsChartSwitchPopover_line');
});

it('change chart type via suggestions', async () => {
Expand Down

0 comments on commit 6fccbac

Please sign in to comment.