Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add SCM e2e test #1934

Merged
merged 4 commits into from
Nov 9, 2022
Merged

test: add SCM e2e test #1934

merged 4 commits into from
Nov 9, 2022

Conversation

erha19
Copy link
Member

@erha19 erha19 commented Nov 7, 2022

Types

  • ⏱ Tests

Background or solution

新增如下测试:

  • 打开一个 Git 项目,SCM 面板正确展示当前修改文件状态及数量
  • 点击 SCM 面板文件,打开 Diff Edtior,显示异常信息
  • 右键 SCM 面板文件,通过 Open File 命令打开源文件

Changelog

@erha19 erha19 changed the title WIP: test: add SCM e2e test test: add SCM e2e test Nov 8, 2022
@erha19 erha19 mentioned this pull request Nov 8, 2022
1 task
@codecov
Copy link

codecov bot commented Nov 8, 2022

Codecov Report

Base: 57.60% // Head: 57.61% // Increases project coverage by +0.00% 🎉

Coverage data is based on head (b4214d9) compared to base (2b415eb).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1934   +/-   ##
=======================================
  Coverage   57.60%   57.61%           
=======================================
  Files        1286     1286           
  Lines       80509    80534   +25     
  Branches    16851    16855    +4     
=======================================
+ Hits        46381    46397   +16     
- Misses      31044    31052    +8     
- Partials     3084     3085    +1     
Flag Coverage Δ
jsdom 52.36% <100.00%> (+<0.01%) ⬆️
node 15.88% <50.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...on/src/browser/vscode/contributes/views-welcome.ts 39.58% <100.00%> (+1.28%) ⬆️
packages/scm/src/common/index.ts 100.00% <100.00%> (ø)
packages/utils/src/buffer.ts 30.81% <0.00%> (-4.07%) ⬇️
...ages/file-service/src/node/file-service-watcher.ts 76.59% <0.00%> (-2.39%) ⬇️
packages/search/src/browser/search-tree.service.ts 35.71% <0.00%> (-0.24%) ⬇️
packages/file-service/src/browser/watcher.ts 100.00% <0.00%> (ø)
...file-service/src/node/disk-file-system.provider.ts 78.46% <0.00%> (ø)
...tension/src/browser/vscode/contributes/snippets.ts 93.75% <0.00%> (+0.41%) ⬆️
...es/file-service/src/browser/file-service-client.ts 74.70% <0.00%> (+0.60%) ⬆️
...sion/src/browser/sumi/contributes/browser-views.ts 67.27% <0.00%> (+1.23%) ⬆️
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Member

@Ricbet Ricbet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Ricbet Ricbet merged commit 7821551 into main Nov 9, 2022
@Ricbet Ricbet deleted the test/e2e-test/add-scm-test branch November 9, 2022 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants