-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Automatic Import] Add Cypress tests for Automatic Import UI flow #194948
Conversation
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @bhapas |
Pinging @elastic/security-scalability (Team:Security-Scalability) |
Pinging @elastic/fleet (Team:Fleet) |
ad7c028
to
de992eb
Compare
de992eb
to
3035c08
Compare
d39e4c9
to
e2b31eb
Compare
x-pack/plugins/fleet/cypress/e2e/previleges_integrations_automatic_import.cy.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fleet changes LGTM 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
x-pack/plugins/integration_assistant/server/templates/build_rdm.md.njk
Outdated
Show resolved
Hide resolved
💚 Build Succeeded
Metrics [docs]Async chunks
History
cc @bhapas |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/11271332787 |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. 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
…ow (#194948) (#195737) # Backport This will backport the following commits from `main` to `8.x`: - [[Automatic Import] Add Cypress tests for Automatic Import UI flow (#194948)](#194948) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Bharat Pasupula","email":"123897612+bhapas@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-10-10T09:31:30Z","message":"[Automatic Import] Add Cypress tests for Automatic Import UI flow (#194948)\n\n## Summary\r\n\r\nAdds Cypress functional UI tests for different flows in Automatic\r\nImport.\r\n\r\n- Relates [#192684](https://github.com/elastic/kibana/issues/192684)\r\n\r\n### RBAC tests\r\n\r\n#### Create Integration Landing Page\r\n- Fleet `read` Integrations `all` -- No access\r\n- Fleet `read` Integrations `read` -- No access\r\n- Fleet `read` Integrations `read` -- No access\r\n- Fleet `all` Integrations `all` -- Access\r\n\r\n#### Create Integration Assistant Page\r\n- Fleet/integrations `all` Actions `read` [ `show` `execute` ] --\r\nExecute with existing connectors\r\n- Fleet/integrations `all` Actions `all` [ `show` `execute` `save`\r\n`delete` ] -- Create new connector / execute existing ones.\r\n\r\n### Create Integration UI Flow - NDJSON example\r\n- Create an integration using Automatic Import with NDJSON samples\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/9ab4cfc2-f058-4491-a280-6b86bcc5c9ce\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"c9200332ffe13e1df7225f023fa493f415ab429f","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["enhancement","release_note:skip","Team:Fleet","v9.0.0","backport:prev-minor","8.16 candidate","Team:Security-Scalability","Feature:AutomaticImport"],"number":194948,"url":"https://github.com/elastic/kibana/pull/194948","mergeCommit":{"message":"[Automatic Import] Add Cypress tests for Automatic Import UI flow (#194948)\n\n## Summary\r\n\r\nAdds Cypress functional UI tests for different flows in Automatic\r\nImport.\r\n\r\n- Relates [#192684](https://github.com/elastic/kibana/issues/192684)\r\n\r\n### RBAC tests\r\n\r\n#### Create Integration Landing Page\r\n- Fleet `read` Integrations `all` -- No access\r\n- Fleet `read` Integrations `read` -- No access\r\n- Fleet `read` Integrations `read` -- No access\r\n- Fleet `all` Integrations `all` -- Access\r\n\r\n#### Create Integration Assistant Page\r\n- Fleet/integrations `all` Actions `read` [ `show` `execute` ] --\r\nExecute with existing connectors\r\n- Fleet/integrations `all` Actions `all` [ `show` `execute` `save`\r\n`delete` ] -- Create new connector / execute existing ones.\r\n\r\n### Create Integration UI Flow - NDJSON example\r\n- Create an integration using Automatic Import with NDJSON samples\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/9ab4cfc2-f058-4491-a280-6b86bcc5c9ce\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"c9200332ffe13e1df7225f023fa493f415ab429f"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194948","number":194948,"mergeCommit":{"message":"[Automatic Import] Add Cypress tests for Automatic Import UI flow (#194948)\n\n## Summary\r\n\r\nAdds Cypress functional UI tests for different flows in Automatic\r\nImport.\r\n\r\n- Relates [#192684](https://github.com/elastic/kibana/issues/192684)\r\n\r\n### RBAC tests\r\n\r\n#### Create Integration Landing Page\r\n- Fleet `read` Integrations `all` -- No access\r\n- Fleet `read` Integrations `read` -- No access\r\n- Fleet `read` Integrations `read` -- No access\r\n- Fleet `all` Integrations `all` -- Access\r\n\r\n#### Create Integration Assistant Page\r\n- Fleet/integrations `all` Actions `read` [ `show` `execute` ] --\r\nExecute with existing connectors\r\n- Fleet/integrations `all` Actions `all` [ `show` `execute` `save`\r\n`delete` ] -- Create new connector / execute existing ones.\r\n\r\n### Create Integration UI Flow - NDJSON example\r\n- Create an integration using Automatic Import with NDJSON samples\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/9ab4cfc2-f058-4491-a280-6b86bcc5c9ce\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","sha":"c9200332ffe13e1df7225f023fa493f415ab429f"}}]}] BACKPORT-->
Summary
Adds Cypress functional UI tests for different flows in Automatic Import.
RBAC tests
Create Integration Landing Page
read
Integrationsall
-- No accessread
Integrationsread
-- No accessread
Integrationsread
-- No accessall
Integrationsall
-- AccessCreate Integration Assistant Page
all
Actionsread
[show
execute
] -- Execute with existing connectorsall
Actionsall
[show
execute
save
delete
] -- Create new connector / execute existing ones.Create Integration UI Flow - NDJSON example
video1342234299.mp4