docs: [verified] connect Strategy through practical Delivery journey
Build and publish Eldorado documentation / build (pull_request) Successful in 42s
Build and publish Eldorado documentation / build (pull_request) Successful in 42s
This commit is contained in:
1 parent
c934ddb5e0
commit
f7a68d7e37
50 files changed
+1573
-95
No files matched your search
@@ -81,6 +81,16 @@ const fs = require('node:fs');
|
||||
await closeMenu();
|
||||
}
|
||||
assert(!await page.evaluate(() => document.documentElement.scrollWidth > innerWidth), `${width}: overflow on ${id}`);
|
||||
if(width===1440 || width===390) {
|
||||
// Full-page capture does not trigger below-fold lazy iframes.
|
||||
for(const iframe of await page.locator('.archify-panel--story > iframe').filter({visible:true}).all()) {
|
||||
await iframe.scrollIntoViewIfNeeded();
|
||||
const frame=await (await iframe.elementHandle()).contentFrame();
|
||||
await frame.locator('.diagram-container > svg').waitFor();
|
||||
}
|
||||
await page.evaluate(()=>scrollTo({top:0,behavior:'instant'}));
|
||||
await page.screenshot({path:`${output}/${width}-${id.replaceAll('/','-')}.png`,fullPage:true,animations:'disabled'});
|
||||
}
|
||||
}
|
||||
assert((await page.locator('article').innerText()).includes('not deployed autonomy'));
|
||||
await page.screenshot({path:`${output}/${width}-stage-02.png`, fullPage:true, animations:'disabled'});
|
||||
|
||||
Reference in new issue
Block a user