mirror of
https://github.com/nasa/openmct.git
synced 2025-06-17 22:58:14 +00:00
Add Protractor Directory
This commit is contained in:
21
protractor/delete/DeleteActivityMode.js
Normal file
21
protractor/delete/DeleteActivityMode.js
Normal file
@ -0,0 +1,21 @@
|
||||
var right_click = require("../common/RightMenu.js");
|
||||
var Create = require("../common/CreateItem")
|
||||
describe('Delete Activity Mode', function() {
|
||||
var clickClass = new right_click();
|
||||
var createClass = new Create();
|
||||
var ITEM_NAME = "Activity Mode";
|
||||
var ITEM_TYPE = "activity-mode";
|
||||
var ITEM_MENU_GLYPH = 'A\nActivity Mode';
|
||||
var ITEM_GRID_SELECT = 'P\nA\nActivity Mode';
|
||||
var ITEM_SIDE_SELECT = "A\nActivity Mode"
|
||||
beforeEach(function() {
|
||||
browser.ignoreSynchronization = true;
|
||||
browser.get('http://localhost:1984/warp/');
|
||||
browser.sleep(2000); // 20 seconds
|
||||
});
|
||||
it('should delete the Activty Mode', function(){
|
||||
clickClass.delete(ITEM_SIDE_SELECT);
|
||||
browser.sleep(1000);
|
||||
});
|
||||
|
||||
});
|
Reference in New Issue
Block a user