You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ma...@apache.org on 2021/04/27 14:39:44 UTC

[apisix-dashboard] branch master updated: fix: unstable ci in create_and_edit_upstream_with_no_nodes.spec.js (#1826)

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

majunjie 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 5d6d7fc  fix: unstable ci in create_and_edit_upstream_with_no_nodes.spec.js (#1826)
5d6d7fc is described below

commit 5d6d7fc7b6bfdee97c08a144597248b928056df9
Author: liuxiran <li...@apache.org>
AuthorDate: Tue Apr 27 22:39:24 2021 +0800

    fix: unstable ci in create_and_edit_upstream_with_no_nodes.spec.js (#1826)
---
 .../upstream/create_and_edit_upstream_with_no_nodes.spec.js           | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/web/cypress/integration/upstream/create_and_edit_upstream_with_no_nodes.spec.js b/web/cypress/integration/upstream/create_and_edit_upstream_with_no_nodes.spec.js
index 95cc820..8ccea8b 100644
--- a/web/cypress/integration/upstream/create_and_edit_upstream_with_no_nodes.spec.js
+++ b/web/cypress/integration/upstream/create_and_edit_upstream_with_no_nodes.spec.js
@@ -51,7 +51,9 @@ context('Create and Delete Upstream', () => {
 
       cy.get(this.domSelector.upstreamNodeMinus0).should('not.exist');
       cy.contains('Next').click();
-      cy.contains('Submit').click();
+      cy.contains('Submit').click({
+        force: true,
+      });
 
       cy.get(this.domSelector.notification).should('contain', this.data.configureUpstreamSuccess);
       cy.url().should('contains', 'upstream/list');