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

Tests: update file-search tests #9674

Merged

Conversation

OmarSdt-EC
Copy link
Contributor

@OmarSdt-EC OmarSdt-EC commented Jun 30, 2021

What it does

The commit updates the file-search api-tests (integration) by testing the following:

  • verify fileAndRange property by default, and once a search is performed.
  • verify that splitFilterAndRange successfully handles different input value combinations.

How to test

The CI should be green and the new tests should be executed.
You can also manually run the tests with yarn test in the examples/browser directory.

Review checklist

Reminder for reviewers

@OmarSdt-EC OmarSdt-EC force-pushed the os/tests_file-search branch from 333c266 to 21c933f Compare June 30, 2021 13:15
@vince-fugnitto vince-fugnitto added file search issues related to the file search test issues related to unit and api tests labels Jun 30, 2021
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

The changes look good to me and the tests pass 👍

Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

@OmarSdt-EC do you mind rebasing the pull-request against the latest master?

Copy link
Member

@msujew msujew left a comment

Choose a reason for hiding this comment

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

LGTM as well 👍

@OmarSdt-EC OmarSdt-EC force-pushed the os/tests_file-search branch 2 times, most recently from 447eb78 to b00b535 Compare July 22, 2021 19:49
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

The updates following the monaco upgrade look fine to me, I only have a minor suggestion.

examples/api-tests/src/file-search.spec.js Outdated Show resolved Hide resolved
@OmarSdt-EC OmarSdt-EC force-pushed the os/tests_file-search branch from b00b535 to 6170b58 Compare July 26, 2021 20:55
The commit updates the `file-search` api-tests (integration) by testing the following:

- verify `fileAndRange` property by default, and once a search is performed.
- verify that `splitFilterAndRange` successfully handles different input value combinations.
@OmarSdt-EC OmarSdt-EC force-pushed the os/tests_file-search branch from 6170b58 to c58e16c Compare July 26, 2021 20:56
@vince-fugnitto vince-fugnitto merged commit 299643b into eclipse-theia:master Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
file search issues related to the file search test issues related to unit and api tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants