[Uptime] Fix synthetics integration flaky tests (#103691)
* focus uptime synthetics integration tests * unfocus tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
b7dc2c1d8c
commit
17443d0701
|
@ -253,7 +253,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
|
|||
]);
|
||||
});
|
||||
|
||||
it.skip('allows configuring http advanced options', async () => {
|
||||
it('allows configuring http advanced options', async () => {
|
||||
// This test ensures that updates made to the Synthetics Policy are carried all the way through
|
||||
// to the generated Agent Policy that is dispatch down to the Elastic Agent.
|
||||
const config = generateHTTPConfig('http://elastic.co');
|
||||
|
|
|
@ -86,7 +86,7 @@ export function SyntheticsIntegrationPageProvider({
|
|||
* @params {value} the value of the input
|
||||
*/
|
||||
async fillTextInputByTestSubj(testSubj: string, value: string) {
|
||||
const field = await testSubjects.find(testSubj, 5000);
|
||||
const field = await testSubjects.find(testSubj);
|
||||
await field.scrollIntoViewIfNecessary({ bottomOffset: fixedFooterHeight });
|
||||
await field.click();
|
||||
await field.clearValue();
|
||||
|
@ -118,7 +118,7 @@ export function SyntheticsIntegrationPageProvider({
|
|||
*/
|
||||
async findHTTPAdvancedOptionsAccordion() {
|
||||
await this.ensureIsOnPackagePage();
|
||||
const accordion = await testSubjects.find('syntheticsHTTPAdvancedFieldsAccordion', 5000);
|
||||
const accordion = await testSubjects.find('syntheticsHTTPAdvancedFieldsAccordion');
|
||||
return accordion;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue