Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fcc0aba810 |
@@ -98,7 +98,7 @@ export async function verifyCanvasAgentUI(base:string){
|
|||||||
await page.setViewportSize({width:390,height:844});
|
await page.setViewportSize({width:390,height:844});
|
||||||
const bounds=await panel.boundingBox();assert.ok(bounds&&bounds.x>=0&&bounds.x+bounds.width<=390,'Agent panel stays within the mobile viewport');
|
const bounds=await panel.boundingBox();assert.ok(bounds&&bounds.x>=0&&bounds.x+bounds.width<=390,'Agent panel stays within the mobile viewport');
|
||||||
await page.reload({waitUntil:'domcontentloaded'});
|
await page.reload({waitUntil:'domcontentloaded'});
|
||||||
await page.getByRole('link',{name:email,exact:true}).waitFor({state:'attached'});
|
await page.getByRole('link',{name:email,exact:true,includeHidden:true}).waitFor({state:'attached'});
|
||||||
await page.getByRole('button',{name:'Agent',exact:true}).click();
|
await page.getByRole('button',{name:'Agent',exact:true}).click();
|
||||||
const reopened=page.getByRole('region',{name:'Agent 连接',exact:true});
|
const reopened=page.getByRole('region',{name:'Agent 连接',exact:true});
|
||||||
await reopened.getByRole('combobox',{name:'打开在线画布',exact:true}).selectOption(list.canvases[0].id);
|
await reopened.getByRole('combobox',{name:'打开在线画布',exact:true}).selectOption(list.canvases[0].id);
|
||||||
|
|||||||
Reference in New Issue
Block a user