Refactor E2E tests, update utils, and modify plan-picker validation
Several changes have been made to optimize the testing and validation workflows. The end-to-end tests for user billing, invitations, account, team billing, and team accounts have been retouched for improved performance and better accuracy. There has been a minor modification in the validation rules for plan-picker in the billing component. Furthermore, modifications are made to several utility functions to fine-tune their operations.
This commit is contained in:
@@ -17,11 +17,12 @@ test.describe('User Billing', () => {
|
||||
await po.billing.selectPlan(0);
|
||||
await po.billing.proceedToCheckout();
|
||||
|
||||
await po.billing.stripe.waitForForm();
|
||||
await po.billing.stripe.fillForm();
|
||||
await po.billing.stripe.submitForm();
|
||||
|
||||
await expect(po.billing.successStatus()).toBeVisible({
|
||||
timeout: 30000,
|
||||
timeout: 25_000,
|
||||
});
|
||||
|
||||
await po.billing.returnToBilling();
|
||||
|
||||
Reference in New Issue
Block a user