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:
committed by
GitHub
parent
2b07c5cc3d
commit
40afecde93
@@ -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"
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user