Kaynağa Gözat

Update test (#2388)

Simone Todaro 3 yıl önce
ebeveyn
işleme
f6f99b6fab

+ 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()