test(guide): expect 13 video guide links after adding the House of RC video
This commit is contained in:
1 parent
c5addf5b41
commit
38cfa7ff2d
1 file changed
+1
-1
@@ -45,7 +45,7 @@ export async function runGuideTabsSmoke({ evaluate, navigate }) {
|
|||||||
console.log("PASS the guide has a Series / cup tab with the whole workflow");
|
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`);
|
const videoLinkCount = await evaluate(`document.querySelectorAll('[data-guide-panel="videos"] a[href^="/docs/videos/"]').length`);
|
||||||
assert.equal(videoLinkCount, 12, "all 12 video guide links live under the Video guides tab");
|
assert.equal(videoLinkCount, 13, "all 13 video guide links live under the Video guides tab");
|
||||||
|
|
||||||
await evaluate(`document.querySelector('[data-guide-tab="run"]').click()`);
|
await evaluate(`document.querySelector('[data-guide-tab="run"]').click()`);
|
||||||
assert.equal(await activeTab(), "run");
|
assert.equal(await activeTab(), "run");
|
||||||
|
|||||||
Reference in new issue
Block a user