DSingh0304 commented on code in PR #3295:
URL: https://github.com/apache/apisix-dashboard/pull/3295#discussion_r3077553181
##########
e2e/utils/ui/upstreams.ts:
##########
@@ -52,10 +54,10 @@ export async function uiFillUpstreamRequiredFields(
await firstRowHost.fill(upstream.nodes[1].host);
await expect(firstRowHost).toHaveValue(upstream.nodes[1].host);
- // Add second node - blur first, wait for useClickOutside state sync, then
click Add
+ // Add second node - blur first to trigger sync, then click Add
await firstRowHost.blur();
if (page) await page.waitForTimeout(500);
- await addNodeBtn.click();
+ await addNodeBtn.click({ force: true });
Review Comment:
I added it because I encountered intermittent flakiness in CI where the 'Add
a Node' button was visible but Playwright reported it as 'obstructed', likely
due to a lingering animation from the Ant Design Table or a transitioning
tooltip.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]