diff --git a/tests/index.test.js.snapshot b/tests/index.test.js.snapshot index d008a393f..7384ea9e3 100644 --- a/tests/index.test.js.snapshot +++ b/tests/index.test.js.snapshot @@ -1,19 +1,37 @@ exports[`e2e > Dialogs > returns blocked message when dialog is opened during tool execution 1`] = ` -{"content":[{"type":"text","text":"# Open dialog\\nalert: test dialog.\\nCall handle_dialog to handle it before continuing.\\nError: Failed to interact with the element with uid 1_1. The element did not become interactive within the configured timeout."}],"isError":true} +{"content":[{"type":"text","text":"# Open dialog\nalert: test dialog.\nCall handle_dialog to handle it before continuing.\nError: Failed to interact with the element with uid 1_1. The element did not become interactive within the configured timeout."}],"isError":true} `; exports[`e2e > Dialogs > when dialog is open and tool is blocked, returns an error 1`] = ` -{"content":[{"type":"text","text":"# Open dialog\\nalert: test dialog.\\nCall handle_dialog to handle it before continuing.\\nError: A dialog is open (alert: test dialog)."}],"isError":true} +{"content":[{"type":"text","text":"# Open dialog\nalert: test dialog.\nCall handle_dialog to handle it before continuing.\nError: A dialog is open (alert: test dialog)."}],"isError":true} `; exports[`e2e > Dialogs > when dialog is open and tool is not blocked, executes tool 1`] = ` -{"content":[{"type":"text","text":"## Pages\\n1: about:blank\\n2: data:text/html,\\n3: data:text/html,

New

[selected]"}]} +{"content":[{"type":"text","text":"## Pages\n1: about:blank\n2: data:text/html,\n3: data:text/html,

New

[selected]"}]} `; exports[`e2e > calls a tool 1`] = ` -[{"type":"text","text":"## Pages\\n1: about:blank [selected]"}] +[{"type":"text","text":"## Pages\n1: about:blank [selected]"}] `; exports[`e2e > calls a tool multiple times 1`] = ` -[{"type":"text","text":"## Pages\\n1: about:blank [selected]"}] +[{"type":"text","text":"## Pages\n1: about:blank [selected]"}] +`;exports[`e2e > Dialogs > returns blocked message when dialog is opened during tool execution 1`] = ` +{"content":[{"type":"text","text":"# Open dialog\nalert: test dialog.\nCall handle_dialog to handle it before continuing.\nError: Failed to interact with the element with uid 1_1. The element did not become interactive within the configured timeout."}],"isError":true} +`; + +exports[`e2e > Dialogs > when dialog is open and tool is blocked, returns an error 1`] = ` +{"content":[{"type":"text","text":"# Open dialog\nalert: test dialog.\nCall handle_dialog to handle it before continuing.\nError: A dialog is open (alert: test dialog)."}],"isError":true} +`; + +exports[`e2e > Dialogs > when dialog is open and tool is not blocked, executes tool 1`] = ` +{"content":[{"type":"text","text":"## Pages\n1: about:blank\n2: data:text/html,\n3: data:text/html,

New

[selected]"}]} +`; + +exports[`e2e > calls a tool 1`] = ` +[{"type":"text","text":"## Pages\n1: about:blank [selected]"}] +`; + +exports[`e2e > calls a tool multiple times 1`] = ` +[{"type":"text","text":"## Pages\n1: about:blank [selected]"}] `;