Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions e2e/_suites/ingest-manager/features/ingest_manager.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
@ingest
Feature: Ingest Manager
Scenarios for the ingest manager application, considering the deployment, start, stop, enrollment, un-enrollment and enrollment of an agent.

@enroll
Scenario: Deploying an agent
Given the "Fleet" Kibana setup has been executed
When an agent is deployed to Fleet
Then the agent is listed in Fleet as online
And system package dashboards are listed in Fleet
And there is data in the index

@start-agent
Scenario: Starting the agent starts backend processes
When an agent is deployed to Fleet
Then "filebeat" is "started" on the host
And "metricbeat" is "started" on the host

@stop-agent
Scenario: Stopping the agent stops backend processes
Given an agent is deployed to Fleet
When the agent is "stopped" on the host
Then "filebeat" is "stopped" on the host
And "metricbeat" is "stopped" on the host

@unenroll
Scenario: Un-enrolling an agent
Given an agent is deployed to Fleet
When the agent is un-enrolled
Then the agent is not listed as online in Fleet
And there is no data in the index

@reenroll
Scenario: Re-enrolling an agent
Given an agent is enrolled
And the agent is un-enrolled
And "the agent" is "stopped" on the host
When the agent is re-enrolled on the host
And "the agent" is "started" on the host
Then "the agent" is listed in Fleet as online
And there is data in the index

@revoke-token
Scenario: Revoking the enrollment token for an agent
Given an agent is enrolled
When the enrollment token is revoked
Then an attempt to enroll a new agent fails