Merge branch 'main' into fix-pdf-check
This commit is contained in:
@@ -340,6 +340,10 @@ try{
|
||||
await waitFor(()=>site.eval('window.scrollY===0'),'screenshot scroll position');
|
||||
await site.screenshot('output/local/site.png');
|
||||
await kanban.screenshot('output/local/kanban.png');
|
||||
// Números lives in its own file now: the tab must still load after kanban.js.
|
||||
await kanban.click('[data-tab="stats"]');
|
||||
await waitFor(()=>kanban.eval(`document.querySelector('#stats-kpis').children.length>0
|
||||
&& document.querySelector('#stats-machine-body').children.length>0`),'Números tab and machines by month');
|
||||
// A guest sees the order paid in this browser; creating an account keeps it.
|
||||
const portal=await page(siteOrigin+'/conta/pedidos?order='+oid);
|
||||
await waitFor(async()=> (await portal.text()).includes('Finalizado'),'customer order tracking');
|
||||
|
||||
Reference in New Issue
Block a user