From e0032223c84071b7ec72e6091e49bb88eb67935f Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 7 Oct 2022 15:07:40 -0700 Subject: [PATCH] test_script: Correct glob for puppeteer failure screenshots. Signed-off-by: Anders Kaseorg --- tools/lib/test_script.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lib/test_script.py b/tools/lib/test_script.py index aefd1582d5..08d7220dc0 100644 --- a/tools/lib/test_script.py +++ b/tools/lib/test_script.py @@ -124,5 +124,5 @@ def prepare_puppeteer_run(is_firefox: bool = False) -> None: os.environ["PUPPETEER_PRODUCT"] = "firefox" if is_firefox else "chrome" subprocess.check_call(["node", "node_modules/puppeteer/install.js"]) os.makedirs("var/puppeteer", exist_ok=True) - for f in glob.glob("var/puppeteer/puppeteer-failure*.png"): + for f in glob.glob("var/puppeteer/failure-*.png"): os.remove(f)