Skip to content

Use improved PKI service test stub consistently#10942

Merged
aduth merged 1 commit intomainfrom
aduth-rm-visit-piv-cac-service
Jul 18, 2024
Merged

Use improved PKI service test stub consistently#10942
aduth merged 1 commit intomainfrom
aduth-rm-visit-piv-cac-service

Conversation

@aduth
Copy link
Contributor

@aduth aduth commented Jul 16, 2024

🎫 Ticket

Supports LG-13477 (#10918)

🛠 Summary of changes

Builds upon the changes in #10939 to use the new stub_piv_cac_service enhancements consistently throughout existing specs, removing the visit_piv_cac_service method and related spec helpers.

As mentioned in #10939, the goal is to have this behave more realistically to the live implementation, and to have the tests interact with the page in the same way a user would. Previously, we relied heavily on visiting specific URLs that don't necessarily follow from interactions on the page.

📜 Testing Plan

Verify build passes.

@aduth aduth requested review from a team, jmax-gsa and jmhooper July 16, 2024 12:39
Copy link
Contributor

@jmax-gsa jmax-gsa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That cleaned up nicely. It looks like the only remaining bit of magic is follow_piv_cac_redirect, and even that's pretty benign.

LGTM

Base automatically changed from aduth-piv-cac-setup-after-signin-specs to main July 17, 2024 19:01
changelog: Internal, Automated Testing, Use improved PKI service test stub consistently
@aduth aduth force-pushed the aduth-rm-visit-piv-cac-service branch from 921176a to ea9e714 Compare July 17, 2024 19:02
@aduth aduth merged commit 74d2492 into main Jul 18, 2024
@aduth aduth deleted the aduth-rm-visit-piv-cac-service branch July 18, 2024 12:17
mitchellhenke pushed a commit that referenced this pull request Jul 31, 2024
changelog: Internal, Automated Testing, Use improved PKI service test stub consistently
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants