odhin-reports-playwright 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +35 -0
  3. package/lib/generate.d.ts +56 -0
  4. package/lib/generate.js +969 -0
  5. package/lib/help.d.ts +46 -0
  6. package/lib/help.js +503 -0
  7. package/lib/html/assets/css/bootstrap.min.css +1 -0
  8. package/lib/html/assets/css/dark-theme.css +55 -0
  9. package/lib/html/assets/css/dark-theme.min.css +1 -0
  10. package/lib/html/assets/css/img-comparison-slider.css +50 -0
  11. package/lib/html/assets/css/img-comparison-slider.min.css +1 -0
  12. package/lib/html/assets/css/jquery.dataTables.min.css +1 -0
  13. package/lib/html/assets/css/light-theme.css +53 -0
  14. package/lib/html/assets/css/light-theme.min.css +1 -0
  15. package/lib/html/assets/css/prism.css +163 -0
  16. package/lib/html/assets/css/prism.min.css +1 -0
  17. package/lib/html/assets/css/style-colors.css +349 -0
  18. package/lib/html/assets/css/style-colors.min.css +1 -0
  19. package/lib/html/assets/css/style.css +586 -0
  20. package/lib/html/assets/css/style.min.css +1 -0
  21. package/lib/html/assets/js/bootstrap.min.js +1 -0
  22. package/lib/html/assets/js/chart.min.js +1 -0
  23. package/lib/html/assets/js/customTheme.js +40 -0
  24. package/lib/html/assets/js/customTheme.min.js +1 -0
  25. package/lib/html/assets/js/darkTheme.js +34 -0
  26. package/lib/html/assets/js/darkTheme.min.js +1 -0
  27. package/lib/html/assets/js/dataTables.js +4 -0
  28. package/lib/html/assets/js/dataTables.min.js +1 -0
  29. package/lib/html/assets/js/img-comparison-slider.min.js +2 -0
  30. package/lib/html/assets/js/jquery-3.5.1.min.js +1 -0
  31. package/lib/html/assets/js/jquery.dataTables.min.js +1 -0
  32. package/lib/html/assets/js/lightTheme.js +34 -0
  33. package/lib/html/assets/js/lightTheme.min.js +1 -0
  34. package/lib/html/assets/js/prism.min.js +1 -0
  35. package/lib/html/assets/js/script.js +61 -0
  36. package/lib/html/assets/js/script.min.js +1 -0
  37. package/lib/html/base.html +182 -0
  38. package/lib/html/chart.html +21 -0
  39. package/lib/html/chartFile.html +33 -0
  40. package/lib/html/chartInfo.html +5 -0
  41. package/lib/html/chartJs.html +133 -0
  42. package/lib/html/chartProject.html +33 -0
  43. package/lib/html/chartStatus.html +87 -0
  44. package/lib/html/content.html +30 -0
  45. package/lib/html/runInfo.html +47 -0
  46. package/lib/html/summary.html +20 -0
  47. package/lib/html/summaryRow.html +10 -0
  48. package/lib/html/testCase.html +12 -0
  49. package/lib/html/testCaseDetails.html +125 -0
  50. package/lib/index.d.ts +12 -0
  51. package/lib/index.js +48 -0
  52. package/lib/server.mjs +8 -0
  53. package/lib/types/execFileInfo.types.d.ts +13 -0
  54. package/lib/types/execFileInfo.types.js +2 -0
  55. package/lib/types/execInfo.types.d.ts +15 -0
  56. package/lib/types/execInfo.types.js +2 -0
  57. package/lib/types/execOptions.types.d.ts +17 -0
  58. package/lib/types/execOptions.types.js +2 -0
  59. package/lib/types/execProjectInfo.types.d.ts +13 -0
  60. package/lib/types/execProjectInfo.types.js +2 -0
  61. package/lib/types/execTestCase.types.d.ts +14 -0
  62. package/lib/types/execTestCase.types.js +2 -0
  63. package/lib/types/execTestResult.types.d.ts +43 -0
  64. package/lib/types/execTestResult.types.js +2 -0
  65. package/lib/types/onEnd.types.d.ts +12 -0
  66. package/lib/types/onEnd.types.js +2 -0
  67. package/lib/types/onProject.types.d.ts +53 -0
  68. package/lib/types/onProject.types.js +2 -0
  69. package/lib/types/onStdIO.types.d.ts +11 -0
  70. package/lib/types/onStdIO.types.js +2 -0
  71. package/lib/types/onStepBegin.types.d.ts +22 -0
  72. package/lib/types/onStepBegin.types.js +2 -0
  73. package/lib/types/onStepEnd.types.d.ts +25 -0
  74. package/lib/types/onStepEnd.types.js +2 -0
  75. package/lib/types/onTestBegin.types.d.ts +15 -0
  76. package/lib/types/onTestBegin.types.js +2 -0
  77. package/lib/types/onTestEnd.types.d.ts +37 -0
  78. package/lib/types/onTestEnd.types.js +2 -0
  79. package/lib/types/testReport.types.d.ts +6 -0
  80. package/lib/types/testReport.types.js +2 -0
  81. package/package.json +67 -0
