Skip to content

Commit

Permalink
[Uptime] Fix synthetics integration flaky tests (#103691)
Browse files Browse the repository at this point in the history
* focus uptime synthetics integration tests

* unfocus tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
  • Loading branch information
dominiqueclarke and kibanamachine authored Jul 1, 2021
1 parent b7dc2c1 commit 17443d0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
},

Expand Down

0 comments on commit 17443d0

Please sign in to comment.