mirror of
https://github.com/penpot/penpot.git
synced 2025-06-24 08:47:00 +02:00
💄 Reformat affected JS files
This commit is contained in:
parent
3efd5cb9e8
commit
ecbedf847f
28 changed files with 720 additions and 285 deletions
|
@ -3,42 +3,42 @@ import { BaseWebSocketPage } from "./BaseWebSocketPage";
|
|||
export class OnboardingPage extends BaseWebSocketPage {
|
||||
constructor(page) {
|
||||
super(page);
|
||||
this.submitButton = page.getByRole("Button",{ name: "Next" })
|
||||
this.submitButton = page.getByRole("Button", { name: "Next" });
|
||||
}
|
||||
|
||||
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("Personal").click();
|
||||
await this.page.getByText("Select option").click();
|
||||
await this.page.getByText("Testing before self-hosting").click();
|
||||
|
||||
await this.submitButton.click();
|
||||
}
|
||||
|
||||
async fillOnboardingInputsStep2() {
|
||||
await this.page.getByText('Figma').click();
|
||||
await this.page.getByText("Figma").click();
|
||||
|
||||
await this.submitButton.click();
|
||||
}
|
||||
|
||||
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.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.page.getByText("Other").click();
|
||||
await this.page.getByPlaceholder("Other (specify)").fill("Another");
|
||||
await this.submitButton.click();
|
||||
}
|
||||
|
||||
async fillOnboardingInputsStep5() {
|
||||
await this.page.getByText('Event').click();
|
||||
await this.page.getByText("Event").click();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue