From 257828b8cee3dc0b5605c8f8cdd63c24eba2a525 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 27 Dec 2024 06:14:16 +0300 Subject: [PATCH] fix: fix url evaluation (#38380) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description Fixes API_Edit_spec.js Fixes #38135 ## Automation /ok-to-test tags="@tag.AccessControl" ### :mag: Cypress test results > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: > Commit: 7ff55522e4fe8ee3206c8d3812fcc330b8c7ce72 > Cypress dashboard. > Tags: `@tag.AccessControl` > Spec: >
Thu, 26 Dec 2024 21:27:58 UTC ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [ ] No ## 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. --- .../e2e/Regression/ServerSide/ApiTests/API_Edit_spec.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_Edit_spec.js b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_Edit_spec.js index 56bab8c02f..83aead99e6 100644 --- a/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_Edit_spec.js +++ b/app/client/cypress/e2e/Regression/ServerSide/ApiTests/API_Edit_spec.js @@ -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",