[arvados-workbench2] created: 2.6.0-7-g641c02e3

git repository hosting git at public.arvados.org
Wed May 10 20:02:25 UTC 2023


        at  641c02e31c08e116da3bb0cae40d1a185e16119d (commit)


commit 641c02e31c08e116da3bb0cae40d1a185e16119d
Author: Stephen Smith <stephen at curii.com>
Date:   Wed May 10 16:01:11 2023 -0400

    20377: Try to fix cypress test
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --git a/cypress/integration/favorites.spec.js b/cypress/integration/favorites.spec.js
index db9a0d5f..2e39971e 100644
--- a/cypress/integration/favorites.spec.js
+++ b/cypress/integration/favorites.spec.js
@@ -38,7 +38,9 @@ describe('Favorites tests', function () {
             cy.contains('Add to public favorites').click();
             cy.contains('Public Favorites').click();
             cy.get('main').contains('my-favorite-project').rightclick();
+            cy.intercept('DELETE', '**/v1/links/*').as('deleteLinkRequest');
             cy.contains('Remove from public favorites').click();
+            cy.wait('@deleteLinkRequest');
             cy.get('main').contains('my-favorite-project').should('not.exist');
             cy.trashGroup(adminUser.token, this.myFavoriteProject.uuid);
         });

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list