Remove implementation detail check for page._evaluateFunction
Co-authored-by: pavelfeldman <883973+pavelfeldman@users.noreply.github.com>
This commit is contained in:
@@ -73,7 +73,6 @@ test('browser_evaluate (error)', async ({ client, server, mcpBrowser }) => {
|
|||||||
expect(result.content?.[0].text).toContain('undefinedVariable is not defined');
|
expect(result.content?.[0].text).toContain('undefinedVariable is not defined');
|
||||||
} else {
|
} else {
|
||||||
// Chrome, Firefox, etc. include the Playwright evaluation context
|
// Chrome, Firefox, etc. include the Playwright evaluation context
|
||||||
expect(result.content?.[0].text).toContain('page._evaluateFunction');
|
|
||||||
expect(result.content?.[0].text).toContain('undefinedVariable is not defined');
|
expect(result.content?.[0].text).toContain('undefinedVariable is not defined');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user