fix(tests): Update error handling in BuildPage to suppress unused variable warning

Modified the error handling in the `BuildPage` class to replace the caught error variable with an underscore (`_error`). This change prevents warnings about unused variables while maintaining the existing functionality of logging tutorial dismissal messages. Ensured that the code remains clean and adheres to best practices.
This commit is contained in:
abhi1992002
2026-02-17 11:06:44 +05:30
parent cb9fc65fc9
commit ef52537197

View File

@@ -27,7 +27,7 @@ export class BuildPage extends BasePage {
await this.page
.getByRole("button", { name: "Skip Tutorial", exact: true })
.click({ timeout: 3000 });
} catch (error) {
} catch (_error) {
console.info("Tutorial not shown or already dismissed");
}
}