Skip to content

Commit

Permalink
test: update cypress test commands
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Jul 17, 2021
1 parent 8443a79 commit 107f525
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 44 deletions.
2 changes: 1 addition & 1 deletion cypress.json
@@ -1,3 +1,3 @@
{
"baseUrl": "http://localhost:8080"
"baseUrl": "http://localhost:8081"
}
41 changes: 0 additions & 41 deletions cypress/BUILD.bazel

This file was deleted.

2 changes: 1 addition & 1 deletion cypress/integration/hello_static_spec.ts
Expand Up @@ -18,7 +18,7 @@ describe('hello_static', () => {
cy.on('window:alert', (txt) => {
// electron does not have alert, so this part of the test does not execute
// in electron.
expect(txt).to.contains('Hello World!!!');
expect(txt).to.contain('Hello World!!!');
});
});
});
2 changes: 1 addition & 1 deletion cypress/integration/todo_spec.ts
Expand Up @@ -40,7 +40,7 @@ describe('todo', () => {
});

it('should edit an item', function () {
cy.get('.todo-list>li:first-child').dblclick();
cy.get('.todo-list>li:first-child label').dblclick();
cy.wait(50);
cy.get('.todo-list>li:first-child input.edit').type('123{enter}');
cy.get('.todo-list>li:first-child').should((item: any) =>
Expand Down

0 comments on commit 107f525

Please sign in to comment.