mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 20:42:02 +00:00
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.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user