mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
(cherry picked from commit 1ff66582c3
)
Co-authored-by: Shahzad <shahzad.muhammad@elastic.co>
This commit is contained in:
parent
4ca557947c
commit
c8344b0d5a
1 changed files with 2 additions and 3 deletions
|
@ -142,8 +142,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
});
|
||||
});
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/g
|
||||
describe.skip('tls alert', function () {
|
||||
describe('tls alert', function () {
|
||||
const DEFAULT_DATE_START = 'Sep 10, 2019 @ 12:40:08.078';
|
||||
const DEFAULT_DATE_END = 'Sep 11, 2019 @ 19:40:08.078';
|
||||
let alerts: any;
|
||||
|
@ -185,7 +184,7 @@ export default ({ getPageObjects, getService }: FtrProviderContext) => {
|
|||
|
||||
it('has created a valid alert with expected parameters', async () => {
|
||||
let alert: any;
|
||||
await retry.tryForTime(15000, async () => {
|
||||
await retry.tryForTime(60 * 1000, async () => {
|
||||
const apiResponse = await supertest.get(`/api/alerts/_find?search=${alertId}`);
|
||||
const alertsFromThisTest = apiResponse.body.data.filter(
|
||||
({ name }: { name: string }) => name === alertId
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue