feat: PLANNING体系首版(00路线图/02任务总表/03执行协议/I-03/I-04/registry42口径)+M1止血交付
This commit is contained in:
@@ -0,0 +1 @@
|
||||
const pw=require("playwright");(async()=>{const b=await pw.chromium.launch();const pg=await b.newPage();await pg.setViewportSize({width:1440,height:900});await pg.goto("http://localhost:3333");await pg.waitForTimeout(2000);for(const t of["A","B","C","D","E"]){await pg.evaluate((x)=>{sw(x)},t);await pg.waitForTimeout(1500);const count=await pg.evaluate(()=>document.querySelectorAll(".gp.show").length);const visible=await pg.evaluate(()=>{const g=document.querySelector(".gp.show");return g?{w:g.offsetWidth,h:g.offsetHeight,children:g.children.length}:null});console.log(t+": show count="+count+" visible="+JSON.stringify(visible));await pg.screenshot({path:"login-templates/v4-showcase/full-"+t+".png",fullPage:true});console.log(t+" full done")}await b.close()})().catch(e=>console.log("err: "+e.message));
|
||||
Reference in New Issue
Block a user