Skip to content

Commit 2596d74

Browse files
committed
update readme
1 parent 44e62c5 commit 2596d74

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

05-testing/03-e2e/01-cypress/02-selectors/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,8 @@ _./cypress/e2e/login.spec.ts_
244244

245245
```
246246

247+
> Alternative: cy.url().should('contain', '/hotel-collection');
248+
247249
# About Basefactor + Lemoncode
248250

249251
We are an innovating team of Javascript experts, passionate about turning your ideas into robust products.

05-testing/03-e2e/01-cypress/06-edit-hotel/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ _./cypress/e2e/hotel-edit.spec.ts_
6060
+ .click();
6161

6262
// Assert
63-
+ cy.url().should('equal', 'http://localhost:8080/#/hotel-edit/2');
63+
+ cy.url().should('contain', '/hotel-edit/2');
6464
});
6565

6666
```

0 commit comments

Comments
 (0)