Skip to content

Commit

Permalink
Unskip spaces a11y tests with a retry (#128204)
Browse files Browse the repository at this point in the history
  • Loading branch information
bhavyarm authored Mar 23, 2022
1 parent 130823a commit 156ce28
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions x-pack/test/accessibility/apps/spaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const retry = getService('retry');
const toasts = getService('toasts');

// FLAKY: https://github.com/elastic/kibana/issues/100968
describe.skip('Kibana spaces page meets a11y validations', () => {
describe('Kibana spaces page meets a11y validations', () => {
before(async () => {
await esArchiver.load('x-pack/test/functional/es_archives/empty_kibana');
await PageObjects.common.navigateToApp('home');
Expand Down Expand Up @@ -98,7 +97,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
// test starts with deleting space b so we can get the space selection page instead of logging out in the test
it('a11y test for space selection page', async () => {
await PageObjects.spaceSelector.confirmDeletingSpace();
await a11y.testAppSnapshot();
await retry.try(async () => {
await a11y.testAppSnapshot();
});
await PageObjects.spaceSelector.clickSpaceCard('default');
});
});
Expand Down

0 comments on commit 156ce28

Please sign in to comment.