Simone Todaro %!s(int64=3) %!d(string=hai) anos
pai
achega
f6f99b6fab
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      tests/cypress/integration/plugins/collapse.spec.js

+ 2 - 2
tests/cypress/integration/plugins/collapse.spec.js

@@ -61,10 +61,10 @@ test('double-click on x-collapse does not mix styles up',
     `],
     ({ get }, reload) => {
         get('h1').should(haveComputedStyle('height', '0px'))
-        get('h1').should(haveAttribute('style', 'height: 0px; overflow: hidden;'))
+        get('h1').should(haveAttribute('style', 'display: none; height: 0px; overflow: hidden;'))
         get('button').click()
         get('button').click()
-        get('h1').should(haveAttribute('style', 'height: 0px; overflow: hidden;'))
+        get('h1').should(haveAttribute('style', 'height: 0px; display: none; overflow: hidden;'))
         get('button').click()
         get('h1').should(haveAttribute('style', 'height: auto;'))
         get('button').click()