generated from mate-academy/gulp-template
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
1 parent
a51b067
commit e036437
Showing
12 changed files
with
236 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 @@ | ||
<!doctype html> | ||
<html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Mochawesome Report</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{"stats":{"suites":1,"tests":7,"passes":7,"pending":0,"failures":0,"start":"2023-11-14T09:34:02.792Z","end":"2023-11-14T09:34:32.616Z","duration":29759,"testsRegistered":7,"passPercent":100,"pendingPercent":0,"other":0,"hasOther":false,"skipped":0,"hasSkipped":false},"results":[{"uuid":"833d9ab8-a0ae-4751-970e-820a2a244b5a","title":"","fullFile":"cypress/integration/js2048Game.spec.js","file":"cypress/integration/js2048Game.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4d6daf4b-f43a-42bd-8f18-7a4406acf4c3","title":"2048 game","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"should show the initial score","fullTitle":"2048 game should show the initial score","timedOut":null,"duration":295,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.button.start').click();\ncy.get('.game-score').should('have.value', '');","err":{},"uuid":"96e50567-4ad5-434a-8edf-99b2963ec379","parentUUID":"4d6daf4b-f43a-42bd-8f18-7a4406acf4c3","isHook":false,"skipped":false},{"title":"should show the score shuffling to the left and up only","fullTitle":"2048 game should show the score shuffling to the left and up only","timedOut":null,"duration":555,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.shuffleBoxes('{leftArrow}', '{upArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);","err":{},"uuid":"4a4b4b3c-aec8-4e81-a49b-5a1746d7102e","parentUUID":"4d6daf4b-f43a-42bd-8f18-7a4406acf4c3","isHook":false,"skipped":false},{"title":"should show the score shuffling to the right and up only","fullTitle":"2048 game should show the score shuffling to the right and up only","timedOut":null,"duration":543,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.shuffleBoxes('{rightArrow}', '{upArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);","err":{},"uuid":"f4b2e1bf-5376-4afc-af3d-897ab5a4bdd2","parentUUID":"4d6daf4b-f43a-42bd-8f18-7a4406acf4c3","isHook":false,"skipped":false},{"title":"should show the score shuffling to the right and down only","fullTitle":"2048 game should show the score shuffling to the right and down only","timedOut":null,"duration":551,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.shuffleBoxes('{rightArrow}', '{downArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);","err":{},"uuid":"ba2c8e7e-0787-400e-8110-4114b6403c18","parentUUID":"4d6daf4b-f43a-42bd-8f18-7a4406acf4c3","isHook":false,"skipped":false},{"title":"should show the score shuffling to the left and down only","fullTitle":"2048 game should show the score shuffling to the left and down only","timedOut":null,"duration":536,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.shuffleBoxes('{leftArrow}', '{downArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);","err":{},"uuid":"2c7b76d9-816f-4904-a5f0-600e050bbdd0","parentUUID":"4d6daf4b-f43a-42bd-8f18-7a4406acf4c3","isHook":false,"skipped":false},{"title":"should reset the score","fullTitle":"2048 game should reset the score","timedOut":null,"duration":623,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.shuffleBoxes('{leftArrow}', '{downArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);\ncy.get('.button.restart').click();\ncy.get('.game-score').should('have.value', '');","err":{},"uuid":"b431a7c6-2df2-435f-8c52-d2e7195b8587","parentUUID":"4d6daf4b-f43a-42bd-8f18-7a4406acf4c3","isHook":false,"skipped":false},{"title":"should show message in case of the loss","fullTitle":"2048 game should show message in case of the loss","timedOut":null,"duration":26656,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.button.start').click();\nfor (var n = 0; n < 100; n++) {\n cy.get('body').type('{rightArrow}');\n cy.get('body').type('{downArrow}');\n cy.get('body').type('{leftArrow}');\n cy.get('body').type('{upArrow}');\n}\ncy.contains('You lose! Restart the game?').should('be.visible');","err":{},"uuid":"800e0bf0-6d0a-492a-9cbe-d9d31cea233e","parentUUID":"4d6daf4b-f43a-42bd-8f18-7a4406acf4c3","isHook":false,"skipped":false}],"suites":[],"passes":["96e50567-4ad5-434a-8edf-99b2963ec379","4a4b4b3c-aec8-4e81-a49b-5a1746d7102e","f4b2e1bf-5376-4afc-af3d-897ab5a4bdd2","ba2c8e7e-0787-400e-8110-4114b6403c18","2c7b76d9-816f-4904-a5f0-600e050bbdd0","b431a7c6-2df2-435f-8c52-d2e7195b8587","800e0bf0-6d0a-492a-9cbe-d9d31cea233e"],"failures":[],"pending":[],"skipped":[],"duration":29759,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000}],"meta":{"mocha":{"version":"7.0.1"},"mochawesome":{"options":{"quiet":false,"reportFilename":"mochawesome","saveHtml":false,"saveJson":true,"consoleReporter":"spec","useInlineDiffs":false,"code":true},"version":"6.2.1"},"marge":{"options":{"reportDir":"raw_reports","overwrite":false,"html":false,"json":true},"version":"5.1.0"}}}" data-config="{"reportFilename":"report","reportDir":"/Users/spencer/projects/js_2048_game/reports","reportTitle":"js_2048_game","reportPageTitle":"Mochawesome Report","inline":false,"inlineAssets":false,"cdn":false,"charts":false,"enableCharts":false,"code":true,"enableCode":true,"autoOpen":false,"overwrite":true,"timestamp":false,"ts":false,"showPassed":true,"showFailed":true,"showPending":true,"showSkipped":false,"showHooks":"failed","saveJson":false,"saveHtml":true,"dev":false,"assetsDir":"/Users/spencer/projects/js_2048_game/reports/assets","htmlFile":"/Users/spencer/projects/js_2048_game/reports/report.html"}"><div id="report"></div><script src="assets/app.js"></script></body></html> |
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,219 @@ | ||
{ | ||
"stats": { | ||
"suites": 1, | ||
"tests": 7, | ||
"passes": 7, | ||
"pending": 0, | ||
"failures": 0, | ||
"start": "2023-11-14T09:34:02.792Z", | ||
"end": "2023-11-14T09:34:32.616Z", | ||
"duration": 29759, | ||
"testsRegistered": 7, | ||
"passPercent": 100, | ||
"pendingPercent": 0, | ||
"other": 0, | ||
"hasOther": false, | ||
"skipped": 0, | ||
"hasSkipped": false | ||
}, | ||
"results": [ | ||
{ | ||
"uuid": "833d9ab8-a0ae-4751-970e-820a2a244b5a", | ||
"title": "", | ||
"fullFile": "cypress/integration/js2048Game.spec.js", | ||
"file": "cypress/integration/js2048Game.spec.js", | ||
"beforeHooks": [], | ||
"afterHooks": [], | ||
"tests": [], | ||
"suites": [ | ||
{ | ||
"uuid": "4d6daf4b-f43a-42bd-8f18-7a4406acf4c3", | ||
"title": "2048 game", | ||
"fullFile": "", | ||
"file": "", | ||
"beforeHooks": [], | ||
"afterHooks": [], | ||
"tests": [ | ||
{ | ||
"title": "should show the initial score", | ||
"fullTitle": "2048 game should show the initial score", | ||
"timedOut": null, | ||
"duration": 295, | ||
"state": "passed", | ||
"speed": "slow", | ||
"pass": true, | ||
"fail": false, | ||
"pending": false, | ||
"context": null, | ||
"code": "cy.get('.button.start').click();\ncy.get('.game-score').should('have.value', '');", | ||
"err": {}, | ||
"uuid": "96e50567-4ad5-434a-8edf-99b2963ec379", | ||
"parentUUID": "4d6daf4b-f43a-42bd-8f18-7a4406acf4c3", | ||
"isHook": false, | ||
"skipped": false | ||
}, | ||
{ | ||
"title": "should show the score shuffling to the left and up only", | ||
"fullTitle": "2048 game should show the score shuffling to the left and up only", | ||
"timedOut": null, | ||
"duration": 555, | ||
"state": "passed", | ||
"speed": "slow", | ||
"pass": true, | ||
"fail": false, | ||
"pending": false, | ||
"context": null, | ||
"code": "cy.shuffleBoxes('{leftArrow}', '{upArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);", | ||
"err": {}, | ||
"uuid": "4a4b4b3c-aec8-4e81-a49b-5a1746d7102e", | ||
"parentUUID": "4d6daf4b-f43a-42bd-8f18-7a4406acf4c3", | ||
"isHook": false, | ||
"skipped": false | ||
}, | ||
{ | ||
"title": "should show the score shuffling to the right and up only", | ||
"fullTitle": "2048 game should show the score shuffling to the right and up only", | ||
"timedOut": null, | ||
"duration": 543, | ||
"state": "passed", | ||
"speed": "slow", | ||
"pass": true, | ||
"fail": false, | ||
"pending": false, | ||
"context": null, | ||
"code": "cy.shuffleBoxes('{rightArrow}', '{upArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);", | ||
"err": {}, | ||
"uuid": "f4b2e1bf-5376-4afc-af3d-897ab5a4bdd2", | ||
"parentUUID": "4d6daf4b-f43a-42bd-8f18-7a4406acf4c3", | ||
"isHook": false, | ||
"skipped": false | ||
}, | ||
{ | ||
"title": "should show the score shuffling to the right and down only", | ||
"fullTitle": "2048 game should show the score shuffling to the right and down only", | ||
"timedOut": null, | ||
"duration": 551, | ||
"state": "passed", | ||
"speed": "slow", | ||
"pass": true, | ||
"fail": false, | ||
"pending": false, | ||
"context": null, | ||
"code": "cy.shuffleBoxes('{rightArrow}', '{downArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);", | ||
"err": {}, | ||
"uuid": "ba2c8e7e-0787-400e-8110-4114b6403c18", | ||
"parentUUID": "4d6daf4b-f43a-42bd-8f18-7a4406acf4c3", | ||
"isHook": false, | ||
"skipped": false | ||
}, | ||
{ | ||
"title": "should show the score shuffling to the left and down only", | ||
"fullTitle": "2048 game should show the score shuffling to the left and down only", | ||
"timedOut": null, | ||
"duration": 536, | ||
"state": "passed", | ||
"speed": "slow", | ||
"pass": true, | ||
"fail": false, | ||
"pending": false, | ||
"context": null, | ||
"code": "cy.shuffleBoxes('{leftArrow}', '{downArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);", | ||
"err": {}, | ||
"uuid": "2c7b76d9-816f-4904-a5f0-600e050bbdd0", | ||
"parentUUID": "4d6daf4b-f43a-42bd-8f18-7a4406acf4c3", | ||
"isHook": false, | ||
"skipped": false | ||
}, | ||
{ | ||
"title": "should reset the score", | ||
"fullTitle": "2048 game should reset the score", | ||
"timedOut": null, | ||
"duration": 623, | ||
"state": "passed", | ||
"speed": "slow", | ||
"pass": true, | ||
"fail": false, | ||
"pending": false, | ||
"context": null, | ||
"code": "cy.shuffleBoxes('{leftArrow}', '{downArrow}', 3);\ncy.get('.game-score').invoke('text').then(parseFloat).should('be.gt', 1);\ncy.get('.button.restart').click();\ncy.get('.game-score').should('have.value', '');", | ||
"err": {}, | ||
"uuid": "b431a7c6-2df2-435f-8c52-d2e7195b8587", | ||
"parentUUID": "4d6daf4b-f43a-42bd-8f18-7a4406acf4c3", | ||
"isHook": false, | ||
"skipped": false | ||
}, | ||
{ | ||
"title": "should show message in case of the loss", | ||
"fullTitle": "2048 game should show message in case of the loss", | ||
"timedOut": null, | ||
"duration": 26656, | ||
"state": "passed", | ||
"speed": "slow", | ||
"pass": true, | ||
"fail": false, | ||
"pending": false, | ||
"context": null, | ||
"code": "cy.get('.button.start').click();\nfor (var n = 0; n < 100; n++) {\n cy.get('body').type('{rightArrow}');\n cy.get('body').type('{downArrow}');\n cy.get('body').type('{leftArrow}');\n cy.get('body').type('{upArrow}');\n}\ncy.contains('You lose! Restart the game?').should('be.visible');", | ||
"err": {}, | ||
"uuid": "800e0bf0-6d0a-492a-9cbe-d9d31cea233e", | ||
"parentUUID": "4d6daf4b-f43a-42bd-8f18-7a4406acf4c3", | ||
"isHook": false, | ||
"skipped": false | ||
} | ||
], | ||
"suites": [], | ||
"passes": [ | ||
"96e50567-4ad5-434a-8edf-99b2963ec379", | ||
"4a4b4b3c-aec8-4e81-a49b-5a1746d7102e", | ||
"f4b2e1bf-5376-4afc-af3d-897ab5a4bdd2", | ||
"ba2c8e7e-0787-400e-8110-4114b6403c18", | ||
"2c7b76d9-816f-4904-a5f0-600e050bbdd0", | ||
"b431a7c6-2df2-435f-8c52-d2e7195b8587", | ||
"800e0bf0-6d0a-492a-9cbe-d9d31cea233e" | ||
], | ||
"failures": [], | ||
"pending": [], | ||
"skipped": [], | ||
"duration": 29759, | ||
"root": false, | ||
"rootEmpty": false, | ||
"_timeout": 2000 | ||
} | ||
], | ||
"passes": [], | ||
"failures": [], | ||
"pending": [], | ||
"skipped": [], | ||
"duration": 0, | ||
"root": true, | ||
"rootEmpty": true, | ||
"_timeout": 2000 | ||
} | ||
], | ||
"meta": { | ||
"mocha": { | ||
"version": "7.0.1" | ||
}, | ||
"mochawesome": { | ||
"options": { | ||
"quiet": false, | ||
"reportFilename": "mochawesome", | ||
"saveHtml": false, | ||
"saveJson": true, | ||
"consoleReporter": "spec", | ||
"useInlineDiffs": false, | ||
"code": true | ||
}, | ||
"version": "6.2.1" | ||
}, | ||
"marge": { | ||
"options": { | ||
"reportDir": "raw_reports", | ||
"overwrite": false, | ||
"html": false, | ||
"json": true | ||
}, | ||
"version": "5.1.0" | ||
} | ||
} | ||
} |