Skip to content

Commit

Permalink
Merge pull request #22 from gemini-testing/TESTPLANE-84
Browse files Browse the repository at this point in the history
fix: use index.html resource for meta url
  • Loading branch information
KuznetsovRoman authored Jun 13, 2024
2 parents 011e50c + 8388d2b commit 0b7219b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storybook/story-test-runner/open-story/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ async function extendBrowserMeta(browser: WebdriverIO.Browser, story: StorybookS
(browser.executionContext as ExecutionContextExtended)["@testplane/storybook-assertView-opts"] =
story.assertViewOpts;

await browser.setMeta("url", urlObj.toString().replace("iframe.html", ""));
await browser.setMeta("url", urlObj.toString().replace("iframe.html", "index.html"));
await browser.setMeta("storyFile", story.importPath);
}

0 comments on commit 0b7219b

Please sign in to comment.