Explorar o código

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

Josh Hanley %!s(int64=2) %!d(string=hai) anos
pai
achega
9cfd7268e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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`
         <div x-data>
             <div x-popover:group>