[ML] Functional tests - adjust custom URL timeout (#113223)

This PR adjusts the timeout for checking the custom URL label.
This commit is contained in:
Robert Oskamp 2021-09-28 12:38:27 +02:00 committed by GitHub
parent fe91978022
commit b146f82969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,7 +103,7 @@ export function MachineLearningCustomUrlsProvider({
},
async assertCustomUrlLabel(index: number, expectedLabel: string) {
await testSubjects.existOrFail(`mlJobEditCustomUrlLabelInput_${index}`);
await testSubjects.existOrFail(`mlJobEditCustomUrlLabelInput_${index}`, { timeout: 1000 });
const actualLabel = await testSubjects.getAttribute(
`mlJobEditCustomUrlLabelInput_${index}`,
'value'