Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.