Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
Browse files Browse the repository at this point in the history
…-fix'
  • Loading branch information
kibanamachine committed Sep 1, 2022
1 parent 4e7ccee commit fde2694
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion test/functional/page_objects/settings_page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,9 @@ export class SettingsPageObject extends FtrService {

async setScriptedFieldLanguageFilter(language: string) {
await this.retry.try(async () => {
await this.testSubjects.clickWhenNotDisabledWithoutRetry('scriptedFieldLanguageFilterDropdown');
await this.testSubjects.clickWhenNotDisabledWithoutRetry(
'scriptedFieldLanguageFilterDropdown'
);
return await this.find.byCssSelector('div.euiPopover__panel[data-popover-open]');
});
await this.testSubjects.existOrFail('scriptedFieldLanguageFilterDropdown-popover');
Expand Down
8 changes: 6 additions & 2 deletions test/functional/services/field_editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,18 @@ export class FieldEditorService extends FtrService {
public async confirmSave() {
await this.retry.try(async () => {
await this.testSubjects.setValue('saveModalConfirmText', 'change');
await this.testSubjects.clickWhenNotDisabledWithoutRetry('confirmModalConfirmButton', { timeout: 1000 });
await this.testSubjects.clickWhenNotDisabledWithoutRetry('confirmModalConfirmButton', {
timeout: 1000,
});
});
}

public async confirmDelete() {
await this.retry.try(async () => {
await this.testSubjects.setValue('deleteModalConfirmText', 'remove');
await this.testSubjects.clickWhenNotDisabledWithoutRetry('confirmModalConfirmButton', { timeout: 1000 });
await this.testSubjects.clickWhenNotDisabledWithoutRetry('confirmModalConfirmButton', {
timeout: 1000,
});
});
}
}

0 comments on commit fde2694

Please sign in to comment.