Skip to content

Commit

Permalink
Unskip shared links test
Browse files Browse the repository at this point in the history
  • Loading branch information
kertal committed Oct 16, 2023
1 parent dcc3f86 commit ba9a7c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/functional/apps/discover/group1/_shared_links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
});

// FLAKY: https://github.com/elastic/kibana/issues/167405
describe.skip('shared links with state in sessionStorage', async () => {
describe('shared links with state in sessionStorage', async () => {
let teardown: () => Promise<void>;
before(async function () {
teardown = await setup({ storeStateInSessionStorage: true });
Expand Down Expand Up @@ -182,8 +181,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
it("sharing hashed url shouldn't crash the app", async () => {
const currentUrl = await browser.getCurrentUrl();
await browser.clearSessionStorage();
await browser.get(currentUrl, false);
await retry.waitFor('discover to open', async () => {
await browser.get(currentUrl, false);
const resolvedUrl = await browser.getCurrentUrl();
expect(resolvedUrl).to.match(/discover/);
const { message } = await toasts.getErrorToast();
Expand Down

0 comments on commit ba9a7c4

Please sign in to comment.