Skip to content

Commit be27fd6

Browse files
committed
Added custom script for running test
1 parent 8168300 commit be27fd6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

cypress/e2e/home.cy.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ describe('Judge.Me Site', () => {
5151
it('should run lighthouse performance audit', () => {
5252
const thresholds = {
5353
performance: 50,
54-
accessibility: 75,
54+
accessibility: 80,
5555
seo: 60,
5656
pwa: 50,
5757
};

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
"description": "Judge.Me Test Automation",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"judgeme": "npx cypress run",
9+
"judgeme-headed": "npx cypress run --headed"
810
},
911
"repository": {
1012
"type": "git",

0 commit comments

Comments
 (0)