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

Update input type for Test Plan in ATP #20696

Merged
merged 8 commits into from
Dec 6, 2024

Conversation

KathanS
Copy link
Contributor

@KathanS KathanS commented Nov 27, 2024

Task name: AzureTestPlanV0

Description: Update input type for Test Plan in ATP

Testing screenshots

Updated info bubble

ATP UI

Valid Test plan id will have test suits list available

ATP valid

Invalid Test plan id will show no results for test suits list and test suite is compulsory input field, this helps in ensuring that we get valid test plan id from UI

ATP invalid

Context

We are switching to string input from pickList as of now due to the performance issues faced with current API endpoint. Our plan is to switch to Work Items - APIs, we see 2 challenges currently

  1. WIT API accepting WIQL is POST request (Wiql - Query By Wiql - REST API (Azure DevOps Work Item Tracking) | Microsoft Learn) and in dataSourceBindings, I am not seeing option to add requestBody for the same

  2. First call to above API returns list of ids and we will be making another request to get the titles of test plans as per here - WIQL Reference - Overview

Moreover, we need to have better control on the task UI to achieve this, current structure fetches all available test plan ids first then search happens through them from frontend as user types in the box. Better approach should be calling API as per the edits in string present in input box and returning some number of top results accordingly. I will be looking into achieving the same by custom modifications in pickList input type

@KathanS KathanS changed the title [DRAFT] Update input type for Test Plan in ATP Update input type for Test Plan in ATP Nov 28, 2024
@KathanS KathanS merged commit 511b47b into master Dec 6, 2024
11 checks 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