Skip to content

Commit

Permalink
Update e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
inokawa committed May 11, 2024
1 parent 97019a9 commit 4f7aa70
Show file tree
Hide file tree
Showing 37 changed files with 3,800 additions and 3,800 deletions.
2 changes: 1 addition & 1 deletion e2e/index.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ test.describe("smoke webview", () => {
wrapWithWebViewHTML
);
const html = eval(code);
expect(html).toMatchSnapshot();

await writeFile(path.join(tempPath, filename) + ".html", html, "utf-8");

Expand All @@ -37,7 +38,6 @@ test.describe("smoke webview", () => {
expect(
await page.evaluate(() => document.head.innerHTML)
).toMatchSnapshot();
expect(html).toMatchSnapshot();
});
}
});
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1 @@

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<div style="background: red; width: 100vw; height: 100vh;">hoge</div>

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 4f7aa70

Please sign in to comment.