Record verified deployment and five role acceptance
Build and deploy / deploy (push) Successful in 47s
Build and deploy / deploy (push) Successful in 47s
This commit is contained in:
1 parent
4ee9c0ef81
commit
fe9b781a1f
8 files changed
+281
-1
No files matched your search
@@ -0,0 +1,22 @@
|
||||
### Result
|
||||
{"title":"ProgCode.Ru — архив программиста","searchResults":3,"jsonOutput":"{\n \"production\": true\n}","publicTLS":"browser navigation succeeded"}
|
||||
### Ran Playwright code
|
||||
```js
|
||||
await (async page => {
|
||||
await page.setViewportSize({width:390,height:844});
|
||||
await page.goto('https://progcode.ru/');
|
||||
const title=await page.title();
|
||||
await page.getByRole('searchbox').fill('Bitrix');
|
||||
const count=await page.locator('.article-card').count();if(count!==3)throw Error('public search failed');
|
||||
await page.screenshot({path:'/tmp/progcode-public-mobile.png'});
|
||||
await page.goto('https://progcode.ru/tools/');
|
||||
await page.locator('#json').fill('{"production":true}');
|
||||
await page.getByRole('button',{name:'Проверить и форматировать'}).click();
|
||||
const output=await page.getByRole('status').innerText();if(!output.includes('true'))throw Error('public tool failed');
|
||||
return {title,searchResults:count,jsonOutput:output,publicTLS:'browser navigation succeeded'};
|
||||
}
|
||||
)(page);
|
||||
```
|
||||
### Page
|
||||
- Page URL: https://progcode.ru/tools/
|
||||
- Page Title: ProgCode.Ru — архив программиста
|
||||
Reference in new issue
Block a user