feat(series): rookie rounds can pick drivers from other classes, with a guide section (1.75.0)
This commit is contained in:
1 parent
bea4283130
commit
d5337e2cf3
11 files changed
+103
-9
No files matched your search
@@ -39,7 +39,7 @@ 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`), 21, "four sections, 21 steps");
|
||||
assert.equal(await evaluate(`document.querySelectorAll('[data-guide-panel="series"] .guide-list li').length`), 27, "five sections (with Rookie), 27 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");
|
||||
|
||||
Reference in new issue
Block a user