refactor: the Pagamentos and Integrações tabs in web/kanban-integrations.js
A pure move of kanban.js's Payments and integrations section, byte-identical, loaded after kanban-users.js (Critical Corrections 7, fourth step). The browser test opens both tabs. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -354,6 +354,11 @@ try{
|
||||
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');
|
||||
// Pagamentos and Integrações live in their own file now: both lists still render.
|
||||
await kanban.click('[data-tab="payments"]');
|
||||
await waitFor(()=>kanban.eval(`document.querySelector('#payments').children.length>0`),'Pagamentos tab');
|
||||
await kanban.click('[data-tab="integrations"]');
|
||||
await waitFor(()=>kanban.eval(`document.querySelector('#integrations').children.length>0`),'Integrações tab');
|
||||
// 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