docs(guide): race day, series fixes and driver page in guide and READMEs; two new video guides, all clips re-recorded in sync (1.89.41)

This commit is contained in:
larssand committed 2026-11-15 22:32:03 +01:00
1 parent 7af4a81aaa
commit 8d7d4d33e6
29 files changed
+404 -36

No files matched your search

+2 -2
View File
@@ -39,13 +39,13 @@ export async function runGuideTabsSmoke({ evaluate, navigate }) {
// The series tab explains the whole series workflow, step by step.
await evaluate(`document.querySelector('[data-guide-tab="series"]').click()`);
const seriesText = await evaluate(`document.querySelector('[data-guide-panel="series"]').innerText`);
assert.equal(await evaluate(`document.querySelectorAll('[data-guide-panel="series"] .guide-list li').length`), 27, "five sections (with Rookie), 27 steps");
assert.equal(await evaluate(`document.querySelectorAll('[data-guide-panel="series"] .guide-list li').length`), 32, "six sections (with Rookie and fixing a series), 32 steps");
assert.ok(!/guide\.series_/.test(seriesText), "every guide text is translated");
assert.equal(await evaluate(`[...document.querySelectorAll("#guideOverview .guide-overview-card strong")].some((node) => /Serie|Series/.test(node.textContent))`), true, "the overview has a series card");
console.log("PASS the guide has a Series / cup tab with the whole workflow");
const videoLinkCount = await evaluate(`document.querySelectorAll('[data-guide-panel="videos"] a[href^="/docs/videos/"]').length`);
assert.equal(videoLinkCount, 13, "all 13 video guide links live under the Video guides tab");
assert.equal(videoLinkCount, 15, "all 15 video guide links live under the Video guides tab");
await evaluate(`document.querySelector('[data-guide-tab="run"]').click()`);
assert.equal(await activeTab(), "run");