Created
June 9, 2014 11:41
-
-
Save trikitrok/81b24e3bdfac54860b20 to your computer and use it in GitHub Desktop.
This file contains hidden or 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("A project landings list page", function () { | |
var TestTools = require('./TestTools'), | |
Navigation = require('./Navigation'), | |
ptor; | |
beforeEach(function () { | |
TestTools.resetTestData(); | |
ptor = protractor.getInstance(); | |
ptor.get('/ebo/#/projects/excecutive-education'); | |
Navigation.logIn(ptor); | |
TestTools.waitForElementByCssToBePresent('.project-item__title', ptor); | |
}); | |
// some tests ... | |
it("shows a new 'autoresponder' mailing", function () { | |
element(by.css('#new_ma')).click(); // <- produces an error | |
expect(ptor.getCurrentUrl()) | |
.toMatch('/projects/excecutive-education/new-mailing/ma'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment