~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/knotless

git that lives in your Atmosphere account

knotless.dev
1 collaborator

knotless 0.13.0 Latest 2 packages, 1 image

1
10

The e2e merge flow waits as long for the merge as compacting does

Merged chadtmiller.com asked to merge into main from chadtmiller.com/knotless:e2e/merge-wait
harness/e2e/flows.spec.mjs+3−2
@@ -228,9 +228,10 @@ test('merging a pull', async () => {
await page.locator('.merge-box').getByRole('button', { name: 'Merge pull' }).click()
// The page asks its answers again once merged, and the thread says so,
// with a way to revert it, in place of the box: the box's own word for
// it shows only until then, which can be no time at all.
// it shows only until then, which can be no time at all. A merge is
// several writes to the PDS, as compacting is, so it gets as long.
const said = page.locator('.event', { hasText: 'Merged as' })
await expect(said.getByText(/^[0-9a-f]{7}$/)).toBeVisible()
await expect(said.getByText(/^[0-9a-f]{7}$/)).toBeVisible({ timeout: 30_000 })
const sha = await said.getByText(/^[0-9a-f]{7}$/).innerText()
await expect(page.getByRole('button', { name: 'Revert' })).toBeVisible()
await anew(page, (expect) =>