This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
ST.configureContext({ | |
init: function () { | |
var me = this, | |
webdriver = require('selenium-webdriver'), | |
protractor = require('protractor/built/ptor').protractor, | |
driverProviders = require('protractor/built/driverProviders'), | |
plugins = require('protractor/built/plugins'), | |
cfg = me.driverConfig, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe('Hobbit', function () { | |
var mordor, hobbit; | |
beforeAll(function () { | |
mordor = new Mordor(); // same instance for all specs | |
}); | |
beforeEach(function () { | |
hobbit = new Hobbit(); // new instance for each spec |