Skip to content

Commit 9fdd06d

Browse files
committed
Remove redundant test + comment out line item for Execute operations
1 parent 6dab2b3 commit 9fdd06d

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

x-pack/plugins/security_solution/public/management/cypress/e2e/mocked_data/endpoint_role_rbac.cy.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,9 @@ describe('When defining a kibana role for Endpoint security access', () => {
2525
cy.get('.featurePrivilegeName:contains("Security")').closest('button').click();
2626
});
2727

28-
it('should display the expected number of RBAC entries', () => {
29-
getAllSubFeatureRows().should('have.length', 11);
30-
});
31-
3228
it('should display RBAC entries with expected controls', () => {
3329
getAllSubFeatureRows()
30+
.should('have.length', 11)
3431
.then(($subFeatures) => {
3532
const featureRows: string[] = [];
3633
$subFeatures.each((_, $subFeature) => {
@@ -50,7 +47,8 @@ describe('When defining a kibana role for Endpoint security access', () => {
5047
'Host Isolation Perform the "isolate" and "release" response actions.Host Isolation sub-feature privilegeAllNone',
5148
'Process Operations Perform process-related response actions in the response console.Process Operations sub-feature privilegeAllNone',
5249
'File Operations Perform file-related response actions in the response console.File Operations sub-feature privilegeAllNone',
53-
'Execute Operations Perform script execution on the endpoint.Execute Operations sub-feature privilegeAllNone',
50+
// TODO: uncomment item below once Execute response action FF is enabled
51+
// 'Execute Operations Perform script execution on the endpoint.Execute Operations sub-feature privilegeAllNone',
5452
]);
5553
});
5654

0 commit comments

Comments
 (0)