28 05 2025 deps update (#262)

* Update dependencies across all packages

Updated multiple dependencies to their latest versions to ensure compatibility, security, and performance improvements. This includes packages like @supabase/supabase-js, @tanstack/react-query, @types/react, and zod across various projects.

* Update selector for Stripe form submission button

Replaced the form button selector with a `data-testid` attribute selector for improved reliability and maintainability. This ensures the test is less prone to breaks from UI changes.
This commit is contained in:
Giancarlo Buomprisco
2025-05-28 08:26:28 +07:00
committed by GitHub
parent 2b07c5cc3d
commit 40afecde93
34 changed files with 1182 additions and 1160 deletions

View File

@@ -13,7 +13,7 @@
"license": "ISC",
"devDependencies": {
"@playwright/test": "^1.52.0",
"@types/node": "^22.15.19",
"@types/node": "^22.15.23",
"dotenv": "16.5.0",
"node-html-parser": "^7.0.1",
"totp-generator": "^1.0.0"

View File

@@ -38,7 +38,7 @@ export class StripePageObject {
}
submitForm() {
return this.getStripeCheckoutIframe().locator('form button').click();
return this.getStripeCheckoutIframe().getByTestId('hosted-payment-submit-button').click();
}
cardNumber() {