Skip to content

Commit

Permalink
chore: fix overlay tests
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Aug 2, 2024
1 parent f1f47a5 commit 77b6523
Show file tree
Hide file tree
Showing 77 changed files with 85 additions and 585 deletions.
2 changes: 1 addition & 1 deletion playwright.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
testDir: "./test/e2e",
snapshotPathTemplate: "./test/e2e/__snapshots__/{testFilePath}/{arg}{ext}",
fullyParallel: false,
forbidOnly: !isCI,
forbidOnly: isCI,
retries: isCI ? MAX_RETRIES : 0,
expect: {
toHaveScreenshot: {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"<body>\n <div\n id=\"webpack-dev-server-client-overlay-div\"\n style=\"\n position: fixed;\n box-sizing: border-box;\n inset: 0px;\n width: 100vw;\n height: 100vh;\n font-size: large;\n padding: 2rem 2rem 4rem;\n line-height: 1.2;\n white-space: pre-wrap;\n overflow: auto;\n background-color: rgba(0, 0, 0, 0.9);\n color: white;\n \"\n >\n <div\n style=\"\n color: rgb(232, 59, 70);\n font-size: 2em;\n white-space: pre-wrap;\n font-family: sans-serif;\n margin: 0px 2rem 2rem 0px;\n flex: 0 0 auto;\n max-height: 50%;\n overflow: auto;\n \"\n >\n Compiled with problems:\n </div>\n <button\n aria-label=\"Dismiss\"\n style=\"\n color: rgb(255, 255, 255);\n line-height: 1rem;\n font-size: 1.5rem;\n padding: 1rem;\n cursor: pointer;\n position: absolute;\n right: 0px;\n top: 0px;\n background-color: transparent;\n border: none;\n \"\n >\n ×\n </button>\n <div>\n <div\n style=\"\n background-color: rgba(206, 17, 38, 0.1);\n color: rgb(252, 207, 207);\n padding: 1rem 1rem 1.5rem;\n \"\n >\n <div\n data-can-open=\"true\"\n style=\"\n color: rgb(232, 59, 70);\n font-size: 1.2em;\n margin-bottom: 1rem;\n font-family: sans-serif;\n cursor: pointer;\n \"\n >\n ERROR in ./foo.js 1:1\n </div>\n <div\n style=\"\n line-height: 1.5;\n font-size: 1rem;\n font-family: Menlo, Consolas, monospace;\n \"\n >\n Module parse failed: Unterminated template (1:1) You may need an\n appropriate loader to handle this file type, currently no loaders are\n configured to process this file. See\n https://webpack.js.org/concepts#loaders &gt; `;a |\n </div>\n </div>\n </div>\n </div>\n</body>\n"
"<body>\n <div\n id=\"webpack-dev-server-client-overlay-div\"\n style=\"\n position: fixed;\n box-sizing: border-box;\n inset: 0px;\n width: 100vw;\n height: 100vh;\n font-size: large;\n padding: 2rem 2rem 4rem;\n line-height: 1.2;\n white-space: pre-wrap;\n overflow: auto;\n background-color: rgba(0, 0, 0, 0.9);\n color: white;\n \"\n >\n <div\n style=\"\n color: rgb(232, 59, 70);\n font-size: 2em;\n white-space: pre-wrap;\n font-family: sans-serif;\n margin: 0px 2rem 2rem 0px;\n flex: 0 0 auto;\n max-height: 50%;\n overflow: auto;\n \"\n >\n Compiled with problems:\n </div>\n <button\n aria-label=\"Dismiss\"\n style=\"\n color: rgb(255, 255, 255);\n line-height: 1rem;\n font-size: 1.5rem;\n padding: 1rem;\n cursor: pointer;\n position: absolute;\n right: 0px;\n top: 0px;\n background-color: transparent;\n border: none;\n \"\n >\n ×\n </button>\n <div>\n <div\n style=\"\n background-color: rgba(206, 17, 38, 0.1);\n color: rgb(252, 207, 207);\n padding: 1rem 1rem 1.5rem;\n \"\n >\n <div\n data-can-open=\"true\"\n style=\"\n color: rgb(232, 59, 70);\n font-size: 1.2em;\n margin-bottom: 1rem;\n font-family: sans-serif;\n cursor: pointer;\n \"\n >\n ERROR in ./foo.js 1:1\n </div>\n <div\n style=\"\n line-height: 1.5;\n font-size: 1rem;\n font-family: Menlo, Consolas, monospace;\n \"\n >\n Module parse failed: Unterminated template (1:1) You may need an\n appropriate loader to handle this file type, currently no loaders are\n configured to process this file. See\n https://webpack.js.org/concepts#loaders &gt; `;\n </div>\n </div>\n </div>\n </div>\n</body>\n"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"<body>\n <h1>webpack-dev-server is running...</h1>\n <script type=\"text/javascript\" charset=\"utf-8\" src=\"/main.js\"></script>\n</body>\n"
"<body>\n <h1>webpack-dev-server is running...</h1>\n <script type=\"text/javascript\" charset=\"utf-8\" src=\"/main.js\"></script>\n\n <iframe\n id=\"webpack-dev-server-client-overlay\"\n src=\"about:blank\"\n style=\"\n position: fixed;\n inset: 0px;\n width: 100vw;\n height: 100vh;\n border: none;\n z-index: 2147483647;\n \"\n ></iframe>\n</body>\n"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
"<body>\n <h1>webpack-dev-server is running...</h1>\n <script type=\"text/javascript\" charset=\"utf-8\" src=\"/main.js\"></script>\n</body>\n"
"<body>\n <h1>webpack-dev-server is running...</h1>\n <script type=\"text/javascript\" charset=\"utf-8\" src=\"/main.js\"></script>\n\n <iframe\n id=\"webpack-dev-server-client-overlay\"\n src=\"about:blank\"\n style=\"\n position: fixed;\n inset: 0px;\n width: 100vw;\n height: 100vh;\n border: none;\n z-index: 2147483647;\n \"\n ></iframe>\n</body>\n"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 77b6523

Please sign in to comment.