Skip to content

Commit

Permalink
Update selector in test
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Nov 29, 2022
1 parent 0fd9446 commit 6229c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/web/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6229c56

Please sign in to comment.