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

[Cloud Security] [Agentless] Create GHA Cloud Security workflow sanity tests for Agentless ESS deployments. #192182

Open
wants to merge 21 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fixing merge conflicts
  • Loading branch information
seanrathier committed Sep 20, 2024
commit 66d9a16f56fff254881a89b11df9e3eae05fae04
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
'security',
'header',
'cisAddIntegration',
'findings',
'fleet',
]);

describe('Agentless Cloud - Sanity Tests', function () {
Expand All @@ -28,14 +30,12 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
const HEALTHY_STATUS = 'Healthy';
const fleet = pageObjects.fleet;

await cisIntegration.navigateToAddIntegrationCspmWithVersionPage(
CLOUD_CREDENTIALS_PACKAGE_VERSION
);
await fleet.navigateToFleetAgentsPage();
await pageObjects.header.waitUntilLoadingHasFinished();

await cisIntegration.clickOptionButton(CIS_AWS_OPTION_TEST_ID);
await cisIntegration.clickOptionButton(AWS_SINGLE_ACCOUNT_TEST_ID);
await (await testSubjects.find('agentList.policyFilter')).click();

await cisIntegration.inputIntegrationName(integrationPolicyName);
const options = await testSubjects.findAll('agentList.agentPolicyFilterOption');

// Click the first agentless policy
for (const option of options) {
Expand Down