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

[8.x] [Automatic Import] Add Cypress tests for Automatic Import UI flow (#194948) #195737

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

bhapas
Copy link
Contributor

@bhapas bhapas commented Oct 10, 2024

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

…astic#194948)

## Summary

Adds Cypress functional UI tests for different flows in Automatic
Import.

- Relates [elastic#192684](elastic#192684)

### RBAC tests

#### Create Integration Landing Page
- Fleet `read` Integrations `all` -- No access
- Fleet `read` Integrations `read` -- No access
- Fleet `read` Integrations `read` -- No access
- Fleet `all` Integrations `all` -- Access

#### Create Integration Assistant Page
- Fleet/integrations `all` Actions `read` [ `show` `execute` ] --
Execute with existing connectors
- Fleet/integrations `all` Actions `all` [ `show` `execute` `save`
`delete` ] -- Create new connector / execute existing ones.

### Create Integration UI Flow - NDJSON example
- Create an integration using Automatic Import with NDJSON samples

https://github.com/user-attachments/assets/9ab4cfc2-f058-4491-a280-6b86bcc5c9ce

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit c920033)

# Conflicts:
#	x-pack/plugins/integration_assistant/server/integration_builder/readme_files.ts
#	x-pack/plugins/integration_assistant/server/templates/build_readme.md.njk
#	x-pack/plugins/integration_assistant/server/templates/description_readme.njk
#	x-pack/plugins/integration_assistant/server/templates/package_readme.md.njk
@bhapas bhapas enabled auto-merge (squash) October 10, 2024 10:38
@botelastic botelastic bot added the Team:Fleet Team label for Observability Data Collection Fleet team label Oct 10, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/fleet (Team:Fleet)

@bhapas bhapas added the Team:Security-Scalability Team label for Security Integrations Scalability Team label Oct 10, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-scalability (Team:Security-Scalability)

@bhapas bhapas requested a review from a team October 10, 2024 10:39
@bhapas bhapas added release_note:skip Skip the PR/issue when compiling release notes Feature:AutomaticImport labels Oct 10, 2024
@bhapas bhapas merged commit d9aeca0 into elastic:8.x Oct 10, 2024
35 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
integrationAssistant 948.9KB 949.2KB +312.0B

@bhapas bhapas self-assigned this Oct 14, 2024
haetamoudi added a commit that referenced this pull request Dec 13, 2024
## Summary

Manually delete `readme.njk` file that was missed during backport
#194948 PR in main
#195737 - 8.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Feature:AutomaticImport release_note:skip Skip the PR/issue when compiling release notes Team:Fleet Team label for Observability Data Collection Fleet team Team:Security-Scalability Team label for Security Integrations Scalability Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants