Skip to content

[Test] Setup autotest infrastructure #153

[Test] Setup autotest infrastructure

[Test] Setup autotest infrastructure #153

GitHub Actions / Auto Tests linux-x64.zip failed Jan 7, 2025 in 1s

11 passed, 1 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
results-default.json 4✅ 251s
results-expert.json 5✅ 1❌ 33s
results-startup.json 2✅ 27s

✅ results-default.json

4 tests were completed in 251s with 4 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests/scripts/defaultInstall.test.js 4✅ 225s

✅ tests/scripts/defaultInstall.test.js

EIM Application Launch
  ✅ Should offer to save installation configuration
  ✅ Should show installation options
  ✅ Should show welcome page
  ✅ Should start simplified setup

❌ results-expert.json

6 tests were completed in 33s with 5 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests/scripts/expertInstall.test.js 5✅ 1❌ 7s

❌ tests/scripts/expertInstall.test.js

EIM expert Installation
  ✅ Should check prerequisites
  ✅ Should check python installation
  ✅ Should show expert installation option
  ✅ Should show list of prerequisites
  ❌ Should show targets list
	 esp32: expected [ ' ', '', '', '', '', '', '', …(6) ] to include ' all'
  ✅ Should show welcome page

✅ results-startup.json

2 tests were completed in 27s with 2 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests/scripts/startup.test.js 2✅ 958ms

✅ tests/scripts/startup.test.js

EIM Application Launch
  ✅ Should show correct version number
  ✅ Should show welcome page

Annotations

Check failure on line 0 in results-expert.json

See this annotation in the file changed.

@github-actions github-actions / Auto Tests linux-x64.zip

tests/scripts/expertInstall.test.js ► EIM expert Installation ► Should show targets list

Failed test found in:
  results-expert.json
Error:
   esp32: expected [ ' ', '', '', '', '', '', '', …(6) ] to include ' all'
Raw output
AssertionError:  esp32: expected [ ' ', '', '', '', '', '', '', …(6) ] to include ' all'
    at Context.<anonymous> (file:///home/runner/work/idf-im-ui/idf-im-ui/tests/scripts/expertInstall.test.js:153:29)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)