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

Refs #35873 - More ouia-ids for ACS #10423

Merged
merged 1 commit into from Jan 19, 2023
Merged

Refs #35873 - More ouia-ids for ACS #10423

merged 1 commit into from Jan 19, 2023

Conversation

sjha4
Copy link
Member

@sjha4 sjha4 commented Jan 17, 2023

What are the changes introduced in this pull request?

Add ouiaId prop to supported PF4 components in ACS UI.

Considerations taken when implementing this change?

What are the testing steps for this pull request?

Uncomment webpack/global_test_setup.js as desired
Run npx jest webpack/scenes/AlternateContentSources/
See if any components complain about ouia-ids.

@theforeman-bot
Copy link

Issues: #35873

@@ -16,7 +16,7 @@ global.console.error = (error, stack) => {
// 'The prop `ouiaId` is marked as required in `Modal`, but its value is `undefined`',
// 'created by WizardHeader', 'created by Navigation',
// 'created by ActionsColumn', 'created by InactiveText', 'created by Select',
// 'created by Context.Consumer'];
// 'created by Context.Consumer', 'created by DualListSelector'];
Copy link
Member

Choose a reason for hiding this comment

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

What is DualListSelector

Copy link
Member Author

Choose a reason for hiding this comment

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

It's this patternfly component: https://www.patternfly.org/v4/components/dual-list-selector/

We use it on ACS creation wizard to select products and smart proxies. The component internally renders some child components which are ouia-id enabled but we can't set those in our code directly. Hence ignoring those for now.

Copy link
Member

@chris1984 chris1984 left a comment

Choose a reason for hiding this comment

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

ACK, don't see any complaints during the npx jest run about ouia-ids and went into the browser and inspected the ones in the pr and confirmed i can see them in the DOM

@sjha4 sjha4 merged commit 22db652 into Katello:master Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants