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:
giancarlo
2024-05-05 18:15:11 +07:00
parent ca4932e351
commit b8f00f0a2d
12 changed files with 141 additions and 80 deletions

View File

@@ -75,7 +75,6 @@ test.describe('Full Invitation Flow', () => {
test('should invite users and let users accept an invite', async () => {
await invitations.navigateToMembers();
await invitations.openInviteForm();
const invites = [
{
@@ -88,6 +87,7 @@ test.describe('Full Invitation Flow', () => {
},
];
await invitations.openInviteForm();
await invitations.inviteMembers(invites);
const firstEmail = invites[0]!.email;