test(FR-1818): e2e create+purge for bulk CSV user creation#7690
Draft
agatha197 wants to merge 1 commit into
Draft
test(FR-1818): e2e create+purge for bulk CSV user creation#7690agatha197 wants to merge 1 commit into
agatha197 wants to merge 1 commit into
Conversation
Adds a Playwright spec that uploads an in-memory CSV with unique per-run emails, clicks Create N users to actually create them on the backend, asserts the success toast and that the rows appear in the active user list, then deactivates and permanently purges the created users in afterEach (reusing the PurgeUsersModal flow). Complements the existing validation-only spec. Requires a running Backend.AI cluster.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #7667 (FR-1818). Merge #7667 first.
What
Adds end-to-end coverage that actually creates users through the Bulk Create Users from CSV modal and then purges them, complementing the existing client-side validation-only spec (
bulk-create-from-csv.spec.ts, in the base PR).The test:
afterEach, deactivates then permanently purges the created users (reusing thePurgeUsersModalflow frome2e/user/bulk-user-creation.spec.ts) so the suite is repeatable and leaves no residue.Notes
adminBulkCreateUsersV2and the purge flow).mode: 'serial') since it mutates shared backend state.🤖 Generated with Claude Code