|
|
@ -9,7 +9,7 @@ module.exports = { |
|
|
|
.assert.elementPresent('.modal-wrapper') |
|
|
|
.assert.elementPresent('.modal-container') |
|
|
|
.assert.cssClassPresent('.modal-mask', 'modal-enter-active') |
|
|
|
.waitFor(350) |
|
|
|
.waitFor(300) |
|
|
|
.assert.cssClassNotPresent('.modal-mask', 'modal-enter-active') |
|
|
|
.assert.containsText('.modal-header h3', 'custom header') |
|
|
|
.assert.containsText('.modal-body', 'default body') |
|
|
@ -17,8 +17,9 @@ module.exports = { |
|
|
|
.click('.modal-default-button') |
|
|
|
// should have transition
|
|
|
|
.assert.elementPresent('.modal-mask') |
|
|
|
.waitFor(50) |
|
|
|
.assert.cssClassPresent('.modal-mask', 'modal-leave-active') |
|
|
|
.waitFor(350) |
|
|
|
.waitFor(300) |
|
|
|
.assert.elementNotPresent('.modal-mask') |
|
|
|
.end() |
|
|
|
} |
|
|
|