… (#145936)
# Backport
This will backport the following commits from `main` to `8.5`:
- [CCS Smoke Test for Remote Clusters and Index Management
(#142423)](#142423)
<!--- Backport version: 8.9.7 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)
<!--BACKPORT [{"author":{"name":"John
Dorlus","email":"jsdorlus@elastic.co"},"sourceCommit":{"committedDate":"2022-11-01T05:14:21Z","message":"CCS
Smoke Test for Remote Clusters and Index Management (#142423)\n\n*
Removed comment of the issue that was referenced for the skip. But the
tests were already skipped.\r\n\r\n* Added initial tests and page
objects for remtoe clusters.\r\n\r\n* [CI] Auto-commit changed files
from 'node scripts/eslint --no-cache --fix'\r\n\r\n* Fixed the test and
test names.\r\n\r\n* removed exclusive suite.\r\n\r\n* [CI] Auto-commit
changed files from 'node scripts/eslint --no-cache --fix'\r\n\r\n* Fixed
i18n issue.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/eslint --no-cache --fix'\r\n\r\n* Added more testing
stuff.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'\r\n\r\n* Added more
testing stuff.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'\r\n\r\n* Added test
and stuff.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'\r\n\r\n* Fixed the
tests. The only things to update now are the permissions so we stop
using super user and also need to fix the cleanup.\r\n\r\n* [CI]
Auto-commit changed files from 'node scripts/eslint --no-cache
--fix'\r\n\r\n* Fixed accessibility test to use new ccr page
function.\r\n\r\n* Fixed an error in checks.\r\n\r\n* Restored original
settings.\r\n\r\n* Adjusted cleanup.\r\n\r\n* Removed exclusive
suite.\r\n\r\n* Removed unused variable.\r\n\r\n* Removed unused
variable.\r\n\r\n* Working with perms.\r\n\r\n* Fixes per comments in
PR.\r\n\r\n* added follower index user.\r\n\r\n* [CI] Auto-commit
changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD
--fix'\r\n\r\n* Added comment about super user issue.\r\n\r\n* Removed
the console.log.\r\n\r\n* Fixed nits per PR.\r\n\r\n* Removed extra
assertion.\r\n\r\nCo-authored-by: cuffs
<cuffs@cuffss-Office-MacBook-Pro.local>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f5acf76351faa3a15af993ffad6582a5a29e55fa","branchLabelMapping":{"^v8.6.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:QA","test_ui_functional","test_xpack_functional","release_note:skip","backport
missing","Feature:Functional
Testing","auto-backport","v8.6.0","v8.5.1"],"number":142423,"url":"https://github.com/elastic/kibana/pull/142423","mergeCommit":{"message":"CCS
Smoke Test for Remote Clusters and Index Management (#142423)\n\n*
Removed comment of the issue that was referenced for the skip. But the
tests were already skipped.\r\n\r\n* Added initial tests and page
objects for remtoe clusters.\r\n\r\n* [CI] Auto-commit changed files
from 'node scripts/eslint --no-cache --fix'\r\n\r\n* Fixed the test and
test names.\r\n\r\n* removed exclusive suite.\r\n\r\n* [CI] Auto-commit
changed files from 'node scripts/eslint --no-cache --fix'\r\n\r\n* Fixed
i18n issue.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/eslint --no-cache --fix'\r\n\r\n* Added more testing
stuff.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'\r\n\r\n* Added more
testing stuff.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'\r\n\r\n* Added test
and stuff.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'\r\n\r\n* Fixed the
tests. The only things to update now are the permissions so we stop
using super user and also need to fix the cleanup.\r\n\r\n* [CI]
Auto-commit changed files from 'node scripts/eslint --no-cache
--fix'\r\n\r\n* Fixed accessibility test to use new ccr page
function.\r\n\r\n* Fixed an error in checks.\r\n\r\n* Restored original
settings.\r\n\r\n* Adjusted cleanup.\r\n\r\n* Removed exclusive
suite.\r\n\r\n* Removed unused variable.\r\n\r\n* Removed unused
variable.\r\n\r\n* Working with perms.\r\n\r\n* Fixes per comments in
PR.\r\n\r\n* added follower index user.\r\n\r\n* [CI] Auto-commit
changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD
--fix'\r\n\r\n* Added comment about super user issue.\r\n\r\n* Removed
the console.log.\r\n\r\n* Fixed nits per PR.\r\n\r\n* Removed extra
assertion.\r\n\r\nCo-authored-by: cuffs
<cuffs@cuffss-Office-MacBook-Pro.local>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f5acf76351faa3a15af993ffad6582a5a29e55fa"}},"sourceBranch":"main","suggestedTargetBranches":["8.5"],"targetPullRequestStates":[{"branch":"main","label":"v8.6.0","labelRegex":"^v8.6.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/142423","number":142423,"mergeCommit":{"message":"CCS
Smoke Test for Remote Clusters and Index Management (#142423)\n\n*
Removed comment of the issue that was referenced for the skip. But the
tests were already skipped.\r\n\r\n* Added initial tests and page
objects for remtoe clusters.\r\n\r\n* [CI] Auto-commit changed files
from 'node scripts/eslint --no-cache --fix'\r\n\r\n* Fixed the test and
test names.\r\n\r\n* removed exclusive suite.\r\n\r\n* [CI] Auto-commit
changed files from 'node scripts/eslint --no-cache --fix'\r\n\r\n* Fixed
i18n issue.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/eslint --no-cache --fix'\r\n\r\n* Added more testing
stuff.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'\r\n\r\n* Added more
testing stuff.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'\r\n\r\n* Added test
and stuff.\r\n\r\n* [CI] Auto-commit changed files from 'node
scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'\r\n\r\n* Fixed the
tests. The only things to update now are the permissions so we stop
using super user and also need to fix the cleanup.\r\n\r\n* [CI]
Auto-commit changed files from 'node scripts/eslint --no-cache
--fix'\r\n\r\n* Fixed accessibility test to use new ccr page
function.\r\n\r\n* Fixed an error in checks.\r\n\r\n* Restored original
settings.\r\n\r\n* Adjusted cleanup.\r\n\r\n* Removed exclusive
suite.\r\n\r\n* Removed unused variable.\r\n\r\n* Removed unused
variable.\r\n\r\n* Working with perms.\r\n\r\n* Fixes per comments in
PR.\r\n\r\n* added follower index user.\r\n\r\n* [CI] Auto-commit
changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD
--fix'\r\n\r\n* Added comment about super user issue.\r\n\r\n* Removed
the console.log.\r\n\r\n* Fixed nits per PR.\r\n\r\n* Removed extra
assertion.\r\n\r\nCo-authored-by: cuffs
<cuffs@cuffss-Office-MacBook-Pro.local>\r\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"f5acf76351faa3a15af993ffad6582a5a29e55fa"}},{"branch":"8.5","label":"v8.5.1","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
This PR adds a functional X-Pack test that uses ftr-remote to add a remote and verify that the data added to the remote is available in index management.