WIP [tests/functional] support running the selenium tests from plugins#8626
WIP [tests/functional] support running the selenium tests from plugins#8626spalger wants to merge 11 commits intoelastic:masterfrom
Conversation
dc4f401 to
41ad290
Compare
41ad290 to
ec5063d
Compare
0f03617 to
fb84218
Compare
test/support/page_objects/index.js
Outdated
| }); | ||
|
|
||
| Object.defineProperty(this, name, { | ||
| configureable: true, |
There was a problem hiding this comment.
Typo, should be configurable
There was a problem hiding this comment.
This is why js needs first class named parameters 😠
| const loadType = async type => { | ||
| const input = resolve(dumpDir, `${type}.json.gz`); | ||
| log('Loading %s from %s to %s/%s', type, input, esUrl, outputIndex); | ||
| await elasticDump(log, { |
There was a problem hiding this comment.
We're seeing intermittent connection problems when loading data for a Graph test in the integration-test repo (I merged this code into it already). Is there a way to add a retry loop around writing each chunk of data to Elasticsearch?
I should note that we're running the tests on a VirtualBox host and Elasticsearch is running on the VirtualBox guest VM with the Elasticsearch port mapped between them. That might contribute somehow to the intermittent connection issue.
@bhavyarm had the error on a test, maybe could paste it here.
There was a problem hiding this comment.
09:59:56.416: Loading mapping from /Users/bhavyarajumandya/git/integration-test/test/fixtures/dump_data/secrepo/mapping.json.gz to http://elastic:changeme@localhost:9200/secrepo
09:59:56.658: Loading data from /Users/bhavyarajumandya/git/integration-test/test/fixtures/dump_data/secrepo/data.json.gz to http://elastic:changeme@localhost:9200/secrepo
09:59:58.420: error Error Emitted => connect ECONNRESET 127.0.0.1:9200
09:59:58.421: Taking screenshot "/Users/bhavyarajumandya/git/integration-test/test/screenshots/failure/failure_1479913198421_graph app_creating a simple graph.png"
SUITE ERROR
Error: connect ECONNRESET 127.0.0.1:9200
at Object.exports._errnoException util.js:1022:11
at exports._exceptionWithHostPort util.js:1045:20
at TCPConnectWrap.afterConnect [as oncomplete] net.js:1090:14
11/11 tests failed
11/11 tests failed
There was a problem hiding this comment.
Ran the test again and the same problem with loading data.
|
This has restarted under my implement/functional-test-runner branch. |
`102.0.0` ⏩ `102.1.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) >[!NOTE] There is also the sibling PR for `8.19` with old Amsterdam theme ready for review [here](#220049). It contains the same changes. ## Changes - Updated test selector (due to changed tooltip placement in [#8644](elastic/eui#8644)) - snapshot updates ## Package updates ### `@elastic/eui` #### [`v102.1.0`](https://github.com/elastic/eui/releases/v102.1.0) - Update `EuiDataGrid` to use `expand` glyph ([#8646](elastic/eui#8646)) **Accessibility** - Updated `EuiTableHeaderCell` to output `nameTooltip` directly on sortable cell elements, ensuring tooltips appear on focus ([#8644](elastic/eui#8644)) - Improved the accessibility of `EuiColorPicker` by: ([#8639](elastic/eui#8639)) - preventing duplicate color output for screen readers - adding tooltips with visual color labels for the selected colors on the saturation and hue sliders - updated accessible labels and announcements to be more descriptive **Dependency updates** - Updated `typescript` to v5.8.3 ([#8626](elastic/eui#8626))
`102.0.0` ⏩ `102.1.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) >[!IMPORTANT] This PR is a direct sibling to this [upgrade PR](#220039) to `main`. The difference is that it adds a standalone EUI package with the previous "Amsterdam" theme. Apart from the theme difference, **there are no further changes added**. ## Changes - Updated test selector (due to changed tooltip placement in [#8644](elastic/eui#8644)) - snapshot updates ## Package updates ### `@elastic/eui` #### [`v102.1.0`](https://github.com/elastic/eui/releases/v102.1.0) - Update `EuiDataGrid` to use `expand` glyph ([#8646](elastic/eui#8646)) **Accessibility** - Updated `EuiTableHeaderCell` to output `nameTooltip` directly on sortable cell elements, ensuring tooltips appear on focus ([#8644](elastic/eui#8644)) - Improved the accessibility of `EuiColorPicker` by: ([#8639](elastic/eui#8639)) - preventing duplicate color output for screen readers - adding tooltips with visual color labels for the selected colors on the saturation and hue sliders - updated accessible labels and announcements to be more descriptive **Dependency updates** - Updated `typescript` to v5.8.3 ([#8626](elastic/eui#8626))
`102.0.0` ⏩ `102.1.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) >[!NOTE] There is also the sibling PR for `8.19` with old Amsterdam theme ready for review [here](elastic#220049). It contains the same changes. ## Changes - Updated test selector (due to changed tooltip placement in [elastic#8644](elastic/eui#8644)) - snapshot updates ## Package updates ### `@elastic/eui` #### [`v102.1.0`](https://github.com/elastic/eui/releases/v102.1.0) - Update `EuiDataGrid` to use `expand` glyph ([elastic#8646](elastic/eui#8646)) **Accessibility** - Updated `EuiTableHeaderCell` to output `nameTooltip` directly on sortable cell elements, ensuring tooltips appear on focus ([elastic#8644](elastic/eui#8644)) - Improved the accessibility of `EuiColorPicker` by: ([elastic#8639](elastic/eui#8639)) - preventing duplicate color output for screen readers - adding tooltips with visual color labels for the selected colors on the saturation and hue sliders - updated accessible labels and announcements to be more descriptive **Dependency updates** - Updated `typescript` to v5.8.3 ([elastic#8626](elastic/eui#8626)) (cherry picked from commit bca8299) # Conflicts: # x-pack/solutions/observability/plugins/infra/public/components/asset_details/tabs/processes/__snapshots__/processes_table.test.tsx.snap
# Backport This will backport the following commits from `main` to `9.0`: - [Upgrade EUI to v102.1.0 (#220039)](#220039) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Lene Gadewoll","email":"lene.gadewoll@elastic.co"},"sourceCommit":{"committedDate":"2025-05-06T14:38:55Z","message":"Upgrade EUI to v102.1.0 (#220039)\n\n`102.0.0` ⏩ `102.1.0`\n\n[Questions? Please see our Kibana upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n>[!NOTE]\nThere is also the sibling PR for `8.19` with old Amsterdam theme ready\nfor review [here](#220049). It\ncontains the same changes.\n\n## Changes\n\n- Updated test selector (due to changed tooltip placement in\n[#8644](https://github.com/elastic/eui/pull/8644))\n- snapshot updates\n\n## Package updates\n\n### `@elastic/eui`\n\n#### [`v102.1.0`](https://github.com/elastic/eui/releases/v102.1.0)\n\n- Update `EuiDataGrid` to use `expand` glyph\n([#8646](https://github.com/elastic/eui/pull/8646))\n\n**Accessibility**\n\n- Updated `EuiTableHeaderCell` to output `nameTooltip` directly on\nsortable cell elements, ensuring tooltips appear on focus\n([#8644](https://github.com/elastic/eui/pull/8644))\n- Improved the accessibility of `EuiColorPicker` by:\n([#8639](https://github.com/elastic/eui/pull/8639))\n - preventing duplicate color output for screen readers\n- adding tooltips with visual color labels for the selected colors on\nthe saturation and hue sliders\n - updated accessible labels and announcements to be more descriptive\n\n**Dependency updates**\n\n- Updated `typescript` to v5.8.3\n([#8626](https://github.com/elastic/eui/pull/8626))","sha":"bca8299927ef023215494fb7bc21ad90891ffc54","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","EUI","backport:prev-minor","v9.1.0","v9.0.1"],"title":"Upgrade EUI to v102.1.0","number":220039,"url":"https://github.com/elastic/kibana/pull/220039","mergeCommit":{"message":"Upgrade EUI to v102.1.0 (#220039)\n\n`102.0.0` ⏩ `102.1.0`\n\n[Questions? Please see our Kibana upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n>[!NOTE]\nThere is also the sibling PR for `8.19` with old Amsterdam theme ready\nfor review [here](#220049). It\ncontains the same changes.\n\n## Changes\n\n- Updated test selector (due to changed tooltip placement in\n[#8644](https://github.com/elastic/eui/pull/8644))\n- snapshot updates\n\n## Package updates\n\n### `@elastic/eui`\n\n#### [`v102.1.0`](https://github.com/elastic/eui/releases/v102.1.0)\n\n- Update `EuiDataGrid` to use `expand` glyph\n([#8646](https://github.com/elastic/eui/pull/8646))\n\n**Accessibility**\n\n- Updated `EuiTableHeaderCell` to output `nameTooltip` directly on\nsortable cell elements, ensuring tooltips appear on focus\n([#8644](https://github.com/elastic/eui/pull/8644))\n- Improved the accessibility of `EuiColorPicker` by:\n([#8639](https://github.com/elastic/eui/pull/8639))\n - preventing duplicate color output for screen readers\n- adding tooltips with visual color labels for the selected colors on\nthe saturation and hue sliders\n - updated accessible labels and announcements to be more descriptive\n\n**Dependency updates**\n\n- Updated `typescript` to v5.8.3\n([#8626](https://github.com/elastic/eui/pull/8626))","sha":"bca8299927ef023215494fb7bc21ad90891ffc54"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220039","number":220039,"mergeCommit":{"message":"Upgrade EUI to v102.1.0 (#220039)\n\n`102.0.0` ⏩ `102.1.0`\n\n[Questions? Please see our Kibana upgrade\nFAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams)\n\n>[!NOTE]\nThere is also the sibling PR for `8.19` with old Amsterdam theme ready\nfor review [here](#220049). It\ncontains the same changes.\n\n## Changes\n\n- Updated test selector (due to changed tooltip placement in\n[#8644](https://github.com/elastic/eui/pull/8644))\n- snapshot updates\n\n## Package updates\n\n### `@elastic/eui`\n\n#### [`v102.1.0`](https://github.com/elastic/eui/releases/v102.1.0)\n\n- Update `EuiDataGrid` to use `expand` glyph\n([#8646](https://github.com/elastic/eui/pull/8646))\n\n**Accessibility**\n\n- Updated `EuiTableHeaderCell` to output `nameTooltip` directly on\nsortable cell elements, ensuring tooltips appear on focus\n([#8644](https://github.com/elastic/eui/pull/8644))\n- Improved the accessibility of `EuiColorPicker` by:\n([#8639](https://github.com/elastic/eui/pull/8639))\n - preventing duplicate color output for screen readers\n- adding tooltips with visual color labels for the selected colors on\nthe saturation and hue sliders\n - updated accessible labels and announcements to be more descriptive\n\n**Dependency updates**\n\n- Updated `typescript` to v5.8.3\n([#8626](https://github.com/elastic/eui/pull/8626))","sha":"bca8299927ef023215494fb7bc21ad90891ffc54"}},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
`102.0.0` ⏩ `102.1.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) >[!NOTE] There is also the sibling PR for `8.19` with old Amsterdam theme ready for review [here](elastic#220049). It contains the same changes. ## Changes - Updated test selector (due to changed tooltip placement in [elastic#8644](elastic/eui#8644)) - snapshot updates ## Package updates ### `@elastic/eui` #### [`v102.1.0`](https://github.com/elastic/eui/releases/v102.1.0) - Update `EuiDataGrid` to use `expand` glyph ([elastic#8646](elastic/eui#8646)) **Accessibility** - Updated `EuiTableHeaderCell` to output `nameTooltip` directly on sortable cell elements, ensuring tooltips appear on focus ([elastic#8644](elastic/eui#8644)) - Improved the accessibility of `EuiColorPicker` by: ([elastic#8639](elastic/eui#8639)) - preventing duplicate color output for screen readers - adding tooltips with visual color labels for the selected colors on the saturation and hue sliders - updated accessible labels and announcements to be more descriptive **Dependency updates** - Updated `typescript` to v5.8.3 ([elastic#8626](elastic/eui#8626))
`102.0.0` ⏩ `102.1.0` [Questions? Please see our Kibana upgrade FAQ.](https://github.com/elastic/eui/blob/main/wiki/eui-team-processes/upgrading-kibana.md#faq-for-kibana-teams) >[!NOTE] There is also the sibling PR for `8.19` with old Amsterdam theme ready for review [here](elastic#220049). It contains the same changes. ## Changes - Updated test selector (due to changed tooltip placement in [elastic#8644](elastic/eui#8644)) - snapshot updates ## Package updates ### `@elastic/eui` #### [`v102.1.0`](https://github.com/elastic/eui/releases/v102.1.0) - Update `EuiDataGrid` to use `expand` glyph ([elastic#8646](elastic/eui#8646)) **Accessibility** - Updated `EuiTableHeaderCell` to output `nameTooltip` directly on sortable cell elements, ensuring tooltips appear on focus ([elastic#8644](elastic/eui#8644)) - Improved the accessibility of `EuiColorPicker` by: ([elastic#8639](elastic/eui#8639)) - preventing duplicate color output for screen readers - adding tooltips with visual color labels for the selected colors on the saturation and hue sliders - updated accessible labels and announcements to be more descriptive **Dependency updates** - Updated `typescript` to v5.8.3 ([elastic#8626](elastic/eui#8626))
No description provided.