vscode WordOperations测试在Firefox上失败

mw3dktmi  于 4个月前  发布在  Vscode
关注(0)|答案(4)|浏览(101)
  • 运行 yarn test-browser
  • 🐛 Firefox 有测试失败
8739 passing (2m)
  80 pending
  2 failing

  1) WordOperations
       cursorWordLeft - Recognize words:

      
      + expected - actual

      -|/* |これはテストです |/*
      +|/* |これ|は|テスト|です |/*
      
  AssertionError@http://localhost:58336/d93b92392c197e0dc1687e5c26f3e699/test/unit/assert.js:184:21
  fail@http://localhost:58336/d93b92392c197e0dc1687e5c26f3e699/test/unit/assert.js:231:9
  deepStrictEqual@http://localhost:58336/d93b92392c197e0dc1687e5c26f3e699/test/unit/assert.js:283:9
  @http://localhost:58336/d93b92392c197e0dc1687e5c26f3e699/out/vs/editor/contrib/wordOperations/test/browser/wordOperations.test.js:151:30
  

  2) WordOperations
       cursorWordRight - Recognize words:

      
      + expected - actual

      -/*| これはテストです|/*|
      +/*| これ|は|テスト|です|/*|
      
  AssertionError@http://localhost:58336/d93b92392c197e0dc1687e5c26f3e699/test/unit/assert.js:184:21
  fail@http://localhost:58336/d93b92392c197e0dc1687e5c26f3e699/test/unit/assert.js:231:9
  deepStrictEqual@http://localhost:58336/d93b92392c197e0dc1687e5c26f3e699/test/unit/assert.js:283:9
  @http://localhost:58336/d93b92392c197e0dc1687e5c26f3e699/out/vs/editor/contrib/wordOperations/test/browser/wordOperations.test.js:298:30
  


The followings tests are failing:
 - WordOperations cursorWordLeft - Recognize words (reason: "|/* |これはテストです |/*" deepStrictEqual "|/* |これ|は|テスト|です |/*")
 - WordOperations cursorWordRight - Recognize words (reason: "/*| これはテストです|/*|" deepStrictEqual "/*| これ|は|テスト|です|/*|")
xlpyo6sf

xlpyo6sf1#

vscode/build/azure-pipelines/darwin/product-build-darwin-test.yml
Line 28 in 5c3b102
| | - script: yarn test-browser-no-install --sequential --browser chromium --browser webkit --tfs "Browser Unit Tests" |
It looks like CI only runs browser tests on chromium and webkit but not on FF. @joaomoreno or @bpasero do you know why that is?

to94eoyn

to94eoyn2#

我认为我们希望在不同的操作系统上分发浏览器,因此每个操作系统使用不同的浏览器。

bf1o4zei

bf1o4zei3#

不确定是否相关,但playwright最近更新了:af5cf64

ryhaxcpt

ryhaxcpt4#

请注意,6014fe6 禁用了此测试。

相关问题