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

[Backport 2.7] [Table visualization] Add functional tests for new table vis #672

Merged
merged 1 commit into from
May 26, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 3dffb5f from #423

* [Table visualization] Add functional tests for new table vis

There are four test cases:
* basic.spec.js contains tests related to vis page, like
inspector, save an object.
* data.spec.js tests diff metrics and buckets aggregations.
* options.spec.js contains tests on options panel.
* split.spec.js tests table functions, like sort, adjust col
width, split tables and etc.

Most tests are the same as the removed funtional tests.
split.spec.js is the only one with all new tests.

Partially Resolved:
#401

Signed-off-by: Anan Zhuang <[email protected]>

* fix PR comments

Signed-off-by: Anan Zhuang <[email protected]>

* fix test error and add embed test suite

Signed-off-by: Anan Zhuang <[email protected]>

* Fix multiple submit bug
Currently there are two submit type button in data source
which cause cypress fail to find and click. In this PR, I
switch to use data-test-subj to uniquely identify the btn.

Issue Resolved:
#439

Signed-off-by: Anan Zhuang <[email protected]>

* missed conflict resolution

Signed-off-by: Kawika Avilla <[email protected]>

---------

Signed-off-by: Anan Zhuang <[email protected]>
Signed-off-by: Kawika Avilla <[email protected]>
Co-authored-by: Kawika Avilla <[email protected]>
(cherry picked from commit 3dffb5f)
@peterzhuamazon peterzhuamazon merged commit ed47791 into 2.7 May 26, 2023
@peterzhuamazon peterzhuamazon deleted the backport/backport-423-to-2.7 branch May 26, 2023 20:13
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.

3 participants