Optimize profile setup flow for better user experience (#6223)

*  Optimize profile setup flow for better user experience

* 📎 Remove extra onboarding step

* 📎 Code review

* 📎 Update changelog

---------

Co-authored-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
María Valderrama 2025-05-05 10:42:08 +02:00 committed by GitHub
parent aae81b8a04
commit 86a498fc29
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 364 additions and 422 deletions

View file

@ -9,7 +9,7 @@ export class OnboardingPage extends BaseWebSocketPage {
async fillOnboardingInputsStep1() {
await this.page.getByText("Personal").click();
await this.page.getByText("Select option").click();
await this.page.getByText("Testing before self-hosting").click();
await this.page.getByText("Product Managment").click();
await this.submitButton.click();
}
@ -21,24 +21,8 @@ export class OnboardingPage extends BaseWebSocketPage {
}
async fillOnboardingInputsStep3() {
await this.page.getByText("Select option").first().click();
await this.page.getByText("Product Managment").click();
await this.page.getByText("Select option").first().click();
await this.page.getByText("Director").click();
await this.page.getByText("Select option").click();
await this.page.getByText("11-30").click();
await this.submitButton.click();
}
async fillOnboardingInputsStep4() {
await this.page.getByText("Other").click();
await this.page.getByPlaceholder("Other (specify)").fill("Another");
await this.submitButton.click();
}
async fillOnboardingInputsStep5() {
await this.page.getByText("Event").click();
}
}