[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:
Dominique Clarke 2021-07-01 15:59:31 -04:00 committed by GitHub
parent b7dc2c1d8c
commit 17443d0701
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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');

View file

@ -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;
},