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

[Infra UI] Serverless e2e functional testing #166749

Closed
jennypavlova opened this issue Sep 19, 2023 · 1 comment · Fixed by #168621
Closed

[Infra UI] Serverless e2e functional testing #166749

jennypavlova opened this issue Sep 19, 2023 · 1 comment · Fixed by #168621
Assignees
Labels
Feature:Metrics UI Metrics UI feature Project:Serverless Work as part of the Serverless project for its initial release Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@jennypavlova
Copy link
Member

jennypavlova commented Sep 19, 2023

Description

Following the guide for creating Kibana Serverless Tests
a new serverless specific test should be created. It can have the role of a "smoke" test to help us figure out if all features enabled in serverless are covered

Implementation details

  • Functional tests live in test_serverless/functional
  • infra should be enabled in the serverless cofig to add the test
  • We should be careful with the loading time and avoid flakiness

AC

  • The functional test should cover the infra functionality enabled on serverless
@jennypavlova jennypavlova added the Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services label Sep 19, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

@watson watson added Project:Serverless Work as part of the Serverless project for its initial release and removed Initial Serverless labels Oct 4, 2023
@jennypavlova jennypavlova self-assigned this Oct 10, 2023
jennypavlova added a commit that referenced this issue Oct 17, 2023
Closes #166749
## Summary

This PR adds serverless functional tests for the infra plugin. The main
goal is to make sure that the app loads all the pages and successfully
navigates between them. As we already have functional tests covering the
whole functionality here we want to cover the differences with
serverless and some basic checks ensuring that base functionality works
correctly.

- Update the test to cover disabling the create rule button added
[here](#167978):
([x-pack/test_serverless/functional/test_suites/observability/infra/hosts_page.ts](87fb991#diff-76bd05d3fed2c44187682e27b4030ddb9cba1a36235321e0db1b371ef6739cc9))

⚠️ The tests for the second AC point related to user roles will go in a[
separate issue ](#168931)

Test server run:
`node scripts/functional_tests_server.js
--config=x-pack/test_serverless/functional/test_suites/observability/config.ts`
 Tests run: 
`node scripts/functional_test_runner
--config=x-pack/test_serverless/functional/test_suites/observability/config.ts
--grep "Observability Infra"`
dej611 pushed a commit to dej611/kibana that referenced this issue Oct 17, 2023
Closes elastic#166749
## Summary

This PR adds serverless functional tests for the infra plugin. The main
goal is to make sure that the app loads all the pages and successfully
navigates between them. As we already have functional tests covering the
whole functionality here we want to cover the differences with
serverless and some basic checks ensuring that base functionality works
correctly.

- Update the test to cover disabling the create rule button added
[here](elastic#167978):
([x-pack/test_serverless/functional/test_suites/observability/infra/hosts_page.ts](elastic@87fb991#diff-76bd05d3fed2c44187682e27b4030ddb9cba1a36235321e0db1b371ef6739cc9))

⚠️ The tests for the second AC point related to user roles will go in a[
separate issue ](elastic#168931)

Test server run:
`node scripts/functional_tests_server.js
--config=x-pack/test_serverless/functional/test_suites/observability/config.ts`
 Tests run: 
`node scripts/functional_test_runner
--config=x-pack/test_serverless/functional/test_suites/observability/config.ts
--grep "Observability Infra"`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Metrics UI Metrics UI feature Project:Serverless Work as part of the Serverless project for its initial release Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants