Skip to content

test(intellij): start adding some ci tests for the intellij plugin #220

test(intellij): start adding some ci tests for the intellij plugin

test(intellij): start adding some ci tests for the intellij plugin #220

GitHub Actions / Contextive VsCode Extension Tests (net7.0.x - Linux) failed Mar 16, 2024 in 1s

12 passed, 1 failed and 0 skipped

Tests failed

❌ src/vscode/contextive/TestResults/TestResults-Single-Root-7.0.x-Linux.xml

13 tests were completed in 5s with 12 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
Contextive Activation Tests 4✅ 577ms
Contextive Completion Tests 1✅ 164ms
Hover Tests 1✅ 1❌ 1s
Initialize Tests 5✅ 2s
Invalid Schema Tests 1✅ 435ms
Root Suite 0ms
Single-Root Workspace 0ms

✅ Contextive Activation Tests

Contextive is Active
  ✅ Single-Root Workspace Contextive Activation Tests Contextive is Active
CSharp Extension is Active
  ✅ Single-Root Workspace Contextive Activation Tests CSharp Extension is Active
Extension has path config
  ✅ Single-Root Workspace Contextive Activation Tests Extension has path config
Language Client becomes Ready
  ✅ Single-Root Workspace Contextive Activation Tests Language Client becomes Ready

✅ Contextive Completion Tests

Completion returns expected list
  ✅ Single-Root Workspace Contextive Completion Tests Completion returns expected list

❌ Hover Tests

Hover returns expected content
  ✅ Single-Root Workspace Hover Tests Hover returns expected content
Contextive Hover results appear last
  ❌ Single-Root Workspace Hover Tests Contextive Hover results appear last
	Error: Hover should contain expected substring. Expected subject string ' `Page`: All the content displayed in a browser when a user visits a url.' to contain substring 'class Page'.

✅ Initialize Tests

Extension has Initialize Project Command
  ✅ Single-Root Workspace Initialize Tests Extension has Initialize Project Command
When config is undefined, and default definitions file doesn't exist, initialize Command should create and open in default location
  ✅ Single-Root Workspace Initialize Tests When config is undefined, and default definitions file doesn't exist, initialize Command should create and open in default location
When definitions file exists, Initialize Command should open existing file
  ✅ Single-Root Workspace Initialize Tests When definitions file exists, Initialize Command should open existing file
When config is defined, and definitions file doesn't exist, Initialize Command should create and open in configured location
  ✅ Single-Root Workspace Initialize Tests When config is defined, and definitions file doesn't exist, Initialize Command should create and open in configured location
New definitions file should show new term in completion
  ✅ Single-Root Workspace Initialize Tests New definitions file should show new term in completion

✅ Invalid Schema Tests

Should recover from an invalid schema
  ✅ Single-Root Workspace Invalid Schema Tests Should recover from an invalid schema

Annotations

Check failure on line 0 in src/vscode/contextive/TestResults/TestResults-Single-Root-7.0.x-Linux.xml

See this annotation in the file changed.

@github-actions github-actions / Contextive VsCode Extension Tests (net7.0.x - Linux)

Hover Tests ► Contextive Hover results appear last ► Single-Root Workspace Hover Tests Contextive Hover results appear last

Failed test found in:
  src/vscode/contextive/TestResults/TestResults-Single-Root-7.0.x-Linux.xml
Error:
  Error: Hover should contain expected substring. Expected subject string ' `Page`: All the content displayed in a browser when a user visits a url.' to contain substring 'class Page'.
Raw output
Error: Hover should contain expected substring. Expected subject string ' `Page`: All the content displayed in a browser when a user visits a url.' to contain substring 'class Page'.
	at /home/runner/work/contextive/contextive/src/vscode/contextive/out/single-root.main.test.js:5560:15
	at /home/runner/work/contextive/contextive/src/vscode/contextive/out/single-root.main.test.js:5659:20
	at Expect_stringContains (out/single-root.main.test.js:548:244)
	at expectHoverContent (out/single-root.main.test.js:13432:113)
	at /home/runner/work/contextive/contextive/src/vscode/contextive/out/single-root.main.test.js:13456:9
	at onSuccess (out/single-root.main.test.js:9393:21)