From 8246bd7baf8b3696b1a2f892fea58f4e2d4eb455 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=90=9A=E8=87=B4=E8=BF=9C?= Date: Mon, 22 Mar 2021 18:12:29 +0800 Subject: [PATCH] Update web/cypress/integration/route/create-edit-duplicate-delete-route.spec.js Co-authored-by: guoqqqi <72343596+guoqqqi@users.noreply.github.com> --- .../route/create-edit-duplicate-delete-route.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/cypress/integration/route/create-edit-duplicate-delete-route.spec.js b/web/cypress/integration/route/create-edit-duplicate-delete-route.spec.js index a0597c8151..4ba9d2afba 100644 --- a/web/cypress/integration/route/create-edit-duplicate-delete-route.spec.js +++ b/web/cypress/integration/route/create-edit-duplicate-delete-route.spec.js @@ -188,7 +188,7 @@ context('Create and Delete Route', () => { const { domSelector, data } = this; const routeNames = [newName, duplicateNewName]; routeNames.forEach(function (routeName) { - cy.get(`${domSelector.nameSelector} .ant-input`).clear().type(routeName); + cy.get(domSelector.name).clear().type(routeName); cy.contains('Search').click(); cy.contains(routeName).siblings().contains('Delete').click(); cy.contains('button', 'Confirm').click();