云
2 小时以前 724a3d9d2cdb001bd9fae4eaea0ffabfa5ffaf6d
scripts/mobile-quality-sales-smoke.cjs
@@ -74,7 +74,9 @@
    await page.getByRole('heading', { name: '质检结果待确认' }).waitFor(); assert.equal(writes.length, 1); assert.equal(writes[0].quality.code, 'TRACE-1');
    await page.reload(); await page.getByRole('button', { name: '核实质检结果' }).click();
    await page.getByText(/已核实:本次袋码均已有质检记录/).waitFor(); assert.equal(writes.length, 1, 'Verification must not resubmit quality');
    await page.goto(base + '/mobile/quality-records'); await page.getByText('合格', { exact: true }).last().waitFor();
    await page.goto(base + '/mobile/quality-records');
    await page.getByRole('heading', { name: '批量检验与审核', exact: true }).waitFor();
    await page.getByText('合格', { exact: true }).last().waitFor();
    await capture('quality-records-480.png');
    for (const type of ['PALLET', 'BATCH']) {
      quality = null;