Skip to content

Commit 982bdc3

Browse files
committed
increase transition duration to make test more stable on CI
1 parent a27b0c6 commit 982bdc3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/transitions/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
<link rel="stylesheet" href="/global.css">
33
<style>
44
.fade-enter-active, .fade-leave-active {
5-
transition: opacity .5s ease;
5+
transition: opacity 1s ease;
66
}
77
.fade-enter, .fade-leave-active {
88
opacity: 0
99
}
1010
.child-view {
1111
position: absolute;
12-
transition: all .35s cubic-bezier(.55,0,.1,1);
12+
transition: all 1s cubic-bezier(.55,0,.1,1);
1313
}
1414
.slide-left-enter, .slide-right-leave-active {
1515
opacity: 0;

test/e2e/specs/transitions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module.exports = {
1010
.click('li:nth-child(2) a')
1111
.assert.cssClassPresent('.view.home', 'fade-leave-active')
1212
.waitForElementPresent('.view.parent', TIMEOUT)
13-
.assert.cssClassNotPresent('.child-view.default', 'slide-left-enter-active')
1413
.assert.cssClassPresent('.view.parent', 'fade-enter-active')
14+
.assert.cssClassNotPresent('.child-view.default', 'slide-left-enter-active')
1515
.waitForElementNotPresent('.view.parent.fade-enter-active', TIMEOUT)
1616

1717
.click('li:nth-child(3) a')

0 commit comments

Comments
 (0)