[ML] Initial serverless functional tests for ML (#167493)

Add serverless functional tests for each project.

**Search**
Opens the trained models page and checks that there are 4 models listed.

**Observability**
Creates a AD job and then navigates to the AD jobs list and checks that
the job is listed.

**Security**
Creates a AD job and then navigates to the AD jobs list and checks that
the job is listed.
Creates a DFA job and then navigates to the DFA jobs list and checks
that the job is listed.
Navigates to the trained models page and checks that there are no
trained models listed.

Also adds tests for each project to ensure that kibana search bar only
lists the pages which are enabled.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
James Gowdy 2023-10-03 09:47:18 +01:00 committed by GitHub
parent 1814580e1b
commit fe7d2eb441
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 636 additions and 4 deletions

View file

@ -263,7 +263,7 @@ function createDeepLinks(
};
},
getDataComparisonDeepLink: (): AppDeepLink<LinkId> => {
getDataDriftDeepLink: (): AppDeepLink<LinkId> => {
return {
id: 'dataDrift',
title: i18n.translate('xpack.ml.deepLink.dataDrift', {