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

[WIP] Dashboard tests using elasticdump to load data #7272

Closed
wants to merge 14 commits into from

Conversation

LeeDr
Copy link
Contributor

@LeeDr LeeDr commented May 24, 2016

5 new Dashboard tests (brings total tests up to 88).

In discover, visualize, and dashboard tests instead of reloading the empty .kibana index

  • scenarioManager.reload('emptyKibana')

    I do this;

  1. unload it scenarioManager.unload('emptyKibana')
  2. let kibana re-create it's index
  3. set the timezone and default index scenarioManager.updateConfigDoc({'dateFormat:tz':'UTC', 'defaultIndex':'logstash-*'});
  4. load json data containing the logstash-* index pattern with elasticdump common.elasticLoad('kibana3.json','.kibana');
  • This avoids the potential timing issue we have when we reload the kibana index while it's running.
  • And it allows running automation against a slightly different build of kibana (reloading the 'emptyKibana' always uses the build number from package.json and things don't work if that doesn't match the build you're testing).

The Dashboard tests do the same thing except they load kibana4.json which includes visualizations used in the dashboard tests.

scenarioManager.reload('emptyKibana') is still used in the settings and discover tests for now, but should probably be replaced with the elasticdump method.

@LeeDr LeeDr added the test label May 24, 2016
@LeeDr
Copy link
Contributor Author

LeeDr commented May 24, 2016

jenkins, test it

@LeeDr
Copy link
Contributor Author

LeeDr commented May 26, 2016

Replacing this PR with #7298

@LeeDr LeeDr closed this May 26, 2016
@LeeDr LeeDr deleted the dashboardDump branch May 23, 2017 13:57
cee-chen added a commit that referenced this pull request Oct 19, 2023
`v89.0.0`⏩`v89.1.0`

This upgrade also contains an EuiDataGrid refactor
(elastic/eui#7255) not listed in the changelog
(as no end-user functionality or props changed as a result of the
refactor). The unlisted changes should only affect DOM and `className`
usages in Kibana (primarily CSS overrides and test selectors).

---

## [`89.1.0`](https://github.com/elastic/eui/tree/v89.1.0)

- Added `tokenVectorSparse` token and updated `tokenDenseVector` token
(now named `tokenVectorDense`).
([#7282](elastic/eui#7282))

**CSS-in-JS conversions**

- Reduced default CSS prefixes generated by Emotion to only browsers
supported by EUI (latest evergreen browsers). This can be customized by
passing your own Emotion cache to `EuiProvider`.
([#7272](elastic/eui#7272))
benakansara pushed a commit to benakansara/kibana that referenced this pull request Oct 22, 2023
`v89.0.0`⏩`v89.1.0`

This upgrade also contains an EuiDataGrid refactor
(elastic/eui#7255) not listed in the changelog
(as no end-user functionality or props changed as a result of the
refactor). The unlisted changes should only affect DOM and `className`
usages in Kibana (primarily CSS overrides and test selectors).

---

## [`89.1.0`](https://github.com/elastic/eui/tree/v89.1.0)

- Added `tokenVectorSparse` token and updated `tokenDenseVector` token
(now named `tokenVectorDense`).
([elastic#7282](elastic/eui#7282))

**CSS-in-JS conversions**

- Reduced default CSS prefixes generated by Emotion to only browsers
supported by EUI (latest evergreen browsers). This can be customized by
passing your own Emotion cache to `EuiProvider`.
([elastic#7272](elastic/eui#7272))
benakansara pushed a commit to benakansara/kibana that referenced this pull request Oct 22, 2023
`v89.0.0`⏩`v89.1.0`

This upgrade also contains an EuiDataGrid refactor
(elastic/eui#7255) not listed in the changelog
(as no end-user functionality or props changed as a result of the
refactor). The unlisted changes should only affect DOM and `className`
usages in Kibana (primarily CSS overrides and test selectors).

---

## [`89.1.0`](https://github.com/elastic/eui/tree/v89.1.0)

- Added `tokenVectorSparse` token and updated `tokenDenseVector` token
(now named `tokenVectorDense`).
([elastic#7282](elastic/eui#7282))

**CSS-in-JS conversions**

- Reduced default CSS prefixes generated by Emotion to only browsers
supported by EUI (latest evergreen browsers). This can be customized by
passing your own Emotion cache to `EuiProvider`.
([elastic#7272](elastic/eui#7272))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant