fix: More Stability for FormBuilder by unit tests (#16129)

* Remove use of location from FormBuilder

* Add tests

* Improve error message in test

* Bust cache
This commit is contained in:
Hariom Balhara authored and GitHub committed 2024-08-27 08:14:19 -04:00
1 parent 7aae55f417
commit 6104add6bd
9 files changed
+463 -200

No files matched your search

+2 -1
View File
@@ -921,7 +921,8 @@ async function confirmPendingPayment(page: Page) {
headers: { "stripe-signature": signature },
});
if (response.status() !== 200) throw new Error(`Failed to confirm payment. Response: ${response.text()}`);
if (response.status() !== 200)
throw new Error(`Failed to confirm payment. Response: ${await response.text()}`);
}
// login using a replay of an E2E routine.