Adding cypress testing

This commit is contained in:
jhouse
2020-01-30 10:54:04 +09:00
parent 99cc741e63
commit ea58205feb
3 changed files with 32 additions and 0 deletions

4
cypress.json Normal file
View File

@@ -0,0 +1,4 @@
{
"projectId": "3c7d5r",
"baseUrl": "http://localhost:8484"
}

View File

@@ -0,0 +1,5 @@
describe("Index test", () => {
it("Can it make it to the index page", () => {
cy.visit("/");
});
});

23
package.json Normal file
View File

@@ -0,0 +1,23 @@
{
"name": "gaps",
"version": "0.2.2-alpha",
"description": "Gaps searches through your Plex Server or local folders for all movies, then queries for known movies in the same collection. If those movies don't exist in your library, Gaps will recommend getting those movies, legally of course.",
"main": "/",
"dependencies": {},
"devDependencies": {
"cypress": "^3.8.3"
},
"scripts": {
"e2e": "cypress open"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JasonHHouse/Gaps.git"
},
"author": "Jason House",
"license": "ISC",
"bugs": {
"url": "https://github.com/JasonHHouse/Gaps/issues"
},
"homepage": "https://github.com/JasonHHouse/Gaps#readme"
}