FangSen9000 commented on code in PR #2581:
URL: https://github.com/apache/apisix-dashboard/pull/2581#discussion_r963474405
##########
web/cypress/e2e/rest/service-edit-service-with-upstream.cy.js:
##########
@@ -94,7 +93,6 @@ context('Edit Service with Upstream', () => {
force: true,
})
.should('value', data.ip1);
- cy.get(selector.input).should('be.disabled');
Review Comment:
1. If the IP disappears, the following Test Cy will remind us that this is
**unnecessary**. I feel that I just want to appear professional, so I wrote
this.
2. Clicking on a disabled input box is strange. It's better to use contain
or something else. According to attempts, this writing will lead to element
conflicts in an assertion. This place often occurs, and the element is
separated from the DOM, which is the reason.
--
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]