From 6229c56ddbcd9de912327136aee189794aee33da Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Tue, 29 Nov 2022 17:38:14 +0100 Subject: [PATCH] Update selector in test --- src/web/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/mod.rs b/src/web/mod.rs index 75898a86c..981fbe92c 100644 --- a/src/web/mod.rs +++ b/src/web/mod.rs @@ -952,7 +952,7 @@ mod test { let text = web.get("/foo/0.2.0/foo").send()?.text()?; let platform = kuchiki::parse_html() .one(text) - .select(r#"ul > li > a[aria-label="Platform"]"#) + .select(r#"form.landing-search-form-nav details > summary[aria-label="Platform"]"#) .unwrap() .count(); assert_eq!(platform, 1);