Created
July 26, 2019 14:54
-
-
Save ksakae1216/d52f019606fd691255a35c012ef4e215 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 { getAddTodoButton, getTodos } from '../support/app.po'; | |
describe('TodoApps', () => { | |
beforeEach(() => cy.visit('/')); | |
it('should display todos', () => { | |
getTodos().should(t => expect(t.length).equal(2)); | |
getAddTodoButton().click(); | |
getTodos().should(t => expect(t.length).equal(3)); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment