Files
progcode/docs/design-system/candidates/0340b0d273be/designer-evidence/field.cjs
T
huncode 12562baeb5
Build and deploy / deploy (push) Successful in 2m39s
Implement ProgCode identity and real shared reading UI kit
2026-10-27 15:19:49 +03:00

2 lines
538 B
JavaScript

async page=>{await page.setViewportSize({width:1440,height:900});await page.goto('http://127.0.0.1:65019/');await page.getByRole('combobox',{name:'Тема'}).selectOption('light');await page.locator('#journal').scrollIntoViewIfNeeded();await page.screenshot({path:'/tmp/progcode-ds-designer0340/search-desktop-field.png'});return await page.locator('#search').evaluate(e=>({inputWidth:e.getBoundingClientRect().width,wrapperWidth:e.parentElement.getBoundingClientRect().width,controlWidth:e.closest('.catalog-controls').clientWidth}));}