docs: align published presentation and verify horizon source traceability
Build and publish Eldorado documentation / build (pull_request) Successful in 48s
Build and publish Eldorado documentation / build (pull_request) Successful in 48s
This commit is contained in:
1 parent
d8feeba025
commit
f23bf1c5f4
7 files changed
+60
-28
No files matched your search
@@ -63,7 +63,7 @@ const views = {
|
||||
if(await frame.locator('html').getAttribute('data-theme')!==theme) {
|
||||
await frame.locator('#btn-theme').focus(); await page.keyboard.press('Enter');
|
||||
}
|
||||
await page.waitForFunction(t=>document.documentElement.dataset.theme===t,theme);
|
||||
await page.waitForFunction(t=>document.documentElement?.dataset.theme===t,theme);
|
||||
const inline=await inspect(frame,name,width<1100);
|
||||
await frame.locator('#btn-preset').focus();await page.keyboard.press('Enter');
|
||||
await frame.locator('[data-preset-value="blueprint"]').focus();await page.keyboard.press('Enter');
|
||||
@@ -93,7 +93,7 @@ const views = {
|
||||
const close=panel.getByRole('button',{name:'Close full-screen diagram',exact:true});await close.waitFor({state:'visible'});
|
||||
const fullIframe=panel.locator('dialog iframe');
|
||||
const fullscreen=await (await fullIframe.elementHandle()).contentFrame();
|
||||
await fullscreen.waitForFunction(t=>document.documentElement.dataset.theme===t,theme);
|
||||
await fullscreen.waitForFunction(t=>document.documentElement?.dataset.theme===t,theme);
|
||||
const expanded=await inspect(fullscreen,name,width<1000);
|
||||
await page.screenshot({path:`${output}/${width}-${theme}-${name}-fullscreen.png`});
|
||||
await close.focus();await page.keyboard.press('Escape');
|
||||
|
||||
Reference in new issue
Block a user