Skip to content

Commit 3270b83

Browse files
author
elchananarb
committed
skip oauth tests
1 parent 8f187d9 commit 3270b83

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

src/test/12.oauthAuthentication.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { retryTest, sleep } from "./utils/utils";
1111

1212
const CX_AUTHENTICATION_COMMAND = "ast-results.showAuth";
1313

14-
describe("Checkmarx OAuth Authentication Tests", () => {
14+
describe.skip("Checkmarx OAuth Authentication Tests", () => {
1515
let bench: Workbench;
1616
let driver: WebDriver;
1717

src/webview/authenticationWebview.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,17 @@ export class AuthenticationWebview {
135135
<div class="auth-form-title">Checkmarx One Authentication</div>
136136
<div id="loginForm">
137137
<div class="radio-group">
138-
<!-- <label style="display: none;"> -->
139-
<label>
138+
139+
<label style="display: none;">
140140
<input type="radio" name="authMethod" value="oauth" checked> OAuth
141141
</label>
142142
143143
<label>
144-
<!-- <input type="radio" name="authMethod" value="apiKey" checked >API Key -->
145-
<input type="radio" name="authMethod" value="apiKey">API Key
144+
<input type="radio" name="authMethod" value="apiKey" checked >API Key
146145
</label>
147146
</div>
148147
149-
<div id="oauthForm" class="auth-form">
150-
<!-- <div style="display: none;" id="oauthForm" class="auth-form"> -->
148+
<div style="display: none;" id="oauthForm" class="auth-form">
151149
<label for="baseUri" class="form-label">Checkmarx One Base URL:</label>
152150
<input type="text" id="baseUri" class="auth-input" placeholder="Enter Checkmarx One Base URL">
153151
<div id="urls-list" class="autocomplete-items"></div>
@@ -160,8 +158,7 @@ export class AuthenticationWebview {
160158
</div>
161159
162160
<!-- (We need to return it to the next div ) (class="hidden">) -->
163-
<!-- <div id="apiKeyForm" -->
164-
<div id="apiKeyForm" class="hidden">
161+
<div id="apiKeyForm"
165162
<label for="apiKey" class="form-label">Checkmarx One API Key:</label>
166163
<input type="password" id="apiKey" placeholder="Enter Checkmarx One API Key" class="auth-input">
167164
</div>
@@ -294,4 +291,4 @@ export class AuthenticationWebview {
294291
}
295292
}
296293
}
297-
}
294+
}

0 commit comments

Comments
 (0)