mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00

Added some tests for modals with a toolbar, only target the first toolbar in a menu or modal so the user can have multiple toolbars without skewing them. References #469
17 lines
395 B
TypeScript
17 lines
395 B
TypeScript
|
|
it('should open modal', function() {
|
|
element(by.css('.e2eOpenModal')).click();
|
|
});
|
|
|
|
it('should close with close button click', function() {
|
|
element(by.css('.e2eCloseMenu')).click();
|
|
});
|
|
|
|
it('should open toolbar modal', function() {
|
|
element(by.css('.e2eOpenToolbarModal')).click();
|
|
});
|
|
|
|
it('should close toolbar modal', function() {
|
|
element(by.css('.e2eCloseToolbarModal')).click();
|
|
});
|