Implement ProgCode identity and real shared reading UI kit
Build and deploy / deploy (push) Successful in 2m39s
No files matched your search
|
After Width: | Height: | Size: 133 KiB |
|
After Width: | Height: | Size: 116 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 127 KiB |
|
After Width: | Height: | Size: 129 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 65 KiB |
|
After Width: | Height: | Size: 51 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 59 KiB |
|
After Width: | Height: | Size: 83 KiB |
|
After Width: | Height: | Size: 67 KiB |
@@ -0,0 +1,80 @@
|
||||
{
|
||||
"method": "Independent designer PostCSS comparison of exact frozen built CSS, preserving rule order within each declaration list",
|
||||
"files": [
|
||||
"/tmp/progcode-ds-frozen-0340b0d273be/_next/static/chunks/106zaoxmg1.2~.css",
|
||||
"/tmp/progcode-ds-frozen-f5d927948163/_next/static/chunks/0z.r4e_1fyi9o.css"
|
||||
],
|
||||
"before": 428,
|
||||
"after": 431,
|
||||
"removed": [],
|
||||
"added": [
|
||||
{
|
||||
"scope": [
|
||||
[
|
||||
"media",
|
||||
"(max-width:650px)"
|
||||
]
|
||||
],
|
||||
"selector": ".simple-page h1,.tool-page h1",
|
||||
"decls": [
|
||||
[
|
||||
"letter-spacing",
|
||||
"-1px",
|
||||
false
|
||||
],
|
||||
[
|
||||
"overflow-wrap",
|
||||
"anywhere",
|
||||
false
|
||||
],
|
||||
[
|
||||
"font-size",
|
||||
"34px",
|
||||
false
|
||||
],
|
||||
[
|
||||
"line-height",
|
||||
"1.13",
|
||||
false
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"scope": [],
|
||||
"selector": ".catalog-controls>.field",
|
||||
"decls": [
|
||||
[
|
||||
"flex",
|
||||
"1",
|
||||
false
|
||||
],
|
||||
[
|
||||
"max-width",
|
||||
"390px",
|
||||
false
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"scope": [
|
||||
[
|
||||
"media",
|
||||
"(max-width:950px)"
|
||||
]
|
||||
],
|
||||
"selector": ".catalog-controls>.field",
|
||||
"decls": [
|
||||
[
|
||||
"width",
|
||||
"100%",
|
||||
false
|
||||
],
|
||||
[
|
||||
"max-width",
|
||||
"none",
|
||||
false
|
||||
]
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
async page=>{async function css(base){await page.goto(base+'/');await page.waitForFunction(()=>document.styleSheets.length>0);return await page.evaluate(()=>{const out=[];function walk(rules,scope=''){for(const r of rules){if(r.styleSheet){walk(r.styleSheet.cssRules,scope+'|@import')}else if(r.cssRules){walk(r.cssRules,scope+'|'+(r.conditionText||r.name||r.constructor.name))}else if(r.selectorText){out.push(scope+'|'+r.selectorText+'|'+r.style.cssText)}}}for(const s of document.styleSheets)walk(s.cssRules);return {count:document.styleSheets.length,rules:out}})}const old=await css('http://127.0.0.1:65019'),next=await css('http://127.0.0.1:50480');return {oldSheets:old.count,newSheets:next.count,oldRules:old.rules.length,newRules:next.rules.length,added:next.rules.filter(x=>!old.rules.includes(x)),removed:old.rules.filter(x=>!next.rules.includes(x))};}
|
||||
@@ -0,0 +1,10 @@
|
||||
### Result
|
||||
{"oldSheets":1,"newSheets":1,"oldRules":0,"newRules":0,"added":[],"removed":[]}
|
||||
### Ran Playwright code
|
||||
```js
|
||||
await (async page=>{async function css(base){await page.goto(base+'/');await page.waitForFunction(()=>document.styleSheets.length>0);return await page.evaluate(()=>{const out=[];function walk(rules,scope=''){for(const r of rules){if(r.styleSheet){walk(r.styleSheet.cssRules,scope+'|@import')}else if(r.cssRules){walk(r.cssRules,scope+'|'+(r.conditionText||r.name||r.constructor.name))}else if(r.selectorText){out.push(scope+'|'+r.selectorText+'|'+r.style.cssText)}}}for(const s of document.styleSheets)walk(s.cssRules);return {count:document.styleSheets.length,rules:out}})}const old=await css('http://127.0.0.1:65019'),next=await css('http://127.0.0.1:50480');return {oldSheets:old.count,newSheets:next.count,oldRules:old.rules.length,newRules:next.rules.length,added:next.rules.filter(x=>!old.rules.includes(x)),removed:old.rules.filter(x=>!next.rules.includes(x))};}
|
||||
)(page);
|
||||
```
|
||||
### Page
|
||||
- Page URL: http://127.0.0.1:50480/
|
||||
- Page Title: ProgCode — записки о программировании
|
||||
|
After Width: | Height: | Size: 95 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 136 KiB |
|
After Width: | Height: | Size: 102 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 47 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 74 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 73 KiB |
|
After Width: | Height: | Size: 67 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 46 KiB |
|
After Width: | Height: | Size: 120 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 66 KiB |
|
After Width: | Height: | Size: 94 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 27 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 57 KiB |
|
After Width: | Height: | Size: 109 KiB |
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"sourceHash": "f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900",
|
||||
"opened": [
|
||||
"resources-320-light-top.png",
|
||||
"resources-320-dark-top.png",
|
||||
"resources-390-light-top.png",
|
||||
"resources-390-dark-top.png",
|
||||
"resources-1440-light-top.png",
|
||||
"resources-1440-dark-top.png",
|
||||
"json-320-light-top.png",
|
||||
"json-320-dark-top.png",
|
||||
"json-390-light-top.png",
|
||||
"json-390-dark-top.png",
|
||||
"json-1440-light-top.png",
|
||||
"json-1440-dark-top.png",
|
||||
"about-320-light-top.png",
|
||||
"about-320-dark-top.png",
|
||||
"about-390-light-top.png",
|
||||
"about-390-dark-top.png",
|
||||
"about-1440-light-top.png",
|
||||
"about-1440-dark-top.png",
|
||||
"privacy-320-light-top.png",
|
||||
"privacy-320-dark-top.png",
|
||||
"privacy-390-light-top.png",
|
||||
"privacy-390-dark-top.png",
|
||||
"privacy-1440-light-top.png",
|
||||
"privacy-1440-dark-top.png",
|
||||
"sources-320-light-top.png",
|
||||
"sources-320-dark-top.png",
|
||||
"sources-390-light-top.png",
|
||||
"sources-390-dark-top.png",
|
||||
"sources-1440-light-top.png",
|
||||
"sources-1440-dark-top.png",
|
||||
"accessibility-320-light-top.png",
|
||||
"accessibility-320-dark-top.png",
|
||||
"accessibility-390-light-top.png",
|
||||
"accessibility-390-dark-top.png",
|
||||
"accessibility-1440-light-top.png",
|
||||
"accessibility-1440-dark-top.png",
|
||||
"home-field-1440.png",
|
||||
"kit-field-1440-dark.png",
|
||||
"accessibility-320-dark-footer.png",
|
||||
"privacy-320-light-footer.png",
|
||||
"gc-figure-390-dark.png",
|
||||
"catalog-date-390-dark.png",
|
||||
"json-error-dark.png",
|
||||
"home-1440-light-footer.png"
|
||||
],
|
||||
"count": 44,
|
||||
"scope": "Fresh service-page/fix/new-footer inspection and scoped shared-component adoption, not all generated screenshots individually opened."
|
||||
}
|
||||
|
After Width: | Height: | Size: 132 KiB |
|
After Width: | Height: | Size: 139 KiB |
|
After Width: | Height: | Size: 132 KiB |
|
After Width: | Height: | Size: 140 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 53 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 63 KiB |
|
After Width: | Height: | Size: 85 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 54 KiB |
|
After Width: | Height: | Size: 48 KiB |
|
After Width: | Height: | Size: 55 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 58 KiB |
@@ -0,0 +1,13 @@
|
||||
async page=>{
|
||||
const b='http://127.0.0.1:50480',o='/tmp/progcode-ds-designer-f5',r={identity:await page.request.get(b+'/build-identity.json').then(r=>r.json()),checks:[]};
|
||||
const css=async()=>page.evaluate(()=>{const all=[];function walk(rules,scope=''){for(const x of rules){if(x.cssRules)walk(x.cssRules,scope+'|'+x.conditionText);else if(x.selectorText)all.push(scope+'|'+x.selectorText+'|'+x.style.cssText)}}for(const s of document.styleSheets)walk(s.cssRules);return all});
|
||||
await page.goto('http://127.0.0.1:65019/');const oldCSS=await css();await page.goto(b+'/');const newCSS=await css();r.cssDelta={old:oldCSS.length,new:newCSS.length,added:newCSS.filter(x=>!oldCSS.includes(x)),removed:oldCSS.filter(x=>!newCSS.includes(x))};
|
||||
const cases=[['home','/'],['resources','/resources/'],['json','/tools/'],['about','/about/'],['privacy','/privacy/'],['sources','/sources/'],['accessibility','/accessibility/'],['kit','/ui-kit/']];
|
||||
for(const theme of ['light','dark']){await page.goto(b+'/');await page.getByRole('combobox',{name:'Тема'}).selectOption(theme);for(const width of [320,390,1440]){await page.setViewportSize({width,height:900});for(const [name,path] of cases){const resp=await page.goto(b+path);if(name==='home')await page.locator('.lead-visual img').evaluate(e=>e.decode());await page.screenshot({path:o+'/'+name+'-'+width+'-'+theme+'-top.png'});await page.locator('footer').scrollIntoViewIfNeeded();await page.screenshot({path:o+'/'+name+'-'+width+'-'+theme+'-footer.png'});r.checks.push({name,path,width,theme,status:resp.status(),...await page.evaluate(()=>({scroll:document.documentElement.scrollWidth,themeValue:document.documentElement.dataset.theme,footerLinks:[...document.querySelectorAll('footer a')].map(e=>({text:e.textContent,href:e.getAttribute('href')})),h1:document.querySelector('h1')?.textContent}))});}}}
|
||||
await page.setViewportSize({width:1440,height:900});await page.goto(b+'/');await page.getByRole('combobox',{name:'Тема'}).selectOption('light');await page.locator('#search').scrollIntoViewIfNeeded();r.homeField=await page.locator('#search').evaluate(e=>({width:e.clientWidth,bounding:e.getBoundingClientRect().width}));await page.screenshot({path:o+'/home-field-1440.png'});await page.locator('#search').fill('Bitrix');r.positive=await page.locator('.journal-list .index-entry').count();await page.locator('#search').fill('нетсовпадений');r.zero=await page.locator('.search-status').innerText();await page.getByRole('button',{name:'Сбросить поиск',exact:true}).click();r.reset=await page.locator('#search').inputValue();await page.getByRole('combobox',{name:'Тема'}).selectOption('dark');await page.reload();r.persist=await page.getByRole('combobox',{name:'Тема'}).inputValue();await page.goto(b+'/ui-kit/');await page.locator('#search').scrollIntoViewIfNeeded();r.kitField=await page.locator('#search').boundingBox();await page.screenshot({path:o+'/kit-field-1440-dark.png'});
|
||||
await page.goto(b+'/tools/');await page.locator('#json').fill('{bad');await page.getByRole('button',{name:'Форматировать',exact:true}).click();r.jsonError=await page.locator('#json-status').innerText();await page.screenshot({path:o+'/json-error-dark.png',fullPage:true});
|
||||
await page.setViewportSize({width:390,height:900});await page.goto(b+'/category/dlang/');r.catalogDate=await page.locator('time').first().innerText();await page.screenshot({path:o+'/catalog-date-390-dark.png'});
|
||||
await page.goto(b+'/articles/'+encodeURIComponent('dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол')+'/');const fig=page.locator('figure').first();await fig.scrollIntoViewIfNeeded();await fig.locator('img').evaluate(e=>e.decode());await page.screenshot({path:o+'/gc-figure-390-dark.png'});
|
||||
await page.goto(b+'/accessibility/');await page.keyboard.press('Tab');r.skipFocus=await page.evaluate(()=>({text:document.activeElement.textContent,outline:getComputedStyle(document.activeElement).outlineStyle}));
|
||||
return r;
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
### Result
|
||||
{"identity":{"sourceHash":"f5d92794816398171b68a1d374b24bd0cd9ea0f85d005c7be92369b40d314900","articles":14},"checks":[{"name":"home","path":"/","width":320,"theme":"light","status":200,"scroll":320,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура","href":"/sources/"},{"text":"Приватность","href":"/privacy/"},{"text":"Доступность и чтение","href":"/accessibility/"},{"text":"Компоненты ProgCode","href":"/ui-kit/"}],"h1":"Разобраться.Написать. Проверить."},{"name":"resources","path":"/resources/","width":320,"theme":"light","status":200,"scroll":320,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура","href":"/sources/"},{"text":"Приватность","href":"/privacy/"},{"text":"Доступность и чтение","href":"/accessibility/"},{"text":"Компоненты ProgCode","href":"/ui-kit/"}],"h1":"Сначала —первоисточник."},{"name":"json","path":"/tools/","width":320,"theme":"light","status":200,"scroll":320,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура","href":"/sources/"},{"text":"Приватность","href":"/privacy/"},{"text":"Доступность и чтение","href":"/accessibility/"},{"text":"Компоненты ProgCode","href":"/ui-kit/"}],"h1":"Привести JSONв порядок."},{"name":"about","path":"/about/","width":320,"theme":"light","status":200,"scroll":320,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура","href":"/sources/"},{"text":"Приватность","href":"/privacy/"},{"text":"Доступность и чтение","href":"/accessibility/"},{"text":"Компоненты ProgCode","href":"/ui-kit/"}],"h1":"Блог одногопрограммиста."},{"name":"privacy","path":"/privacy/","width":320,"theme":"light","status":200,"scroll":320,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура","href":"/sources/"},{"text":"Приватность","href":"/privacy/"},{"text":"Доступность и чтение","href":"/accessibility/"},{"text":"Компоненты ProgCode","href":"/ui-kit/"}],"h1":"Приватностьи аналитика."},{"name":"sources","path":"/sources/","width":320,"theme":"light","status":200,"scroll":320,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура","href":"/sources/"},{"text":"Приватность","href":"/privacy/"},{"text":"Доступность и чтение","href":"/accessibility/"},{"text":"Компоненты ProgCode","href":"/ui-kit/"}],"h1":"Сохранить смысл.Уточнить контекст."},{"name":"accessibility","path":"/accessibility/","width":320,"theme":"light","status":200,"scroll":320,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура","href":"/sources/"},{"text":"Приватность","href":"/privacy/"},{"text":"Доступность и чтение","href":"/accessibility/"},{"text":"Компоненты ProgCode","href":"/ui-kit/"}],"h1":"Настроить чтениепод себя."},{"name":"kit","path":"/ui-kit/","width":320,"theme":"light","status":200,"scroll":320,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура","href":"/sources/"},{"text":"Приватность","href":"/privacy/"},{"text":"Доступность и чтение","href":"/accessibility/"},{"text":"Компоненты ProgCode","href":"/ui-kit/"}],"h1":"Компоненты ProgCode."},{"name":"home","path":"/","width":390,"theme":"light","status":200,"scroll":390,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура","href":"/sources/"},{"text":"Приватность","href":"/privacy/"},{"text":"Доступность и чтение","href":"/accessibility/"},{"text":"Компоненты ProgCode","href":"/ui-kit/"}],"h1":"Разобраться.Написать. Проверить."},{"name":"resources","path":"/resources/","width":390,"theme":"light","status":200,"scroll":390,"themeValue":"light","footerLinks":[{"text":"","href":"/"},{"text":"Все статьи","href":"/#journal"},{"text":"Источники и редактура"Line truncated
|
||||
### Ran Playwright code
|
||||
```js
|
||||
await (async page=>{
|
||||
const b='http://127.0.0.1:50480',o='/tmp/progcode-ds-designer-f5',r={identity:await page.request.get(b+'/build-identity.json').then(r=>r.json()),checks:[]};
|
||||
const css=async()=>page.evaluate(()=>{const all=[];function walk(rules,scope=''){for(const x of rules){if(x.cssRules)walk(x.cssRules,scope+'|'+x.conditionText);else if(x.selectorText)all.push(scope+'|'+x.selectorText+'|'+x.style.cssText)}}for(const s of document.styleSheets)walk(s.cssRules);return all});
|
||||
await page.goto('http://127.0.0.1:65019/');const oldCSS=await css();await page.goto(b+'/');const newCSS=await css();r.cssDelta={old:oldCSS.length,new:newCSS.length,added:newCSS.filter(x=>!oldCSS.includes(x)),removed:oldCSS.filter(x=>!newCSS.includes(x))};
|
||||
const cases=[['home','/'],['resources','/resources/'],['json','/tools/'],['about','/about/'],['privacy','/privacy/'],['sources','/sources/'],['accessibility','/accessibility/'],['kit','/ui-kit/']];
|
||||
for(const theme of ['light','dark']){await page.goto(b+'/');await page.getByRole('combobox',{name:'Тема'}).selectOption(theme);for(const width of [320,390,1440]){await page.setViewportSize({width,height:900});for(const [name,path] of cases){const resp=await page.goto(b+path);if(name==='home')await page.locator('.lead-visual img').evaluate(e=>e.decode());await page.screenshot({path:o+'/'+name+'-'+width+'-'+theme+'-top.png'});await page.locator('footer').scrollIntoViewIfNeeded();await page.screenshot({path:o+'/'+name+'-'+width+'-'+theme+'-footer.png'});r.checks.push({name,path,width,theme,status:resp.status(),...await page.evaluate(()=>({scroll:document.documentElement.scrollWidth,themeValue:document.documentElement.dataset.theme,footerLinks:[...document.querySelectorAll('footer a')].map(e=>({text:e.textContent,href:e.getAttribute('href')})),h1:document.querySelector('h1')?.textContent}))});}}}
|
||||
await page.setViewportSize({width:1440,height:900});await page.goto(b+'/');await page.getByRole('combobox',{name:'Тема'}).selectOption('light');await page.locator('#search').scrollIntoViewIfNeeded();r.homeField=await page.locator('#search').evaluate(e=>({width:e.clientWidth,bounding:e.getBoundingClientRect().width}));await page.screenshot({path:o+'/home-field-1440.png'});await page.locator('#search').fill('Bitrix');r.positive=await page.locator('.journal-list .index-entry').count();await page.locator('#search').fill('нетсовпадений');r.zero=await page.locator('.search-status').innerText();await page.getByRole('button',{name:'Сбросить поиск',exact:true}).click();r.reset=await page.locator('#search').inputValue();await page.getByRole('combobox',{name:'Тема'}).selectOption('dark');await page.reload();r.persist=await page.getByRole('combobox',{name:'Тема'}).inputValue();await page.goto(b+'/ui-kit/');await page.locator('#search').scrollIntoViewIfNeeded();r.kitField=await page.locator('#search').boundingBox();await page.screenshot({path:o+'/kit-field-1440-dark.png'});
|
||||
await page.goto(b+'/tools/');await page.locator('#json').fill('{bad');await page.getByRole('button',{name:'Форматировать',exact:true}).click();r.jsonError=await page.locator('#json-status').innerText();await page.screenshot({path:o+'/json-error-dark.png',fullPage:true});
|
||||
await page.setViewportSize({width:390,height:900});await page.goto(b+'/category/dlang/');r.catalogDate=await page.locator('time').first().innerText();await page.screenshot({path:o+'/catalog-date-390-dark.png'});
|
||||
await page.goto(b+'/articles/'+encodeURIComponent('dconf-2017-под-капотом-мусорщика-ди-дмитрий-ол')+'/');const fig=page.locator('figure').first();await fig.scrollIntoViewIfNeeded();await fig.locator('img').evaluate(e=>e.decode());await page.screenshot({path:o+'/gc-figure-390-dark.png'});
|
||||
await page.goto(b+'/accessibility/');await page.keyboard.press('Tab');r.skipFocus=await page.evaluate(()=>({text:document.activeElement.textContent,outline:getComputedStyle(document.activeElement).outlineStyle}));
|
||||
return r;
|
||||
}
|
||||
)(page);
|
||||
```
|
||||
### Page
|
||||
- Page URL: http://127.0.0.1:50480/accessibility/
|
||||
- Page Title: Доступность и чтение — ProgCode
|
||||
### Events
|
||||
- New console entries: .playwright-cli/console-2026-10-27T02-00-54-282Z.log#L1
|
||||
|
After Width: | Height: | Size: 130 KiB |
|
After Width: | Height: | Size: 135 KiB |
|
After Width: | Height: | Size: 131 KiB |
|
After Width: | Height: | Size: 135 KiB |