Skip to content

Commit

Permalink
fix: fix url evaluation (appsmithorg#38380)
Browse files Browse the repository at this point in the history
## Description
Fixes API_Edit_spec.js

Fixes appsmithorg#38135 

## Automation

/ok-to-test tags="@tag.AccessControl"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/12507336996>
> Commit: 7ff5552
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=12507336996&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.AccessControl`
> Spec:
> <hr>Thu, 26 Dec 2024 21:27:58 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Adjusted the test case for URL field interaction by removing the Enter
key action after clicking, streamlining the validation process.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
alex-golovanov authored Dec 27, 2024
1 parent d3602b2 commit ef3d6c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cypress/e2e/Regression/ServerSide/ApiTests/API_Edit_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ describe(
.wait(3000)
.click({
force: true,
})
.type("{enter}", { parseSpecialCharSequences: true });
});

cy.validateEvaluatedValue(
"http://host.docker.internal:5001/Cancel?key=test&val=Cancel",
Expand Down

0 comments on commit ef3d6c2

Please sign in to comment.