Created
June 9, 2014 11:23
-
-
Save trikitrok/93b30984200bb8fc0c52 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
it("removes a landing", function () { | |
element.all(by.css('.delete')).first().click(); | |
TestTools.switchToAlertAndAccept(ptor); // <- the fix is now in a helper function | |
expect( | |
element.all( | |
by.repeater('landing in project.landings')).count() | |
).toBe(5); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment