Skip to content
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

Refactor test selectors within auth-methods oidc test #2717

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

calcaide
Copy link
Collaborator

Description

Refactor test selectors within auth-methods oidc test

🎟️ Jira ticket

How to Test

  • Run admin acceptance tests.

@calcaide calcaide self-assigned this Mar 10, 2025
@calcaide calcaide requested a review from a team as a code owner March 10, 2025 20:47
Copy link

vercel bot commented Mar 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
boundary-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 10, 2025 8:55pm
boundary-ui-desktop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 10, 2025 8:55pm

Copy link
Collaborator

@cameronperera cameronperera left a comment

Choose a reason for hiding this comment

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

Overall looks great, left a small non-blocking comment.

assert.strictEqual(
find(CHANGE_STATE_INPUT_CHECKED).value,
find(selectors.CHANGE_STATE_DROPDOWN_CHECKED).value,
Copy link
Collaborator

Choose a reason for hiding this comment

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

nitpick: Do you know if we can achieve this with assert.dom().hasValue()? I think we could drop the use of find() if so.

Copy link
Collaborator

Choose a reason for hiding this comment

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

+1 to drop find()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants