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.x] [Table visualization] Add functional tests for new table vis #671

Merged
merged 1 commit into from
May 24, 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)
@kavilla kavilla merged commit c76c8b8 into 2.x May 24, 2023
@github-actions github-actions bot deleted the backport/backport-423-to-2.x branch May 24, 2023 22:10
leanneeliatra pushed a commit to leanneeliatra/opensearch-dashboards-functional-test-fork that referenced this pull request Sep 15, 2023
…rch-project#423) (opensearch-project#671)

* [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:
opensearch-project#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:
opensearch-project#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)

Co-authored-by: Anan Zhuang <[email protected]>
Signed-off-by: [email protected] <[email protected]>
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.

2 participants