Add Protractor Directory

This commit is contained in:
Jesse
2015-07-29 12:55:15 -07:00
committed by Victor Woeltjen
parent 2ffe1cdff9
commit af630d1b3e
36 changed files with 1483 additions and 0 deletions

View File

@ -0,0 +1,20 @@
var right_click = require("../common/RightMenu.js");
var Create = require("../common/CreateItem")
describe('Delete Webpage', function() {
var clickClass = new right_click();
var createClass = new Create();
var ITEM_NAME = "Webpage";
var ITEM_TYPE = "webpage";
var ITEM_MENU_GLYPH = 'ê\nWeb Page';
var ITEM_SIDE_SELECT = "ê\nWebpage"
beforeEach(function() {
browser.ignoreSynchronization = true;
browser.get('http://localhost:1984/warp/');
browser.sleep(2000); // 20 seconds
});
it('should delete the Webpage', function(){
clickClass.delete(ITEM_SIDE_SELECT);
browser.sleep(1000);
});
});