package/package.json ADDED
@@ -0,0 +1,67 @@
1
+ {
2
+ "name": "odhin-reports-playwright",
3
+ "version": "1.0.1",
4
+ "description": "Odhin Reports for Playwright",
5
+ "main": "lib/index.js",
6
+ "types": "lib/index.d.ts",
7
+ "files": [
8
+ "lib"
9
+ ],
10
+ "scripts": {
11
+ "build": "tsc"
12
+ },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+ssh://git@gitlab.com/odhin-reports/playwright.git"
16
+ },
17
+ "keywords": [
18
+ "playwright",
19
+ "report",
20
+ "reports",
21
+ "reporter",
22
+ "typescript",
23
+ "javascript",
24
+ "test",
25
+ "tools",
26
+ "odhin"
27
+ ],
28
+ "author": "Rodrigo Odhin <rodrigo@odhin.io>",
29
+ "license": "MIT",
30
+ "bugs": {
31
+ "url": "https://gitlab.com/odhin-reports/playwright/-/issues"
32
+ },
33
+ "homepage": "https://gitlab.com/odhin-reports/playwright/-/blob/main/README.md?ref_type=heads",
34
+ "devDependencies": {
35
+ "@playwright/test": "^1.45.1"
36
+ },
37
+ "dependencies": {
38
+ "ansi-to-html": "^0.7.2",
39
+ "autoprefixer": "^10.4.14",
40
+ "axios": "^0.24.0",
41
+ "connect": "^3.7.0",
42
+ "dayjs": "^1.11.7",
43
+ "expres": "^0.0.5",
44
+ "express": "^4.18.2",
45
+ "fetch-base64": "^2.1.2",
46
+ "fs-extra": "^11.1.1",
47
+ "html-minifier": "^4.0.0",
48
+ "http-server": "^14.1.1",
49
+ "js-base64-file": "^2.0.3",
50
+ "lodash": "^4.17.21",
51
+ "node-html-to-image": "^3.3.0",
52
+ "open": "^9.1.0",
53
+ "picocolors": "^1.0.0",
54
+ "portfinder": "^1.0.32",
55
+ "prismjs": "^1.29.0",
56
+ "serve-static": "^1.15.0",
57
+ "static-server": "^2.2.1",
58
+ "tunnel": "^0.0.6",
59
+ "typescript": "^5.1.6",
60
+ "xhr2": "^0.2.1",
61
+ "xmlhttprequest": "^1.8.0"
62
+ },
63
+ "directories": {
64
+ "doc": "docs",
65
+ "test": "tests"
66
+ }
67
+ }