fix e2e selectors

This commit is contained in:
ajnart committed 2026-07-28 15:49:17 +02:00
1 parent a7eae3ff81
commit 6f957ee984
2 files changed
+6 -5

No files matched your search

+2 -1
View File
@@ -28,7 +28,8 @@ export class OnboardingActions {
}
public async startOnboardingAsync(type: "scratch" | "before 1.0") {
await this.page.locator("button", { hasText: type }).click();
const name = type === "scratch" ? "Start from scratch" : "Import from Homarr before 1.0";
await this.page.getByRole("button", { name, exact: true }).click();
}
public async processUserStepAsync(input: { username: string; password: string; confirmPassword: string }) {