mirror of
https://github.com/rjNemo/devbook_ts
synced 2026-06-06 02:36:39 +00:00
🔧 set cypress up
- define a baseUrl in cypress.json - create a smoke.spec.js to check config.
This commit is contained in:
parent
bf0c645e3b
commit
f931fb3770
3 changed files with 28 additions and 11 deletions
27
README.md
27
README.md
|
|
@ -2,14 +2,25 @@
|
|||
|
||||
Social App for connecting with developers & tech enthusiasts.
|
||||
|
||||
## Tests
|
||||
|
||||
### End-to-end
|
||||
|
||||
- [Cypress](https://www.cypress.io) - JavaScript End to End Testing Framework
|
||||
|
||||
Open test runner with:
|
||||
|
||||
```sh
|
||||
yarn cypress
|
||||
```
|
||||
|
||||
and edit your E2E test cases in `cypress/integration/` folder.
|
||||
|
||||
## Built With
|
||||
|
||||
* [ReactJs](https://reactjs.org/) - A JavaScript library for building user interfaces
|
||||
* [Redux](https://redux.js.org/) - A predictable statea container for JavaScript apps
|
||||
* [ROME](https://fiirebase.google.com/) - Firebase helps mobile and web app teams succeed
|
||||
|
||||
|
||||
- [ReactJs](https://reactjs.org/) - A JavaScript library for building user interfaces
|
||||
- [Redux](https://redux.js.org/) - A predictable statea container for JavaScript apps
|
||||
- [ROME](https://fiirebase.google.com/) - Firebase helps mobile and web app teams succeed
|
||||
|
||||
## Versioning
|
||||
|
||||
|
|
@ -17,8 +28,7 @@ We use [SemVer](http://semver.org/) for versioning. For the versions available,
|
|||
|
||||
## Authors
|
||||
|
||||
* **Ruidy Nemausat** - *Initial work* - [rjNemo](https://github.com/rjNemo/)
|
||||
|
||||
- **Ruidy Nemausat** - _Initial work_ - [rjNemo](https://github.com/rjNemo/)
|
||||
|
||||
## License
|
||||
|
||||
|
|
@ -26,5 +36,4 @@ This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md
|
|||
|
||||
## Acknowledgments
|
||||
|
||||
* [Inspiration](https://github.com/bradtraversy/devconnector_2.0)
|
||||
|
||||
- [Inspiration](https://github.com/bradtraversy/devconnector_2.0)
|
||||
|
|
|
|||
|
|
@ -1 +1,3 @@
|
|||
{}
|
||||
{
|
||||
"baseUrl": "http://localhost:3000/"
|
||||
}
|
||||
6
cypress/integration/smoke.spec.js
Normal file
6
cypress/integration/smoke.spec.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
describe('smoke', () => {
|
||||
it('sees learn', () => {
|
||||
cy.visit('/');
|
||||
cy.get('a').contains('Learn');
|
||||
});
|
||||
});
|
||||
Loading…
Reference in a new issue