Adding end-to-end tests
The first test is testing a tricky cache scenario with the back when testing variables. The end-to-end package used is testcafe.
This commit is contained in:
parent
d8ecae64f0
commit
a82f4e1813
17 changed files with 9243 additions and 5 deletions
12
tests/.testcaferc.js
Normal file
12
tests/.testcaferc.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
const BROWSER = process.env.BROWSER || "chrome --use-fake-device-for-media-stream";
|
||||
|
||||
module.exports = {
|
||||
"browsers": BROWSER,
|
||||
"hostname": "localhost",
|
||||
"skipJsErrors": true,
|
||||
"src": "tests/",
|
||||
"screenshots": {
|
||||
"path": "screenshots/",
|
||||
"takeOnFails": true
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue