21691: Add minor improvements to test reliability
[arvados.git] / services / workbench2 / cypress / e2e / collection.cy.js
index b715cd08b1794213a08058b7a2c1edb6b6bf84f9..20ecf11c09f5a57e27615b7aabfe73105c9a88a4 100644 (file)
@@ -35,8 +35,8 @@ describe("Collection panel tests", function () {
             'Copy link to clipboard',
             'Open with 3rd party client',
             'API Details',
-            'Edit collection',
             'Share',
+            'Edit collection',
             'Move to',
             'Make a copy',
             'Move to trash',
@@ -143,7 +143,7 @@ describe("Collection panel tests", function () {
                 cy.get("[data-cy=name-field]").within(() => {
                     cy.get("input").type(" renamed");
                 });
-                cy.get("[data-cy=form-submit-btn]").click();
+                cy.get("[data-cy=form-submit-btn]").click({timeout: 10000});
             });
         cy.get("[data-cy=form-dialog]").should("not.exist");
         // Attempt to rename the collection with the duplicate name