You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exports[`console > get_console_message > when dialog is open 1`] = `
122
+
{
123
+
"dialog": {
124
+
"type": "alert",
125
+
"message": "test dialog",
126
+
"defaultValue": ""
127
+
},
128
+
"consoleMessage": {
129
+
"id": 1,
130
+
"type": "error",
131
+
"text": "This is an error",
132
+
"argsCount": 1,
133
+
"args": [
134
+
"This is an error"
135
+
],
136
+
"stackTrace": "at (VM7:1:9)\\nat (pptr:;CdpFrame.%3Canonymous%3E%20(<file-path>)\\n--- PendingScript ----------------------\\nat (pptr:;CdpFrame.%3Canonymous%3E%20(<file-path>)\\nNote: line and column numbers use 1-based indexing"
137
+
},
138
+
"pagination": {
139
+
"currentPage": 0,
140
+
"totalPages": 1,
141
+
"hasNextPage": false,
142
+
"hasPreviousPage": false,
143
+
"startIndex": 0,
144
+
"endIndex": 1,
145
+
"invalidPage": false
146
+
},
147
+
"consoleMessages": [
148
+
{
149
+
"type": "error",
150
+
"text": "This is an error",
151
+
"argsCount": 1,
152
+
"id": 1
153
+
}
154
+
]
155
+
}
156
+
`;
157
+
158
+
exports[`console > list_console_messages > issues > when dialog is open 1`] = `
159
+
{"content":[{"type":"text","text":"# Open dialog\\nalert: test dialog.\\nCall handle_dialog to handle it before continuing.\\n## Console messages\\nShowing 1-1 of 1 (Page 1 of 1).\\nmsgid=1 [log] Pre-dialog message (1 args)"}],"structuredContent":{"dialog":{"type":"alert","message":"test dialog","defaultValue":""},"pagination":{"currentPage":0,"totalPages":1,"hasNextPage":false,"hasPreviousPage":false,"startIndex":0,"endIndex":1,"invalidPage":false},"consoleMessages":[{"type":"log","text":"Pre-dialog message","argsCount":1,"id":1}]}}
exports[`pages > list_pages > list pages for extension pages with --category-extensions 1`] = `
2
6
## Pages
3
7
1: about:blank [selected]
@@ -25,3 +29,23 @@ exports[`pages > list_pages > list pages for side panels with --category-extensi
25
29
## Extension Service Workers
26
30
sw-1: chrome-extension://<extension-id>/sw.js
27
31
`;
32
+
33
+
exports[`pages > list_pages > when dialog is open 1`] = `
34
+
{"content":[{"type":"text","text":"# Open dialog\\nalert: test dialog.\\nCall handle_dialog to handle it before continuing.\\n## Pages\\n1: about:blank [selected]"}],"structuredContent":{"dialog":{"type":"alert","message":"test dialog","defaultValue":""},"pages":[{"id":1,"url":"about:blank","selected":true}]}}
35
+
`;
36
+
37
+
exports[`pages > navigate_page > when dialog is open 1`] = `
38
+
{"content":[{"type":"text","text":"Successfully navigated to data:text/html,<div>Navigated</div>.\\n# Open dialog\\nalert: test dialog.\\nCall handle_dialog to handle it before continuing.\\n## Pages\\n1: data:text/html,<div>Navigated</div> [selected]"}],"structuredContent":{"message":"Successfully navigated to data:text/html,<div>Navigated</div>.","dialog":{"type":"alert","message":"test dialog","defaultValue":""},"pages":[{"id":1,"url":"data:text/html,<div>Navigated</div>","selected":true}]}}
39
+
`;
40
+
41
+
exports[`pages > new_page with isolatedContext > when dialog is open 1`] = `
42
+
{"content":[{"type":"text","text":"# Open dialog\\nalert: test dialog.\\nCall handle_dialog to handle it before continuing.\\n## Pages\\n1: about:blank\\n2: about:blank [selected]"}],"structuredContent":{"dialog":{"type":"alert","message":"test dialog","defaultValue":""},"pages":[{"id":1,"url":"about:blank","selected":false},{"id":2,"url":"about:blank","selected":true}]}}
43
+
`;
44
+
45
+
exports[`pages > resize > when dialog is open 1`] = `
46
+
{"content":[{"type":"text","text":"# Open dialog\\nalert: test dialog.\\nCall handle_dialog to handle it before continuing.\\n## Pages\\n1: about:blank [selected]"}],"structuredContent":{"dialog":{"type":"alert","message":"test dialog","defaultValue":""},"pages":[{"id":1,"url":"about:blank","selected":true}]}}
47
+
`;
48
+
49
+
exports[`pages > select_page > when dialog is open 1`] = `
50
+
{"content":[{"type":"text","text":"# Open dialog\\nalert: test dialog.\\nCall handle_dialog to handle it before continuing.\\n## Pages\\n1: about:blank [selected]"}],"structuredContent":{"dialog":{"type":"alert","message":"test dialog","defaultValue":""},"pages":[{"id":1,"url":"about:blank","selected":true}]}}
0 commit comments