Merge branch 'fix-front-users' into integration
# Conflicts: # tests/browser_test.mjs # web/kanban.html # web/kanban.js
This commit is contained in:
@@ -349,6 +349,11 @@ try{
|
||||
await waitFor(()=>kanban.eval(`document.querySelector('#quote-filters').children.length>0
|
||||
&& document.querySelector('#quote-list').children.length>0
|
||||
&& document.querySelector('#reviews').children.length>0`),'Cotações tab and review panel');
|
||||
// Usuários, machines and each machine's sheet live in their own file too.
|
||||
await kanban.click('[data-tab="users"]');
|
||||
await waitFor(()=>kanban.eval(`document.querySelector('#users-list').children.length>0
|
||||
&& document.querySelector('#roles-matrix').children.length>0
|
||||
&& document.querySelector('#machines-list').children.length>0`),'Usuários tab, people, roles and machines');
|
||||
// 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