mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 06:52:24 +00:00
a03046400c
WTD-1287
20 lines
975 B
JavaScript
20 lines
975 B
JavaScript
//TODO Add filter for duplications/
|
|
describe('Create Button', function() {
|
|
beforeEach(require('../common/Launch'));
|
|
//it('should hava title "My Items"', function(){
|
|
// expect(browser.getTitle()).toEqual('My Items');
|
|
//});
|
|
it('should find create menu to be invisible', function(){
|
|
expect(element(by.css('[ng-show="createController.isActive()"]')).isDisplayed()).toBeFalsy();
|
|
});
|
|
it('should find create menu only visable after the create button clicked', function(){
|
|
element(by.css('[ng-click="createController.toggle()"]')).click();
|
|
expect(element(by.css('[ng-show="createController.isActive()"]')).isDisplayed()).toBeTruthy();
|
|
});
|
|
it('should find create menu only visable after the create button clicked', function(){
|
|
element(by.css('[ng-click="createController.toggle()"]')).click();
|
|
expect(element(by.css('[ng-show="createController.isActive()"]')).isDisplayed()).toBeTruthy();
|
|
});
|
|
|
|
});
|