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

Add tests for data source selector #965

Conversation

mengweieric
Copy link
Contributor

@mengweieric mengweieric commented Nov 28, 2023

Description

Add e2e tests for data source selector.

  Data source selector
    ✓ displays all data sources by default (5755ms)
    ✓ filters options based on user input
    ✓ updates the visual length of the dropdown based on filtered results
    ✓ selects the correct option when clicked


  4 passing (9s)

Issues Resolved

Following up on #5211

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@kavilla
Copy link
Member

kavilla commented Nov 28, 2023

Mind adding this apps/data_explorer/data_source_selector.spec.js

https://github.com/opensearch-project/opensearch-dashboards-functional-test/blob/main/package.json#L35 to make it a little bit faster to run.

Copy link
Member

@kavilla kavilla left a comment

Choose a reason for hiding this comment

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

ty

@ruanyl
Copy link
Member

ruanyl commented Jan 22, 2024

@mengweieric should this backport to 2.x?

@mengweieric
Copy link
Contributor Author

@mengweieric should this backport to 2.x?

yes, please add backport 2.x label thanks

@ruanyl ruanyl merged commit 26ab107 into opensearch-project:main Jan 30, 2024
33 of 38 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 30, 2024
* add tests for data source selector

Signed-off-by: Eric <[email protected]>

* add global tenant

Signed-off-by: Eric <[email protected]>

* add to ciGroup

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: Eric <[email protected]>
(cherry picked from commit 26ab107)
@wbeckler
Copy link

For these tests, are they written in such a way that they would have detected the malfunctions reported here: opensearch-project/OpenSearch-Dashboards#5609

ruanyl pushed a commit that referenced this pull request Feb 7, 2024
* add tests for data source selector

Signed-off-by: Eric <[email protected]>

* add global tenant

Signed-off-by: Eric <[email protected]>

* add to ciGroup

Signed-off-by: Eric <[email protected]>

---------

Signed-off-by: Eric <[email protected]>
(cherry picked from commit 26ab107)

Co-authored-by: Eric Wei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants