generated from e2e-boilerplate/cypress-typescript-chai-expect
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit be46513
Showing
19 changed files
with
2,718 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
custom: | ||
- 'https://www.buymeacoffee.com/xgirma' |
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,38 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. | ||
|
||
**Desktop (please complete the following information):** | ||
- OS: [e.g. iOS] | ||
- Browser [e.g. chrome, safari] | ||
- Version [e.g. 22] | ||
|
||
**Smartphone (please complete the following information):** | ||
- Device: [e.g. iPhone6] | ||
- OS: [e.g. iOS8.1] | ||
- Browser [e.g. stock browser, safari] | ||
- Version [e.g. 22] | ||
|
||
**Additional context** | ||
Add any other context about the problem here. |
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,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
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,9 @@ | ||
{ | ||
"extends": [ | ||
"config:base" | ||
], | ||
"automerge": true, | ||
"major": { | ||
"automerge": false | ||
} | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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 @@ | ||
| No | Date | Build | | | | | | ||
| :- | :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------ | :------------------------------------------------------------------- | :------------------------------------------------------------- | :--------------------------------------------------------------- | :------------------------------------------------------------- | | ||
| 4 | 29/03/20 21:49 | [![Conclusion](https://img.shields.io/badge/build-pass-brightgreen)](https://github.com/e2e-boilerplate/cypress-typescript-chai-assert/actions/runs/66145168) | ![npm install](https://img.shields.io/badge/npm-install-brightgreen) | ![run lint](https://img.shields.io/badge/run-lint-brightgreen) | ![run build](https://img.shields.io/badge/run-build-brightgreen) | ![run test](https://img.shields.io/badge/run-test-brightgreen) | | ||
| 6 | 29/03/20 22:36 | [![Conclusion](https://img.shields.io/badge/build-pass-brightgreen)](https://github.com/e2e-boilerplate/cypress-typescript-chai-assert/actions/runs/66164108) | ![npm install](https://img.shields.io/badge/npm-install-brightgreen) | ![run lint](https://img.shields.io/badge/run-lint-brightgreen) | ![run build](https://img.shields.io/badge/run-build-brightgreen) | ![run test](https://img.shields.io/badge/run-test-brightgreen) | | ||
| 5 | 29/03/20 22:30 | [![Conclusion](https://img.shields.io/badge/build-pass-brightgreen)](https://github.com/e2e-boilerplate/cypress-typescript-chai-assert/actions/runs/66163560) | ![npm install](https://img.shields.io/badge/npm-install-brightgreen) | ![run lint](https://img.shields.io/badge/run-lint-brightgreen) | ![run build](https://img.shields.io/badge/run-build-brightgreen) | ![run test](https://img.shields.io/badge/run-test-brightgreen) | | ||
| 2 | 29/03/20 21:33 | [![Conclusion](https://img.shields.io/badge/build-pass-brightgreen)](https://github.com/e2e-boilerplate/cypress-typescript-chai-assert/actions/runs/66140670) | ![npm install](https://img.shields.io/badge/npm-install-brightgreen) | ![run lint](https://img.shields.io/badge/run-lint-brightgreen) | ![run build](https://img.shields.io/badge/run-build-brightgreen) | ![run test](https://img.shields.io/badge/run-test-brightgreen) | | ||
| 3 | 29/03/20 21:43 | [![Conclusion](https://img.shields.io/badge/build-pass-brightgreen)](https://github.com/e2e-boilerplate/cypress-typescript-chai-assert/actions/runs/66143392) | ![npm install](https://img.shields.io/badge/npm-install-brightgreen) | ![run lint](https://img.shields.io/badge/run-lint-brightgreen) | ![run build](https://img.shields.io/badge/run-build-brightgreen) | ![run test](https://img.shields.io/badge/run-test-brightgreen) | | ||
| 1 | 29/03/20 19:43 | [![Conclusion](https://img.shields.io/badge/build-pass-brightgreen)](https://github.com/e2e-boilerplate/cypress-typescript-chai-assert/actions/runs/66087337) | ![npm install](https://img.shields.io/badge/npm-install-brightgreen) | ![run lint](https://img.shields.io/badge/run-lint-brightgreen) | ![run build](https://img.shields.io/badge/run-build-brightgreen) | ![run test](https://img.shields.io/badge/run-test-brightgreen) | |
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,24 @@ | ||
name: cypress-typescript-chai-assert | ||
'on': | ||
push: null | ||
schedule: | ||
- cron: 30 3 1-31/2 * * | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: node | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- name: 'npm:install' | ||
run: npm install | ||
env: | ||
CI: true | ||
- name: lint | ||
run: npm run lint --if-present | ||
- name: build | ||
run: npm run build --if-present | ||
- name: test | ||
run: npm run test -- --headless |
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,71 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# TypeScript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# next.js build output | ||
.next | ||
|
||
# cypress | ||
cypress/videos/ | ||
cypress/screenshot/ | ||
|
||
# WebStorm | ||
.idea | ||
|
||
# OS X | ||
.DS_Store |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2019 e2e Boilerplates | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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 @@ | ||
[![GitHub Actions status | e2e-boilerplate/cypress-typescript-chai-assert](https://github.com/e2e-boilerplate/cypress-typescript-chai-assert/workflows/cypress-typescript-chai-assert/badge.svg)](https://github.com/e2e-boilerplate/cypress-typescript-chai-assert/actions?workflow=cypress-typescript-chai-assert) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Buy Me A Coffee](https://img.shields.io/badge/buy-me%20coffee-orange)](https://www.buymeacoffee.com/xgirma) | ||
|
||
# Cypress Boilerplate | ||
|
||
Cypress end-to-end test automation boilerplate, Using TypeScript, Chai and Assert. | ||
|
||
## Getting Started | ||
1. git clone [email protected]:e2e-boilerplate/cypress-typescript-chai-assert.git | ||
2. cd cypress-typescript-chai-assert | ||
3. npm install | ||
4. npm run test |
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 @@ | ||
{} |
Empty file.
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,16 @@ | ||
describe("Sandbox", () => { | ||
before(() => { | ||
cy.visit("https://e2e-boilerplate.github.io/sandbox/"); | ||
}); | ||
|
||
it("should be on Sandbox", () => { | ||
cy.title().then((title) => { | ||
assert.equal(title, "Sandbox"); | ||
}); | ||
cy.get("h1") | ||
.invoke("text") | ||
.then((header) => { | ||
assert.equal(header, "Sandbox"); | ||
}); | ||
}); | ||
}); |
Empty file.
Empty file.
Oops, something went wrong.