-
Notifications
You must be signed in to change notification settings - Fork 29
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
✨ Support new dropdown for language select #1136
Conversation
Hi @ibolton336 , these changes look good. As a rule, PRs are merged after a successful Jenkins run. Since, PR 1951 has not been merged yet, could you please attach a screenshot of the results of the local run of this PR on analysis/source_analysis.test.ts tests with the changes from PR 1951 ? I'm available on Slack if you need something from me. |
I checked tackle2-ui-ci-run-PR1951 that shows that 1) the analysis/source_analysis_without_creds .test.ts file(tier0 test) was run through 'global-ci-job' and 2) that the test passed. |
Signed-off-by: Ian Bolton <ibolton@redhat.com>
8913a27
to
c971d4c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Thanks @ibolton336 !!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Resolves #1950 UI Tests PR: 1136 Needs: konveyor/tackle-ui-tests#1136 Includes: - Provide a "(Show All)" option to display all targets regardless of language tags. Adds a new component to handle this new menu type. - Populate the options list from the Provider field of the fetched targets. - Initially select the languages based on the tags, of tag category "Language", across the applications selected for analysis. - Update TS type for Target to reflect the provider type changing to a string[]. - Covers the hub change to the task model described here: >The application Analysis fields used to correlated to task by addon. This needs to be updated to correlate by kind == "analyzer" (when not blank) else fallback on addon == "analyzer". The fallback is needed to correlate tasks created in previous releases. - Each target card should always display a label with it's provider. This will allow cards that belong to different providers to be differentiated when more than one language is selected. <img width="1360" alt="Screenshot 2024-06-12 at 3 37 47 PM" src="https://github.com/konveyor/tackle2-ui/assets/11218376/085de6c1-3b56-4532-ab38-81732da377e6"> --------- Signed-off-by: Ian Bolton <ibolton@redhat.com> Co-authored-by: Radoslaw Szwajkowski <rszwajko@redhat.com>
Follow-up to konveyor#1136 To make sure the test does not unselected the desired target language that is automatically selected from the application's tags (language-discovery automatically adds tags when the application is created), switch from a `click` action to a `check` action. A bit more code is used to get to the input checkbox so the `check()` will work. Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
Follow-up to konveyor#1136 To make sure the test does not unselected the desired target language that is automatically selected from the application's tags (language-discovery automatically adds tags when the application is created), switch from a `click` action to a `check` action. A bit more code is used to get to the input checkbox so the `check()` will work. Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
Follow-up to konveyor#1136 To make sure the test does not unselected the desired target language that is automatically selected from the application's tags (language-discovery automatically adds tags when the application is created), switch from a `click` action to a `check` action. A bit more code is used to get to the input checkbox so the `check()` will work. Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
* [RFR] Fix selecting language on analysis wizard, targets step Follow-up to #1136 To make sure the test does not unselected the desired target language that is automatically selected from the application's tags (language-discovery automatically adds tags when the application is created), switch from a `click` action to a `check` action. A bit more code is used to get to the input checkbox so the `check()` will work. Signed-off-by: Scott J Dickerson <sdickers@redhat.com> * run prettier and have it ignore cypress run files Signed-off-by: Scott J Dickerson <sdickers@redhat.com> --------- Signed-off-by: Scott J Dickerson <sdickers@redhat.com>
Supports konveyor/tackle2-ui#1951