Skip to content

feat: remove test realm.json #422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Apr 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bundles/k3d-core-slim-dev/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ packages:
GOOGLE_IDP_CORE_ENTITY_ID: "https://sso.uds.dev/realms/uds"
GOOGLE_IDP_ADMIN_GROUP: "uds-core-dev-admin"
GOOGLE_IDP_AUDITOR_GROUP: "uds-core-dev-auditor"
X509_OCSP_FAIL_OPEN: "true"
- path: realmAuthFlows
value:
USERNAME_PASSWORD_AUTH_ENABLED: true
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/UDS Core/IdAM/integration.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Using uds-cli task [`uds-core-integration-tests`](https://github.com/defenseunic
Task explanation:

- Cleanup an existing uds-core directory ( mainly for local testing )
- Create docker image that uses the new certs as well as a testing realm.json ( has a defined user, no MFA, and no email verification )
- Create docker image that uses the new certs
- Clone [`uds-core`](https://github.com/defenseunicorns/uds-core) necessary for setting up k3d cluster to test against
- Use that cacert in deploying `uds-core` [istio gateways](https://github.com/defenseunicorns/uds-core/tree/main/src/istio/values)
- Create zarf package that combines uds-core and identity-config
Expand Down
2 changes: 1 addition & 1 deletion src/test/cypress/e2e/login.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { RegistrationFormData } from "../support/types";

describe("Login Flow", () => {
it("Existing User", () => {
// existing user created in test realm.json
// existing user
const formData: RegistrationFormData = {
firstName: "Testing",
lastName: "User",
Expand Down
7 changes: 4 additions & 3 deletions src/test/cypress/e2e/registration.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ describe("CAC Registration Flow", () => {
// Navigate to login page
cy.visit("https://sso.uds.dev");


// Verify DoD PKI Detected Banner on Login page
cy.get(".form-group .alert-info").should("be.visible").contains("h2", "DoD PKI Detected");
cy.get(".form-group #certificate_subjectDN")
Expand All @@ -49,11 +50,11 @@ describe("CAC Registration Flow", () => {
describe("Registration Tests", () => {
it("Duplicate Registration", () => {
const formData: RegistrationFormData = {
firstName: "Testing",
lastName: "User",
firstName: "Doug",
lastName: "Doug",
organization: "Defense Unicorns",
username: "testing_user",
email: "[email protected]",
email: "[email protected]",
password: "PrettyUnicorns1!!",
affiliation: "Contractor",
payGrade: "N/A",
Expand Down
Loading
Loading