357 — should upload org image and finish onboarding¶
Description¶
Verifies the happy-path completion of onboarding: uploading an organization logo, filling all organization fields, and finishing — then confirming the new organization is created with the correct name and logo, and the header avatar shows the user's profile picture.
Preconditions¶
- A freshly registered and email-verified user account that has not yet completed onboarding.
- The user has already completed Step 1: name filled in, profile avatar (
profilePicture.jpeg) uploaded, language set to English, and has advanced to Step 2 of 2 ("Create organization").
Steps¶
- Upload
companyLogo.pngas the organization logo. Expected: an "Updated" toast appears and the logo preview matches the original file. - Fill in Organization Name with a generated company name, Organization Size with a value from the predefined list, Industry = "Architecture", and Source = "Other".
- Expected: all four fields display the values just entered.
- Click the "Finish" button and wait for the new workspace to finish loading (the app shows a "creating demo data" loader for several seconds).
- Expected: the page header now displays the uploaded
profilePicture.jpegas the user's avatar. - Open Organization Settings.
- Expected: the Organization Title shows the company name entered in step 2.
- Expected: the organization logo image on the settings page matches the original
companyLogo.pngfile.
Related¶
- Spec:
playwright/tests/integration/onboarding.spec.ts(line 151)