Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rudream committed Sep 27, 2023
1 parent 57b71db commit bdabc82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/all-browsers/navbar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ test("Sections in navbar contain appropriate titles and hrefs when viewed on des
if (isMobile) {
await element.click();
}
} else if (dropdown.href) {
} else if (dropdown.href && dropdown.button.title) {
await expect(element).toHaveAttribute("href", `${dropdown.href}`);
}
}
Expand Down

0 comments on commit bdabc82

Please sign in to comment.