- docs/db/0810/{sswflow,tdc,tds}/: schema-only 导出(应用库策略不变)
- docs/db/0810/j7/: 按 SSW 3 应用 systemId 过滤的 schema + 应用配置数据
(base_system 3 + base_module 131 + base_visual_dev/release 各 11)
- docs/db/0810/summary.json: 总览
- 顺手带上当天 DAG 多用户隔离 + headless 默认 + SandboxView 4 行微调 + e2e 调试产物
26 lines
1.1 KiB
JavaScript
26 lines
1.1 KiB
JavaScript
// 一次性调试:进 /tdc/sandbox 找 sandbox 行按钮文本
|
|
import { newContext } from './lib/browser.mjs'
|
|
import { TestCtx } from './lib/dsl.mjs'
|
|
import { PASSWORD } from './lib/config.mjs'
|
|
|
|
const ctx = await newContext({ headless: true })
|
|
const t = new TestCtx({ page: await ctx.newPage(), context: ctx, runId: 'debug-sandbox', log: ()=>{} })
|
|
await t.login('admin', PASSWORD)
|
|
await t.goto('/tdc/sandbox')
|
|
await t.page.waitForTimeout(1500)
|
|
await t.search('DT1786364947278')
|
|
await t.page.waitForTimeout(1500)
|
|
|
|
const rowSel = '.ant-table-tbody tr.ant-table-row:has-text("DT1786364947278")'
|
|
const n = await t.page.locator(rowSel).count()
|
|
console.log('rows:', n)
|
|
const btns = await t.page.locator(rowSel + ' button').all()
|
|
console.log('btns count:', btns.length)
|
|
for (const b of btns) {
|
|
const txt = (await b.innerText().catch(()=>'?')).trim()
|
|
const visible = await b.isVisible().catch(()=>false)
|
|
const name = await b.getAttribute('aria-label').catch(()=>null)
|
|
console.log(' -', JSON.stringify(txt), 'vis=', visible, 'aria=', name)
|
|
}
|
|
await t.page.screenshot({ path: '/tmp/sandbox-row.png', fullPage: true })
|
|
await ctx.close() |