vscode 不稳定的终端烟雾测试

yc0p9oo0  于 6个月前  发布在  Vscode
关注(0)|答案(4)|浏览(56)

VSCode 烟测试(Electron)
终端
终端标签页
在未提供名称时应将标签页名称重置为默认值:
错误:超时:在20秒后获取元素'.single-terminal-tab'。
at Code.poll (D:\a_work\1\s\test\automationout\code.js:204:23)
at async Code.waitForElement (D:\a_work\1\s\test\automation\outcode.js:163:16)
at async Terminal.assertTabExpected (D:\a_work\1\s\test\automation\out\terminal.js:220:17)
at async Terminal.assertSingleTab (D:\a_work\1\s\test\automation\out\terminal.js:158:9)
at async Context. (out\areas\terminal\terminal-tabs.test.js:42:13)

iqjalb3h

iqjalb3h1#

  1. VSCode 烟雾测试(Electron)
    终端
    终端拆分工作目录
    "在拆分并更新选项卡描述时,应继承当前工作目录的 'after all' hook":
    错误:超时:在20秒后活动元素为 '.monaco-editor[data-uri$="settings.json"] textarea'。
    位于/mnt/vss/_work/1/s/test/automation/out/code.js的第204行,第23个字符。
    位于/mnt/vss/_work/1/s/test/automation/out/code.js的第166行,第9个字符。
    位于/mnt/vss/_work/1/s/test/automation/out/editor.js的第68行,第9个字符。
    位于/mnt/vss/_work/1/s/test/automation/out/settings.js的第50行,第9个字符。
    位于/mnt/vss/_work/1/s/test/automation/out/settings.js的第41行,第9个字符。
    位于Context. (out/areas/terminal/terminal-splitCwd.test.js的第23行,第13个字符。
ssgvzors

ssgvzors2#

Seeing flaky terminal smoke tests https://dev.azure.com/monacotools/Monaco/_build/results?buildId=283595&view=logs&j=260a512b-e5ca-5cf1-3f8e-20c0fa41efc9&t=ecad4960-5379-5108-563e-8a65e2414e29 as above as well as

VSCode Smoke Tests (Web)
       Terminal
         Terminal stickyScroll
           "after all" hook for "should support multi-line prompt":
     Error: Timeout: click ' .monaco-editor[data-uri$="settings.json"] .view-lines > .view-line:nth-child(1)' after 20 seconds.
      at Code.poll (/Users/runner/work/1/s/test/automation/out/code.js:204:23)
      at async Code.waitAndClick (/Users/runner/work/1/s/test/automation/out/code.js:154:9)
      at async Editor.waitForEditorFocus (/Users/runner/work/1/s/test/automation/out/editor.js:67:9)
      at async SettingsEditor.openUserSettingsFile (/Users/runner/work/1/s/test/automation/out/settings.js:50:9)
      at async SettingsEditor.clearUserSettings (/Users/runner/work/1/s/test/automation/out/settings.js:41:9)
      at async Context.<anonymous> (out/areas/terminal/terminal-stickyScroll.test.js:25:13)

and

VSCode Smoke Tests (Web)
       Terminal
         Terminal Shell Integration
           Write data-based tests
             "after all" hook in "Write data-based tests":
     Error: Timeout: click ' .monaco-editor[data-uri$="settings.json"] .view-lines > .view-line:nth-child(1)' after 20 seconds.
      at Code.poll (/Users/runner/work/1/s/test/automation/out/code.js:204:23)
      at async Code.waitAndClick (/Users/runner/work/1/s/test/automation/out/code.js:154:9)
      at async Editor.waitForEditorFocus (/Users/runner/work/1/s/test/automation/out/editor.js:67:9)
      at async SettingsEditor.openUserSettingsFile (/Users/runner/work/1/s/test/automation/out/settings.js:50:9)
      at async SettingsEditor.clearUserSettings (/Users/runner/work/1/s/test/automation/out/settings.js:41:9)
      at async Context.<anonymous> (out/areas/terminal/terminal-shellIntegration.test.js:92:17)
thtygnil

thtygnil3#

Seeing a flaky terminal smoke test in https://dev.azure.com/monacotools/Monaco/_build/results?buildId=284183&view=logs&j=260a512b-e5ca-5cf1-3f8e-20c0fa41efc9&t=82df682a-a732-590f-d041-2bbd067871c9

1) VSCode Smoke Tests (Electron)
       Terminal
         Terminal Persistence
           detach/attach
             should support basic reconnection:
     Error: Timeout: get element '.quick-input-widget' after 20 seconds.
      at Code.poll (/Users/runner/work/1/s/test/automation/out/code.js:204:23)
      at async Code.waitForElement (/Users/runner/work/1/s/test/automation/out/code.js:163:16)
      at async QuickInput.waitForQuickInputClosed (/Users/runner/work/1/s/test/automation/out/quickinput.js:32:9)
      at async Terminal.runCommandWithValue (/Users/runner/work/1/s/test/automation/out/terminal.js:110:9)
      at async Context.<anonymous> (out/areas/terminal/terminal-persistence.test.js:41:17)
wnavrhmk

wnavrhmk4#

Also failing in the following build https://dev.azure.com/monacotools/Monaco/_build/results?buildId=284227&view=logs&j=9833cdaa-2e92-5f8d-56a8-239fd18fd628&t=91895ea7-021d-579e-1de7-d01a9dae3e5b

1) vscode API - terminal
       Terminal
         environmentVariableCollection
           should have collection variables apply to terminals immediately after setting:
     Error: Timeout: ~c2~c1 should be printed after 20 seconds.
Did not pass accept function
      at poll (/Users/runner/work/1/s/extensions/vscode-api-tests/src/utils.ts:176:10)
      at Context.<anonymous> (/Users/runner/work/1/s/extensions/vscode-api-tests/src/singlefolder-tests/terminal.test.ts:755:5)

相关问题