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

[Logs onboarding] Added Cypress to observability onboarding plugin #157147

Merged
merged 1 commit into from
May 11, 2023

Conversation

yngrdyn
Copy link
Contributor

@yngrdyn yngrdyn commented May 9, 2023

This PR enables cypress testing in observability onboarding plugin.

@yngrdyn yngrdyn requested review from a team as code owners May 9, 2023 11:13
@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@yngrdyn yngrdyn added the release_note:skip Skip the PR/issue when compiling release notes label May 9, 2023
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled in files

id before after diff
observabilityOnboarding 2 3 +1

ESLint disabled line counts

id before after diff
enterpriseSearch 19 21 +2
observabilityOnboarding 4 7 +3
securitySolution 399 403 +4
total +9

Total ESLint disabled count

id before after diff
enterpriseSearch 20 22 +2
observabilityOnboarding 6 10 +4
securitySolution 479 483 +4
total +10

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Member

@jbudz jbudz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

.buildkite/ LGTM

Copy link
Contributor

@ogupte ogupte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this

@@ -0,0 +1,3 @@
xpack.observability_onboarding.ui.enabled: true

xpack.cloud.id: 'foo'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably set the cloud id value to something that matches the expected format

Example: eastus2.azure.elastic-cloud.com:9243$59ef636c6917463db140321484d63cfa$a8b109c08adc43279ef48f29af1a3911

We may need to decode this id to get the ES deployment when we generate the elastic-agent.yml

});

process.exitCode = exitStatus;
console.log(`Quitting with exit code ${exitStatus}`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This script has caused some confusion in APM so I'm not sure it's the best approach. But if it works for you feel free to carry it over.

@yngrdyn yngrdyn merged commit 0fc4949 into elastic:main May 11, 2023
@kibanamachine kibanamachine added v8.9.0 backport:skip This commit does not require backporting labels May 11, 2023
yngrdyn added a commit that referenced this pull request May 15, 2023
This Pr is a follow up of
[PR#157008](#157008) and
[PR#157147](#157147).

Changes:

1. Replaced usage of `euiThemeVars` by `useEuiTheme` and
`useEuiFontSize`.
2. e2e cloudId following [cloud plugin
format](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud#cloudid).
jasonrhodes pushed a commit that referenced this pull request May 17, 2023
This Pr is a follow up of
[PR#157008](#157008) and
[PR#157147](#157147).

Changes:

1. Replaced usage of `euiThemeVars` by `useEuiTheme` and
`useEuiFontSize`.
2. e2e cloudId following [cloud plugin
format](https://github.com/elastic/kibana/tree/main/x-pack/plugins/cloud#cloudid).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes v8.9.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants