LiteSun commented on code in PR #3295:
URL: https://github.com/apache/apisix-dashboard/pull/3295#discussion_r3076639953
##########
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:
Why use force?
--
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]