forked from zenoamaro/react-quill
-
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.
add browser test suite (zenoamaro#581)
* add in-browser smoke tests with cypress * add cypress intellisense * add prettier config matching current style * update cypress * add more e2e tests - instead of using demo page, use a test harness that allows more inspection of the editor instance - run the old test suite inside the browser (!! it works, just requires one test to be rewritten to fully catch errors instead of hiding them)
- Loading branch information
1 parent
47f8a4e
commit 024827c
Showing
10 changed files
with
932 additions
and
99 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 |
---|---|---|
|
@@ -18,3 +18,7 @@ | |
# Packaging artifacts | ||
/react-quill-*.tgz | ||
/package | ||
|
||
# Test artifacts | ||
.cypress/screenshots | ||
.cypress/videos |
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,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
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,10 @@ | ||
{ | ||
"integrationFolder": "test", | ||
"fileServerFolder": "demo", | ||
"testFiles": "*.spec.js", | ||
"videosFolder": ".cypress/videos", | ||
"screenshotsFolder": ".cypress/screenshots", | ||
"fixturesFolder": false, | ||
"pluginsFile": false, | ||
"supportFile": 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,7 @@ | ||
<head> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<link rel="stylesheet" href="quill.snow.css" /> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
</body> |
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
Oops, something went wrong.