Skip to content

Commit

Permalink
[Discover] Improve a11y test when switching to context (#67363) (#67733)
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal authored May 29, 2020
1 parent 04745ae commit a4dd3f2
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/accessibility/apps/discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
['geo.src', 'IN'],
];

// FLAKY: https://github.com/elastic/kibana/issues/62497
describe.skip('Discover', () => {
describe('Discover', () => {
before(async () => {
await esArchiver.load('discover');
await esArchiver.loadIfNeeded('logstash_functional');
Expand Down Expand Up @@ -133,9 +132,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

// Context view test
it('should open context view on a doc', async () => {
await docTable.clickRowToggle();
// click the open action
await retry.try(async () => {
await docTable.clickRowToggle();
// click the open action
const rowActions = await docTable.getRowActions();
if (!rowActions.length) {
throw new Error('row actions empty, trying again');
Expand Down

0 comments on commit a4dd3f2

Please sign in to comment.