瀏覽代碼

Set popover to retry 5 times to see if we can get it to recover itself

Josh Hanley 2 年之前
父節點
當前提交
9cfd7268e7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/cypress/integration/plugins/ui/popover.spec.js

+ 1 - 1
tests/cypress/integration/plugins/ui/popover.spec.js

@@ -156,7 +156,7 @@ test('focusing away doesnt close panel if focusing inside a group',
     },
     },
 )
 )
 
 
-test('focusing away still closes panel inside a group if the focus attribute is present',
+test.retry(5)('focusing away still closes panel inside a group if the focus attribute is present',
     [html`
     [html`
         <div x-data>
         <div x-data>
             <div x-popover:group>
             <div x-popover:group>