mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
# Backport This will backport the following commits from `main` to `8.x`: - [[Spaces] Fix flackiness in welcome tour test (#196909)](https://github.com/elastic/kibana/pull/196909) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sébastien Loix","email":"sebastien.loix@elastic.co"},"sourceCommit":{"committedDate":"2024-10-21T15:17:54Z","message":"[Spaces] Fix flackiness in welcome tour test (#196909)","sha":"7fb2b0ff11b9fa6c4fff6f66173a6665c6715078","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","Feature:Security/Spaces","release_note:skip","test-failure-flaky","v9.0.0","Team:SharedUX","backport:prev-minor"],"title":"[Spaces] Fix flackiness in welcome tour test","number":196909,"url":"https://github.com/elastic/kibana/pull/196909","mergeCommit":{"message":"[Spaces] Fix flackiness in welcome tour test (#196909)","sha":"7fb2b0ff11b9fa6c4fff6f66173a6665c6715078"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196909","number":196909,"mergeCommit":{"message":"[Spaces] Fix flackiness in welcome tour test (#196909)","sha":"7fb2b0ff11b9fa6c4fff6f66173a6665c6715078"}}]}] BACKPORT--> Co-authored-by: Sébastien Loix <sebastien.loix@elastic.co>
This commit is contained in:
parent
392c4f2805
commit
6623f02f5a
1 changed files with 3 additions and 1 deletions
|
@ -29,13 +29,15 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
|
||||
await es
|
||||
.delete(
|
||||
{ id: `config-global:${version}`, index: '.kibana', refresh: true },
|
||||
{ id: `config-global:${version}`, index: '.kibana', refresh: 'wait_for' },
|
||||
{ headers: { 'kbn-xsrf': 'spaces' } }
|
||||
)
|
||||
.catch((error) => {
|
||||
if (error.statusCode === 404) return; // ignore 404 errors
|
||||
throw error;
|
||||
});
|
||||
|
||||
await PageObjects.common.sleep(500); // just to be on the safe side
|
||||
};
|
||||
|
||||
before(async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue