We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44c0d84 commit dbe0c13Copy full SHA for dbe0c13
1 file changed
apps/laboratory/tests/shared/pages/ModalPage.ts
@@ -937,10 +937,11 @@ export class ModalPage {
937
await this.page.evaluate(() => {
938
const original = window.open
939
;(window as unknown as { __capturedOpenUrl: string }).__capturedOpenUrl = ''
940
- window.open = function patchedOpen(...args: Parameters<typeof window.open>) {
+ window.open = function open(...args: Parameters<typeof window.open>) {
941
;(window as unknown as { __capturedOpenUrl: string }).__capturedOpenUrl = String(
942
args[0] ?? ''
943
)
944
+
945
return original.apply(this, args)
946
}
947
})
0 commit comments