projects
/
examples
/
angular-tour-of-heroes
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Written a very simple e2e-test with cypress
[examples/angular-tour-of-heroes]
/
cypress
/
integration
/
heroes-spec.ts
diff --git a/cypress/integration/heroes-spec.ts
b/cypress/integration/heroes-spec.ts
new file mode 100644
(file)
index 0000000..
a5158c3
--- /dev/null
+++ b/
cypress/integration/heroes-spec.ts
@@ -0,0
+1,7
@@
+describe('The Home Page', () => {
+ it('successfully loads', () => {
+ cy.visit('/');
+ cy.get('app-root nav a').click();
+ cy.url().should('include', '/heroes')
+ });
+})