I'm encountering an issue in Retool where selecting and submitting a category and its relevant subcategory works as expected manually, but the values are not sent through the API when I attempt to automate this process using Playwright in Python.
Steps to Reproduce:
- Open the Retool app and navigate to the NLP feedback section.
- Select a category from the first dropdown and a subcategory from the second dropdown.
- Submit the form.
- When done manually, the selected values are correctly sent to the API, but when automated, the API payload does not contain these values.
Code snippet here to show relevant sections of the automation process
page2.locator("//input[@id='multiselect1--0']").click()
... continued code with dropdown and submission logic
Expected Behavior: The selected category and subcategory should be visible in the API payload after submitting via automation.
Actual Behavior: The values appear in the UI but are missing from the API payload when submitted through automation.
Troubleshooting Done:
* Verified that manual submission sends the values correctly.
* Attempted various waits and event dispatches to simulate user interactions more accurately.
* Reviewed Retool documentation for any potential configuration options that may impact automation.
Additional Details: I'm using Playwright with Python for automation. Is there a specific way to simulate the dropdown selection that Retool requires for automated interactions?