janodvarko / harviewer

HAR Viewer is a web application that allows visualizing HTTP Archive logs (HARs)
http://www.softwareishard.com/blog/har-viewer/
1.04k stars 184 forks source link

Rewrite unit tests and functional tests with Intern 4 #117

Closed gitgrimbo closed 6 years ago

gitgrimbo commented 6 years ago

See microsoft-edge/platform/issues/14838528 for reason for MicrosoftEdge test failure.

× MicrosoftEdge on windows 10 - testValidateCheckbox - testValidateCheckbox
AssertionError: expected { Object (name, value, ...) } to equal null

A {
A   "domain": "harviewer.lan",
A   "expiry": null,
A   "httpOnly": false,
A   "name": "validate",
A   "path": "/webapp/",
A   "secure": false,
A   "value": "false"
A }
E null

  at Command.<anonymous>  <tests\functional\testValidateCheckbox.js:37:20>
  at runCallback  <node_modules\src\Command.ts:588:32>
  at Command.<anonymous>  <node_modules\src\Command.ts:616:13>
  at <node_modules\@dojo\core\async\Task.ts:351:12>
  at handler  <node_modules\@dojo\core\async\ExtensiblePromise.ts:229:14>
  at process._tickCallback  <internal\process\next_tick.js:68:7>
  at Command.then  <node_modules\src\Command.ts:612:9>
  at Test.testValidateCheckbox [as test]  <tests\functional\testValidateCheckbox.js:36:12>
  at <src\lib\Test.ts:260:47>
  at <node_modules\@dojo\core\async\Task.ts:351:12>
  at handler  <node_modules\@dojo\core\async\ExtensiblePromise.ts:229:14>
  at process._tickCallback  <internal\process\next_tick.js:68:7>

node
Tunnel: Ready

Total: [✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓×✓✓✓✓✓✓] 524/524
Passed: 523  Failed: 1    Skipped: 0

Micr:       [✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓×] 131/131, 1 fail
Fx:         [✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓] 131/131
Chr 67 Win: [✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓] 131/131
IE 11 WIN:  [✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓✓] 131/131