From 57d2fef6be24cd09231d474629b0f17461e07630 Mon Sep 17 00:00:00 2001 From: StylusFrost Date: Wed, 29 Oct 2025 15:57:41 +0100 Subject: [PATCH] test(ui): add missing spaces in ProvidersPage tests - Added missing spaces in the ProvidersPage tests to improve readability and maintain consistency in the code style. - This change enhances the overall clarity of the test code without affecting functionality. --- ui/tests/providers/providers-page.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/tests/providers/providers-page.ts b/ui/tests/providers/providers-page.ts index 4adfe8522f..1845e582d4 100644 --- a/ui/tests/providers/providers-page.ts +++ b/ui/tests/providers/providers-page.ts @@ -439,6 +439,7 @@ export class ProvidersPage extends BasePage { // Fill the GitHub provider details await this.githubUsernameInput.fill(data.username); + if (data.alias) { await this.aliasInput.fill(data.alias); } @@ -607,6 +608,7 @@ export class ProvidersPage extends BasePage { // Ensure we are on the add-credentials page where the selector exists await expect(this.page).toHaveURL(/\/providers\/add-credentials/); + if (type === GITHUB_CREDENTIAL_OPTIONS.GITHUB_PERSONAL_ACCESS_TOKEN) { await this.githubPersonalAccessTokenRadio.click({ force: true }); } else if (type === GITHUB_CREDENTIAL_OPTIONS.GITHUB_APP) {