瀏覽代碼

test: skip three popover cypress cases

走鹃 3 年之前
父節點
當前提交
19e2384b4d
共有 1 個文件被更改,包括 15 次插入3 次删除
  1. 15 3
      cypress/integration/popover.spec.js

+ 15 - 3
cypress/integration/popover.spec.js

@@ -16,7 +16,11 @@ describe('popover', () => {
         cy.get('[data-cy=pop-focusable-last]').should('be.focused');
         cy.get('[data-cy=pop-focusable-last]').should('be.focused');
     });
     });
 
 
-    it('trigger=hover + keyboard', () => {
+    /**
+     * electron failed
+     * @see https://github.com/cypress-io/cypress/issues/20878
+     */
+    it.skip('trigger=hover + keyboard', () => {
         cy.visit('http://localhost:6006/iframe.html?id=popover--a-11-y-keyboard&args=&viewMode=story');
         cy.visit('http://localhost:6006/iframe.html?id=popover--a-11-y-keyboard&args=&viewMode=story');
         cy.get('[data-cy=hover]').trigger('focus');
         cy.get('[data-cy=hover]').trigger('focus');
         cy.get('[data-cy=hover]').type('{downArrow}');
         cy.get('[data-cy=hover]').type('{downArrow}');
@@ -27,7 +31,11 @@ describe('popover', () => {
         cy.get('[data-cy=pop-focusable-last]').should('be.focused');
         cy.get('[data-cy=pop-focusable-last]').should('be.focused');
     });
     });
 
 
-    it('trigger=focus + keyboard', () => {
+    /**
+     * electron failed
+     * @see https://github.com/cypress-io/cypress/issues/20878
+     */
+    it.skip('trigger=focus + keyboard', () => {
         cy.visit('http://localhost:6006/iframe.html?id=popover--a-11-y-keyboard&args=&viewMode=story');
         cy.visit('http://localhost:6006/iframe.html?id=popover--a-11-y-keyboard&args=&viewMode=story');
         cy.get('[data-cy=focus]').trigger('focus');
         cy.get('[data-cy=focus]').trigger('focus');
         cy.get('[data-cy=focus]').type('{downArrow}');
         cy.get('[data-cy=focus]').type('{downArrow}');
@@ -38,7 +46,11 @@ describe('popover', () => {
         cy.get('[data-cy=pop-focusable-last]').should('be.focused');
         cy.get('[data-cy=pop-focusable-last]').should('be.focused');
     });
     });
 
 
-    it('trigger=custom + keyboard', () => {
+    /**
+     * electron failed
+     * @see https://github.com/cypress-io/cypress/issues/20878
+     */
+    it.skip('trigger=custom + keyboard', () => {
         cy.visit('http://localhost:6006/iframe.html?id=popover--a-11-y-keyboard&args=&viewMode=story');
         cy.visit('http://localhost:6006/iframe.html?id=popover--a-11-y-keyboard&args=&viewMode=story');
         cy.get('[data-cy=custom]').trigger('click');
         cy.get('[data-cy=custom]').trigger('click');
         cy.get('[data-cy=custom]').type('{downArrow}');
         cy.get('[data-cy=custom]').type('{downArrow}');