You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2021/02/09 06:04:48 UTC

[apisix-dashboard] branch master updated: test: improve the stability of frontend e2e (#1448)

This is an automated email from the ASF dual-hosted git repository.

juzhiyuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-dashboard.git


The following commit(s) were added to refs/heads/master by this push:
     new fda123c  test: improve the stability of frontend  e2e (#1448)
fda123c is described below

commit fda123c28dda7e4f4ae5d649b286ffcaebc568ae
Author: guoqqqi <72...@users.noreply.github.com>
AuthorDate: Tue Feb 9 14:04:37 2021 +0800

    test: improve the stability of frontend  e2e (#1448)
---
 web/cypress/integration/route/search-route.spec.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/cypress/integration/route/search-route.spec.js b/web/cypress/integration/route/search-route.spec.js
index 7bc92e4..4b4f89b 100644
--- a/web/cypress/integration/route/search-route.spec.js
+++ b/web/cypress/integration/route/search-route.spec.js
@@ -118,7 +118,7 @@ context('Create and Search Route', () => {
   it('should delete the route', function () {
     cy.visit('/routes/list');
     for (let i = 0; i < 3; i += 1) {
-      cy.contains(`test${i}`).siblings().contains('Delete').click();
+      cy.contains(`test${i}`).siblings().contains('Delete').click({ timeout });
       cy.contains('button', 'Confirm').click({ timeout });
       cy.get(this.domSelector.notification).should('contain', data.deleteRouteSuccess);
     }