From 98dccc5be94ea9c77e69a58f50db577922fe2d67 Mon Sep 17 00:00:00 2001 From: "Yuichiro Tachibana (Tsuchiya)" Date: Tue, 20 Feb 2024 13:08:53 +0900 Subject: [PATCH] Set the `testIgnore` in `.config/playwright.config.js` --- .config/playwright.config.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.config/playwright.config.js b/.config/playwright.config.js index 81f48aa67f623..8c29226150538 100644 --- a/.config/playwright.config.js +++ b/.config/playwright.config.js @@ -33,10 +33,13 @@ const lite = defineConfig(base, { url: "http://localhost:9876/lite.html", reuseExistingServer: !process.env.CI }, - testMatch: [ - "**/file_component_events.spec.ts", - "**/chatbot_multimodal.spec.ts", - "**/kitchen_sink.spec.ts" + testIgnore: [ + "**/audio_component_events.spec.ts", // Uploading a file requires ffprobe on the server-side, which is not supported in lite. + "**/cancel_events.spec.ts", // This sample app uses `time.sleep` which is not supported on Pyodide. + "**/custom_css.spec.ts", // Media queries is not working somehow. + "**/clear_components.spec.ts", // `gr.Image()` with remote image is not supported in lite because it calls `httpx.stream` through `processing_utils.save_url_to_cache()`. + "**/load_space.spec.ts", // `gr.load()`, which calls `httpx.get` is not supported in lite. + "**/gradio_pdf_demo.spec.ts" // The PDF component is not working on Lite, https://github.com/gradio-app/gradio/issues/7476 ], workers: 1 });