debug: logs

This commit is contained in:
Gergő Móricz 2025-06-04 00:49:01 +02:00
parent b744f40be9
commit 3958a33734

View File

@ -34,6 +34,8 @@ describe("Scrape tests", () => {
}, 30000);
if (process.env.TEST_SUITE_SELF_HOSTED && process.env.PROXY_SERVER) {
console.log("Proxy server tests will run");
it.concurrent("self-hosted proxy works", async () => {
const response = await scrape({
url: "https://icanhazip.com"
@ -49,6 +51,7 @@ describe("Scrape tests", () => {
});
expect(response.markdown?.trim()).toBe(process.env.PROXY_SERVER!.split("://").slice(-1)[0].split(":")[0]);
console.log("Self-hosted proxy works on playwright");
}, 30000);
}