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

Use the correct property in the test for the logic to function #805

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

jkeasley
Copy link
Collaborator

This commit modifies the logic to use the correct property of the object to allow the test to function as expected

To Test:

  • locally have a guidance listing page and an ig_guidance page of the type Panel Guidance and an ig_guidance page of another type (eg external)
  • load the guidance listing page
  • confirm that there is no label 'Panel Guidance' in the panel guidance page's card
  • confirm that the expected label is displayed on the card for the page that has a different type

This commit modifies the logic to use the correct property of the object
to allow the test to function as expected

To Test:
- locally have a guidance listing page and an ig_guidance page
of the type Panel Guidance and an ig_guidance page of another type (eg external)
- load the guidance listing page
- confirm that there is no label 'Panel Guidance' in the panel guidance page's card
- confirm that the expected label is displayed on the card for the page that has a different type
@jkeasley jkeasley merged commit 3dedcce into dev Sep 10, 2024
1 check passed
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.

2 participants