Skip to content

Commit a40c00f

Browse files
committed
Tests: Fix tests + biome
1 parent 663970f commit a40c00f

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

layouts/partials/f5-sites.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="header__f5sites">
1+
<div class="header__f5sites" data-testid="header__f5sites">
22
{{ with index .Site.Data "f5-sites" }}
33
{{ $f5Sites := . }}
44
<div class="navbar navbar-nav">

tests/src/sidebar.spec.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ async function openPage(page, sidebarPage) {
4040
}
4141

4242
test.describe('Smoke test for sidebar', () => {
43-
4443
// Slow test
4544
test.setTimeout(100_000);
4645

tests/src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export async function runSmokeTestOnPage(page) {
1313
// THE GDPR Consent button appears when test is run from EU locations. This handles that popup.
1414
export async function handleConsentPopup(page) {
1515
await page.addLocatorHandler(
16-
page.locator('#truste-consent-content'),
16+
page.locator('#truste-consent-content'),
1717
async () => {
1818
const consentButton = page.locator('#truste-consent-required');
1919
expect(consentButton).toBeVisible();

0 commit comments

Comments
 (0)