-
-
Save lydemann/4b0f60c31417ce9cab9e4efa67093e98 to your computer and use it in GitHub Desktop.
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
import { browser } from 'protractor'; | |
import { AppPage } from './app.po'; | |
describe('todoapp App', () => { | |
let page: AppPage; | |
beforeEach(() => { | |
page = new AppPage(); | |
}); | |
it('should display welcome message', (done) => { | |
page.navigateTo(); | |
browser.waitForAngular().then(() => { | |
expect(page.getAmountOfTODOs()).toBe(2); | |
done(); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment