gazebo
gazebo copied to clipboard
test: test flaky test
testing a flaky test
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.
:x: Failed Test Results:
Completed 2396 tests with 1 failed, 2395 passed and 0 skipped.
View the full list of failed tests
OktaConfigForm
- Class name: OktaConfigForm should submit form with valid data
Test name: OktaConfigForm should submit form with valid data
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"input": Object {
- "clientId": "New client ID INCORRECT",
+ "clientId": "New client ID",
"clientSecret": "New client secret",
"orgUsername": "codecov",
"url": "http://localhost:3000",
},
},
Number of calls: 1
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="border border-ds-gray-secondary"
>
<div
class="m-5"
>
<form
class="mb-4 flex flex-col gap-4"
>
<div
class="flex flex-col gap-1"
>
<h2
class="text-base font-semibold"
>
Step 1: Enable Okta Sync
</h2>
<p>
To connect Codecov with Okta, you need to enable the synchronization. Please enter the necessary Okta credentials below and toggle the sync option to start the synchronization process.
</p>
</div>
<div
class="flex flex-col gap-4 bg-ds-gray-primary p-4"
>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="clientId"
>
Client ID
</label>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input291"
>
Enter Client ID
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="clientId"
name="clientId"
placeholder="Enter Client ID"
type="text"
value="clientId"
/>
</div>
</div>
</div>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="clientSecret"
>
Client Secret
</label>
<div
class="relative"
>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input292"
>
Enter Client Secret
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="clientSecret"
name="clientSecret"
placeholder="Enter Client Secret"
type="password"
value="clientSecret"
/>
</div>
</div>
<button
class="absolute inset-y-0 right-0 flex items-center pr-3 text-sm leading-5"
type="button"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
>
eye-off.svg
</svg>
</button>
</div>
</div>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="redirectUri"
>
Redirect URI
</label>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input293"
>
Enter Redirect URI
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="redirectUri"
name="redirectUri"
placeholder="Enter Redirect URI"
type="text"
value="https://okta.com"
/>
</div>
</div>
</div>
<div>
<button
class="
flex items-center gap-1
rounded py-1 px-4
transition-colors duration-150 motion-reduce:transition-none
focus:outline-none focus:ring
disabled:cursor-not-allowed
disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary
justify-center font-semibold
text-ds-gray-octonary bg-ds-gray-primary border-ds-gray-quaternary
border-solid border shadow
hover:bg-ds-gray-secondary
"
data-cy="save okta form changes"
data-marketing="save okta form changes"
data-testid="save okta form changes"
disabled=""
type="submit"
>
Save
</button>
</div>
</div>
</form>
<div
class="flex flex-col gap-4"
>
<div
class="bg-ds-gray-primary text-ds-gray-octonary p-4 border-l-4 border-ds-blue-quinary"
>
<div
class="text-sm md:w-5/6"
>
<div
class="flex flex-col gap-3"
>
<p>
Please note that we are unable to verify the Okta credentials. After enabling sync, be sure to test the connection to ensure it is functioning correctly. Additionally, you must toggle enforce on to require Okta login
</p>
<div
class="flex items-center gap-1.5"
data-marketing="toggle294-okta-sync-enabled"
>
<label
class="cursor-pointer xl:whitespace-nowrap "
for="toggle294"
>
Okta Sync Enabled
</label>
<button
aria-disabled="false"
aria-pressed="false"
class="relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-50 bg-ds-gray-quinary"
id="toggle294"
type="button"
>
<span
aria-hidden="true"
class="pointer-events-none translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200 translate-x-0"
data-testid="switch"
>
<div
class="text-ds-gray-quinary"
>
<svg
class="w-5 h-5"
data-icon=""
data-testid=""
>
x.svg
</svg>
</div>
</span>
</button>
</div>
</div>
</div>
</div>
<hr />
<h2
class="text-base font-semibold"
>
Step 2: Enforce Okta Login
</h2>
<p>
Once the synchronization with Okta is enabled, you can enforce Okta login for all users.
</p>
<div
class="bg-ds-gray-primary text-ds-gray-octonary p-4 border-l-4 border-ds-blue-quinary"
>
<div
class="text-sm md:w-5/6"
>
<div
class="flex flex-col gap-3"
>
<p>
Please note that enabling this will require all users to log in to Codecov via Okta. Without successful verification, only public repositories will be visible.
</p>
<div
class="flex items-center gap-1.5"
data-marketing="toggle295-okta-login-enforce"
>
<label
class="cursor-pointer xl:whitespace-nowrap "
for="toggle295"
>
Okta Login Enforced
</label>
<button
aria-disabled="false"
aria-pressed="false"
class="relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-50 bg-ds-gray-quinary"
id="toggle295"
type="button"
>
<span
aria-hidden="true"
class="pointer-events-none translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200 translate-x-0"
data-testid="switch"
>
<div
class="text-ds-gray-quinary"
>
<svg
class="w-5 h-5"
data-icon=""
data-testid=""
>
x.svg
</svg>
</div>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
at callback (.../OktaAccess/OktaConfigForm/OktaConfigForm.spec.tsx:347:22)
at runWithExpensiveErrorDiagnosticsDisabled (.../gazebo/gazebo/node_modules/@.../dom/dist/config.js:47:12)
at checkCallback (.../gazebo/gazebo/node_modules/@.../dom/dist/wait-for.js:124:76)
at checkRealTimersCallback (.../gazebo/gazebo/node_modules/@.../dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (.../gazebo/gazebo/node_modules/jsdom/lib/jsdom/browser/Window.js:516:19)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.
:x: Failed Test Results:
Completed 1367 tests with 1 failed, 1366 passed and 0 skipped.
View the full list of failed tests
OktaConfigForm
- Class name: OktaConfigForm should submit form with valid data
Test name: OktaConfigForm should submit form with valid data
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"input": Object {
- "clientId": "New client ID INCORRECT",
+ "clientId": "New client ID",
"clientSecret": "New client secret",
"orgUsername": "codecov",
"url": "http://localhost:3000",
},
},
Number of calls: 1
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="border border-ds-gray-secondary"
>
<div
class="m-5"
>
<form
class="mb-4 flex flex-col gap-4"
>
<div
class="flex flex-col gap-1"
>
<h2
class="text-base font-semibold"
>
Step 1: Enable Okta Sync
</h2>
<p>
To connect Codecov with Okta, you need to enable the synchronization. Please enter the necessary Okta credentials below and toggle the sync option to start the synchronization process.
</p>
</div>
<div
class="flex flex-col gap-4 bg-ds-gray-primary p-4"
>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="clientId"
>
Client ID
</label>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input291"
>
Enter Client ID
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="clientId"
name="clientId"
placeholder="Enter Client ID"
type="text"
value="clientId"
/>
</div>
</div>
</div>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="clientSecret"
>
Client Secret
</label>
<div
class="relative"
>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input292"
>
Enter Client Secret
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="clientSecret"
name="clientSecret"
placeholder="Enter Client Secret"
type="password"
value="clientSecret"
/>
</div>
</div>
<button
class="absolute inset-y-0 right-0 flex items-center pr-3 text-sm leading-5"
type="button"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
>
eye-off.svg
</svg>
</button>
</div>
</div>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="redirectUri"
>
Redirect URI
</label>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input293"
>
Enter Redirect URI
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="redirectUri"
name="redirectUri"
placeholder="Enter Redirect URI"
type="text"
value="https://okta.com"
/>
</div>
</div>
</div>
<div>
<button
class="
flex items-center gap-1
rounded py-1 px-4
transition-colors duration-150 motion-reduce:transition-none
focus:outline-none focus:ring
disabled:cursor-not-allowed
disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary
justify-center font-semibold
text-ds-gray-octonary bg-ds-gray-primary border-ds-gray-quaternary
border-solid border shadow
hover:bg-ds-gray-secondary
"
data-cy="save okta form changes"
data-marketing="save okta form changes"
data-testid="save okta form changes"
disabled=""
type="submit"
>
Save
</button>
</div>
</div>
</form>
<div
class="flex flex-col gap-4"
>
<div
class="bg-ds-gray-primary text-ds-gray-octonary p-4 border-l-4 border-ds-blue-quinary"
>
<div
class="text-sm md:w-5/6"
>
<div
class="flex flex-col gap-3"
>
<p>
Please note that we are unable to verify the Okta credentials. After enabling sync, be sure to test the connection to ensure it is functioning correctly. Additionally, you must toggle enforce on to require Okta login
</p>
<div
class="flex items-center gap-1.5"
data-marketing="toggle294-okta-sync-enabled"
>
<label
class="cursor-pointer xl:whitespace-nowrap "
for="toggle294"
>
Okta Sync Enabled
</label>
<button
aria-disabled="false"
aria-pressed="false"
class="relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-50 bg-ds-gray-quinary"
id="toggle294"
type="button"
>
<span
aria-hidden="true"
class="pointer-events-none translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200 translate-x-0"
data-testid="switch"
>
<div
class="text-ds-gray-quinary"
>
<svg
class="w-5 h-5"
data-icon=""
data-testid=""
>
x.svg
</svg>
</div>
</span>
</button>
</div>
</div>
</div>
</div>
<hr />
<h2
class="text-base font-semibold"
>
Step 2: Enforce Okta Login
</h2>
<p>
Once the synchronization with Okta is enabled, you can enforce Okta login for all users.
</p>
<div
class="bg-ds-gray-primary text-ds-gray-octonary p-4 border-l-4 border-ds-blue-quinary"
>
<div
class="text-sm md:w-5/6"
>
<div
class="flex flex-col gap-3"
>
<p>
Please note that enabling this will require all users to log in to Codecov via Okta. Without successful verification, only public repositories will be visible.
</p>
<div
class="flex items-center gap-1.5"
data-marketing="toggle295-okta-login-enforce"
>
<label
class="cursor-pointer xl:whitespace-nowrap "
for="toggle295"
>
Okta Login Enforced
</label>
<button
aria-disabled="false"
aria-pressed="false"
class="relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-50 bg-ds-gray-quinary"
id="toggle295"
type="button"
>
<span
aria-hidden="true"
class="pointer-events-none translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200 translate-x-0"
data-testid="switch"
>
<div
class="text-ds-gray-quinary"
>
<svg
class="w-5 h-5"
data-icon=""
data-testid=""
>
x.svg
</svg>
</div>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
at callback (.../OktaAccess/OktaConfigForm/OktaConfigForm.spec.tsx:347:22)
at runWithExpensiveErrorDiagnosticsDisabled (.../gazebo/gazebo/node_modules/@.../dom/dist/config.js:47:12)
at checkCallback (.../gazebo/gazebo/node_modules/@.../dom/dist/wait-for.js:124:76)
at checkRealTimersCallback (.../gazebo/gazebo/node_modules/@.../dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (.../gazebo/gazebo/node_modules/jsdom/lib/jsdom/browser/Window.js:516:19)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.
:x: Failed Test Results:
Completed 1367 tests with 1 failed, 1366 passed and 0 skipped.
View the full list of failed tests
OktaConfigForm
- Class name: OktaConfigForm should submit form with valid data
Test name: OktaConfigForm should submit form with valid data
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"input": Object {
- "clientId": "New client ID INCORRECT",
+ "clientId": "New client ID",
"clientSecret": "New client secret",
"orgUsername": "codecov",
"url": "http://localhost:3000",
},
},
Number of calls: 1
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="border border-ds-gray-secondary"
>
<div
class="m-5"
>
<form
class="mb-4 flex flex-col gap-4"
>
<div
class="flex flex-col gap-1"
>
<h2
class="text-base font-semibold"
>
Step 1: Enable Okta Sync
</h2>
<p>
To connect Codecov with Okta, you need to enable the synchronization. Please enter the necessary Okta credentials below and toggle the sync option to start the synchronization process.
</p>
</div>
<div
class="flex flex-col gap-4 bg-ds-gray-primary p-4"
>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="clientId"
>
Client ID
</label>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input291"
>
Enter Client ID
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="clientId"
name="clientId"
placeholder="Enter Client ID"
type="text"
value="clientId"
/>
</div>
</div>
</div>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="clientSecret"
>
Client Secret
</label>
<div
class="relative"
>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input292"
>
Enter Client Secret
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="clientSecret"
name="clientSecret"
placeholder="Enter Client Secret"
type="password"
value="clientSecret"
/>
</div>
</div>
<button
class="absolute inset-y-0 right-0 flex items-center pr-3 text-sm leading-5"
type="button"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
>
eye-off.svg
</svg>
</button>
</div>
</div>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="redirectUri"
>
Redirect URI
</label>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input293"
>
Enter Redirect URI
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="redirectUri"
name="redirectUri"
placeholder="Enter Redirect URI"
type="text"
value="https://okta.com"
/>
</div>
</div>
</div>
<div>
<button
class="
flex items-center gap-1
rounded py-1 px-4
transition-colors duration-150 motion-reduce:transition-none
focus:outline-none focus:ring
disabled:cursor-not-allowed
disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary
justify-center font-semibold
text-ds-gray-octonary bg-ds-gray-primary border-ds-gray-quaternary
border-solid border shadow
hover:bg-ds-gray-secondary
"
data-cy="save okta form changes"
data-marketing="save okta form changes"
data-testid="save okta form changes"
disabled=""
type="submit"
>
Save
</button>
</div>
</div>
</form>
<div
class="flex flex-col gap-4"
>
<div
class="bg-ds-gray-primary text-ds-gray-octonary p-4 border-l-4 border-ds-blue-quinary"
>
<div
class="text-sm md:w-5/6"
>
<div
class="flex flex-col gap-3"
>
<p>
Please note that we are unable to verify the Okta credentials. After enabling sync, be sure to test the connection to ensure it is functioning correctly. Additionally, you must toggle enforce on to require Okta login
</p>
<div
class="flex items-center gap-1.5"
data-marketing="toggle294-okta-sync-enabled"
>
<label
class="cursor-pointer xl:whitespace-nowrap "
for="toggle294"
>
Okta Sync Enabled
</label>
<button
aria-disabled="false"
aria-pressed="false"
class="relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-50 bg-ds-gray-quinary"
id="toggle294"
type="button"
>
<span
aria-hidden="true"
class="pointer-events-none translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200 translate-x-0"
data-testid="switch"
>
<div
class="text-ds-gray-quinary"
>
<svg
class="w-5 h-5"
data-icon=""
data-testid=""
>
x.svg
</svg>
</div>
</span>
</button>
</div>
</div>
</div>
</div>
<hr />
<h2
class="text-base font-semibold"
>
Step 2: Enforce Okta Login
</h2>
<p>
Once the synchronization with Okta is enabled, you can enforce Okta login for all users.
</p>
<div
class="bg-ds-gray-primary text-ds-gray-octonary p-4 border-l-4 border-ds-blue-quinary"
>
<div
class="text-sm md:w-5/6"
>
<div
class="flex flex-col gap-3"
>
<p>
Please note that enabling this will require all users to log in to Codecov via Okta. Without successful verification, only public repositories will be visible.
</p>
<div
class="flex items-center gap-1.5"
data-marketing="toggle295-okta-login-enforce"
>
<label
class="cursor-pointer xl:whitespace-nowrap "
for="toggle295"
>
Okta Login Enforced
</label>
<button
aria-disabled="false"
aria-pressed="false"
class="relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-50 bg-ds-gray-quinary"
id="toggle295"
type="button"
>
<span
aria-hidden="true"
class="pointer-events-none translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200 translate-x-0"
data-testid="switch"
>
<div
class="text-ds-gray-quinary"
>
<svg
class="w-5 h-5"
data-icon=""
data-testid=""
>
x.svg
</svg>
</div>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
at callback (.../OktaAccess/OktaConfigForm/OktaConfigForm.spec.tsx:347:22)
at runWithExpensiveErrorDiagnosticsDisabled (.../gazebo/gazebo/node_modules/@.../dom/dist/config.js:47:12)
at checkCallback (.../gazebo/gazebo/node_modules/@.../dom/dist/wait-for.js:124:76)
at checkRealTimersCallback (.../gazebo/gazebo/node_modules/@.../dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (.../gazebo/gazebo/node_modules/jsdom/lib/jsdom/browser/Window.js:516:19)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
Test Failures Detected: Due to failing tests, we cannot provide coverage reports at this time.
:x: Failed Test Results:
Completed 3011 tests with 1 failed(1 known flakes hit), 3010 passed and 0 skipped.
View the full list of flaky tests
OktaConfigForm
- Class name: OktaConfigForm should submit form with valid data
Test name: OktaConfigForm should submit form with valid data
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"input": Object {
- "clientId": "New client ID INCORRECT",
+ "clientId": "New client ID",
"clientSecret": "New client secret",
"orgUsername": "codecov",
"url": "http://localhost:3000",
},
},
Number of calls: 1
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<div
class="border border-ds-gray-secondary"
>
<div
class="m-5"
>
<form
class="mb-4 flex flex-col gap-4"
>
<div
class="flex flex-col gap-1"
>
<h2
class="text-base font-semibold"
>
Step 1: Enable Okta Sync
</h2>
<p>
To connect Codecov with Okta, you need to enable the synchronization. Please enter the necessary Okta credentials below and toggle the sync option to start the synchronization process.
</p>
</div>
<div
class="flex flex-col gap-4 bg-ds-gray-primary p-4"
>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="clientId"
>
Client ID
</label>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input291"
>
Enter Client ID
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="clientId"
name="clientId"
placeholder="Enter Client ID"
type="text"
value="clientId"
/>
</div>
</div>
</div>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="clientSecret"
>
Client Secret
</label>
<div
class="relative"
>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input292"
>
Enter Client Secret
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="clientSecret"
name="clientSecret"
placeholder="Enter Client Secret"
type="password"
value="clientSecret"
/>
</div>
</div>
<button
class="absolute inset-y-0 right-0 flex items-center pr-3 text-sm leading-5"
type="button"
>
<svg
class="w-4 h-4"
data-icon=""
data-testid=""
>
eye-off.svg
</svg>
</button>
</div>
</div>
<div
class="flex flex-col gap-1"
>
<label
class="block font-semibold"
for="redirectUri"
>
Redirect URI
</label>
<div>
<label
class="block font-semibold mb-2 sr-only"
for="text-input293"
>
Enter Redirect URI
</label>
<div
class="relative"
>
<input
class="block border-ds-gray-tertiary px-3 text-sm w-full h-8 disabled:text-ds-gray-quaternary disabled:bg-ds-gray-primary disabled:border-ds-gray-tertiary rounded border"
id="redirectUri"
name="redirectUri"
placeholder="Enter Redirect URI"
type="text"
value="https://okta.com"
/>
</div>
</div>
</div>
<div>
<button
class="
flex items-center gap-1
rounded py-1 px-4
transition-colors duration-150 motion-reduce:transition-none
focus:outline-none focus:ring
disabled:cursor-not-allowed
disabled:text-ds-gray-quaternary disabled:border-ds-gray-tertiary disabled:bg-ds-gray-primary
justify-center font-semibold
text-ds-gray-octonary bg-ds-gray-primary border-ds-gray-quaternary
border-solid border shadow
hover:bg-ds-gray-secondary
"
data-cy="save okta form changes"
data-marketing="save okta form changes"
data-testid="save okta form changes"
disabled=""
type="submit"
>
Save
</button>
</div>
</div>
</form>
<div
class="flex flex-col gap-4"
>
<div
class="bg-ds-gray-primary text-ds-gray-octonary p-4 border-l-4 border-ds-blue-quinary"
>
<div
class="text-sm md:w-5/6"
>
<div
class="flex flex-col gap-3"
>
<p>
Please note that we are unable to verify the Okta credentials. After enabling sync, be sure to test the connection to ensure it is functioning correctly. Additionally, you must toggle enforce on to require Okta login
</p>
<div
class="flex items-center gap-1.5"
data-marketing="toggle294-okta-sync-enabled"
>
<label
class="cursor-pointer xl:whitespace-nowrap "
for="toggle294"
>
Okta Sync Enabled
</label>
<button
aria-disabled="false"
aria-pressed="false"
class="relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-50 bg-ds-gray-quinary"
id="toggle294"
type="button"
>
<span
aria-hidden="true"
class="pointer-events-none translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200 translate-x-0"
data-testid="switch"
>
<div
class="text-ds-gray-quinary"
>
<svg
class="w-5 h-5"
data-icon=""
data-testid=""
>
x.svg
</svg>
</div>
</span>
</button>
</div>
</div>
</div>
</div>
<hr />
<h2
class="text-base font-semibold"
>
Step 2: Enforce Okta Login
</h2>
<p>
Once the synchronization with Okta is enabled, you can enforce Okta login for all users.
</p>
<div
class="bg-ds-gray-primary text-ds-gray-octonary p-4 border-l-4 border-ds-blue-quinary"
>
<div
class="text-sm md:w-5/6"
>
<div
class="flex flex-col gap-3"
>
<p>
Please note that enabling this will require all users to log in to Codecov via Okta. Without successful verification, only public repositories will be visible.
</p>
<div
class="flex items-center gap-1.5"
data-marketing="toggle295-okta-login-enforce"
>
<label
class="cursor-pointer xl:whitespace-nowrap "
for="toggle295"
>
Okta Login Enforced
</label>
<button
aria-disabled="false"
aria-pressed="false"
class="relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-50 bg-ds-gray-quinary"
id="toggle295"
type="button"
>
<span
aria-hidden="true"
class="pointer-events-none translate-x-0 inline-block h-5 w-5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200 translate-x-0"
data-testid="switch"
>
<div
class="text-ds-gray-quinary"
>
<svg
class="w-5 h-5"
data-icon=""
data-testid=""
>
x.svg
</svg>
</div>
</span>
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
at callback (.../OktaAccess/OktaConfigForm/OktaConfigForm.spec.tsx:347:22)
at runWithExpensiveErrorDiagnosticsDisabled (.../gazebo/gazebo/node_modules/@.../dom/dist/config.js:47:12)
at checkCallback (.../gazebo/gazebo/node_modules/@.../dom/dist/wait-for.js:124:76)
at checkRealTimersCallback (.../gazebo/gazebo/node_modules/@.../dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (.../gazebo/gazebo/node_modules/jsdom/lib/jsdom/browser/Window.js:516:19)
at listOnTimeout (node:internal/timers:581:17)
at processTimers (node:internal/timers:519:7)
✅ Deploy preview for gazebo ready!
Previews expire after 1 month automatically.
| Commit | Created | Cloud | Enterprise |
|---|---|---|---|
| 4e3f599b8459025b5f4b911389f3961c5a266fd8 | Wed, 07 Aug 2024 13:37:27 GMT | Cloud | Enterprise |