diff --git a/packages/vite/src/client/overlay.ts b/packages/vite/src/client/overlay.ts index f9a22b7db2c6b3..e094f5664a5bb6 100644 --- a/packages/vite/src/client/overlay.ts +++ b/packages/vite/src/client/overlay.ts @@ -1,8 +1,17 @@ import type { ErrorPayload } from 'types/hmrPayload' +// set :host styles to make playwright detect the element as visible const template = /*html*/ ` -
server.hmr.overlay
to false
in vite.config.js.
+server.hmr.overlay
to false
in vite.config.js.
+