16811: Filter "Public favorites" from "Shared with me" & add test
[arvados-workbench2.git] / cypress / integration / favorites.js
index 8ef4899f38577fd0e578c265f73c0f58361ea0e4..b38399be506b65aba126c700183401601a73b151 100644 (file)
@@ -28,6 +28,12 @@ describe('Collection panel tests', function() {
         cy.clearLocalStorage()
     })
 
+    it('checks that Public favorites does not appear under shared with me', function() {
+        cy.loginAs(adminUser);
+        cy.contains('Shared with me').click();
+        cy.get('main').contains('Public favorites').should('not.exist');
+    })
+
     it('creates and removes a public favorite', function() {
         cy.loginAs(adminUser);
             cy.createGroup(adminUser.token, {