Merge branch '17018-readonly-file-actions-fix'
[arvados-workbench2.git] / cypress / integration / favorites.js
index 8ef4899f38577fd0e578c265f73c0f58361ea0e4..0855c94e4ddc1dd12d5eb466a3ce01dc76dd2e92 100644 (file)
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-describe('Collection panel tests', function() {
+describe('Favorites tests', function() {
     let activeUser;
     let adminUser;
 
@@ -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, {