[8.10] [Security Solution] Unskip failing tests in Policy and Metadata (#165242) (#165837)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Security Solution] Unskip failing tests in Policy and Metadata
(#165242)](https://github.com/elastic/kibana/pull/165242)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Kevin
Logan","email":"56395104+kevinlog@users.noreply.github.com"},"sourceCommit":{"committedDate":"2023-09-06T11:38:44Z","message":"[Security
Solution] Unskip failing tests in Policy and Metadata (#165242)\n\n##
Summary\r\n\r\nUnskip tests that were skipped during a package release
that was rolled\r\nback.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"782ab866b5e7eb59e0dd13419a4f92c0aab4149e","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Defend
Workflows","v8.10.0","v8.11.0"],"number":165242,"url":"https://github.com/elastic/kibana/pull/165242","mergeCommit":{"message":"[Security
Solution] Unskip failing tests in Policy and Metadata (#165242)\n\n##
Summary\r\n\r\nUnskip tests that were skipped during a package release
that was rolled\r\nback.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"782ab866b5e7eb59e0dd13419a4f92c0aab4149e"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165242","number":165242,"mergeCommit":{"message":"[Security
Solution] Unskip failing tests in Policy and Metadata (#165242)\n\n##
Summary\r\n\r\nUnskip tests that were skipped during a package release
that was rolled\r\nback.\r\n\r\n\r\n### Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"782ab866b5e7eb59e0dd13419a4f92c0aab4149e"}}]}]
BACKPORT-->

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2023-09-06 08:56:49 -04:00 committed by GitHub
parent db95f6c14b
commit 1b2de6dcb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -61,8 +61,7 @@ describe('Endpoint Policy Response', () => {
login();
});
// TODO failing test skipped https://github.com/elastic/kibana/issues/162428
describe.skip('from Fleet Agent Details page', () => {
describe('from Fleet Agent Details page', () => {
it('should display policy response with errors', () => {
navigateToFleetAgentDetails(endpointMetadata.agent.id);

View file

@ -44,8 +44,7 @@ export default function ({ getService }: FtrProviderContext) {
const endpointTestResources = getService('endpointTestResources');
describe('test metadata apis', () => {
// FLAKY: https://github.com/elastic/kibana/issues/151854
describe.skip('list endpoints GET route', () => {
describe('list endpoints GET route', () => {
const numberOfHostsInFixture = 2;
let agent1Timestamp: number;
let agent2Timestamp: number;