Implement ProgCode identity and real shared reading UI kit
Build and deploy / deploy (push) Successful in 2m39s

This commit is contained in:
huncode committed 2026-10-27 15:19:49 +03:00
1 parent 99c848189e
commit 12562baeb5
2040 files changed
+184656 -181

No files matched your search

@@ -0,0 +1 @@
async(page)=>{let errors=[],external=[];page.on('pageerror',e=>errors.push(String(e)));page.on('request',r=>{if(!r.url().startsWith('http://127.0.0.1:50480')&&!r.url().startsWith('data:'))external.push(r.url());});let o={};await page.setViewportSize({width:390,height:1000});await page.goto('http://127.0.0.1:50480/ui-kit/',{waitUntil:'networkidle'});await page.getByLabel('Тема',{exact:true}).selectOption('dark');o.identity=await page.evaluate(async()=>await(await fetch('/build-identity.json')).json());o.disabled=await page.getByRole('button',{name:'Недоступное действие',exact:true}).isDisabled();o.downloadCopy=await page.locator('main').innerText().then(t=>t.split('\n').filter(x=>x.includes('скачив')));await page.getByRole('searchbox').fill('jQuery');o.demoSearch=await page.locator('.search-status').innerText();await page.locator('textarea').fill('[');await page.getByRole('button',{name:'Форматировать',exact:true}).click();o.demoJSON=await page.getByRole('status').allTextContents();await page.locator('textarea').scrollIntoViewIfNeeded();await page.screenshot({path:'/tmp/progcode-ds-cm-f5/uikit-demo-invalid-390-dark.png'});const r=await page.goto('http://127.0.0.1:50480/does-not-exist-cm-f5/',{waitUntil:'networkidle'});o.unknownHTTPStatus=r.status();o.errors=errors;o.external=external;return o;}