forked from faker-js/faker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adding cypress integration tests (faker-js#240)
Co-authored-by: Daniel Bannert <[email protected]> Co-authored-by: Shinigami92 <[email protected]>
- Loading branch information
Showing
6 changed files
with
861 additions
and
87 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"video": false, | ||
"e2e": { | ||
"baseUrl": "http://localhost:5000", | ||
"integrationFolder": "cypress/e2e", | ||
"testFiles": "**/*.cy.*", | ||
"pluginsFile": false, | ||
"supportFile": false, | ||
"fixturesFolder": false | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
describe('Smoke Test', () => { | ||
it('compiles the guide page', () => { | ||
cy.visit('/guide/'); | ||
cy.contains('Getting Started'); | ||
}); | ||
|
||
// it('compiles the playground page', () => { | ||
// cy.visit('/playground/'); | ||
// cy.contains('Playground under construction'); | ||
// }); | ||
}); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "ES5", | ||
"lib": ["ES5", "DOM"], | ||
"types": ["cypress"] | ||
}, | ||
"include": ["**/*.ts"] | ||
} |
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
Oops, something went wrong.