21225: Skip clipboard test in firefox
[arvados.git] / services / workbench2 / cypress / e2e / details-card.cy.js
index 067814e0772d49d54ce4ba4eb8c3f4e1a9fd84f4..fc8356d1d2dc737b6739e1b26cf726df08e11a51 100644 (file)
@@ -153,7 +153,7 @@ describe('Project Details Card tests', function () {
         const projDescription = 'Science! True daughter of Old Time thou art! Who alterest all things with thy peering eyes.';
         //a multi-line description should change the height of the card
         const multiLineProjDescription = '{enter}Why preyest thou thus upon the poet’s heart,{enter}Vulture, whose wings are dull realities?';
-        
+
         cy.loginAs(adminUser);
 
         // Create project
@@ -214,7 +214,9 @@ describe('Project Details Card tests', function () {
         cy.get('[data-cy=project-details-card]').invoke('height').should('be.lt', 90);
     });
 
-    it('should display key/value pairs', () => {
+    // The following test is enabled on Electron only, as Chromium and Firefox
+    // require permissions to access the clipboard.
+    it('should display key/value pairs',  { browser: 'electron' }, () => {
         const projName = `Test project (${Math.floor(999999 * Math.random())})`;
         cy.loginAs(adminUser);