Skip to content

Commit 1a4621b

Browse files
author
Alejandro Fernández
committed
Skip failing test (#54100)
ES behaves differently in master and in 7.x, causing the test to fail in the latter.
1 parent 28752fb commit 1a4621b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

x-pack/test/api_integration/apis/infra/log_entry_highlights.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,9 @@ export default function({ getService }: FtrProviderContext) {
110110
});
111111
});
112112

113-
it('highlights field columns', async () => {
113+
// Skipped since it behaves differently in master and in the 7.X branch
114+
// See https://github.com/elastic/kibana/issues/49959
115+
it.skip('highlights field columns', async () => {
114116
const { body } = await supertest
115117
.post(LOG_ENTRIES_HIGHLIGHTS_PATH)
116118
.set(COMMON_HEADERS)
@@ -140,9 +142,7 @@ export default function({ getService }: FtrProviderContext) {
140142
entries.forEach(entry => {
141143
entry.columns.forEach(column => {
142144
if ('field' in column && 'highlights' in column && column.highlights.length > 0) {
143-
// https://github.com/elastic/kibana/issues/49959
144-
// expect(column.highlights).to.eql(['generate_test_data/simple_logs']);
145-
expect(column.highlights).to.eql(['generate_test_data']);
145+
expect(column.highlights).to.eql(['generate_test_data/simple_logs']);
146146
}
147147
});
148148
});

0 commit comments

Comments
 (0)