From 971836dc0521cc479f167dbda692c7866a923e44 Mon Sep 17 00:00:00 2001 From: Christophe Dervieux Date: Mon, 3 Jun 2024 17:45:25 +0200 Subject: [PATCH] Remove path to avoid OS difference causing test to fail --- tests/smoke/site/render-listings.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/smoke/site/render-listings.test.ts b/tests/smoke/site/render-listings.test.ts index 8fc78f57d4..61405666f0 100644 --- a/tests/smoke/site/render-listings.test.ts +++ b/tests/smoke/site/render-listings.test.ts @@ -33,7 +33,7 @@ verify.push(ensureHtmlElements(htmlOutput, [ // 3. Testing that empty div is used when no image is present "div#listing-reports span.listing-image div.listing-item-img-placeholder", // 4. Testing that `.preview-image` is correctly taken - "div#listing-other-reports .quarto-post div.thumbnail img[src$='app-store-business-model-lite\\\\2\.png']", + 'div#listing-other-reports .quarto-post div.thumbnail img[src$="2\.png"]', ])); testQuartoCmd(