Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const inspector = getService('inspector');
const find = getService('find');
const comboBox = getService('comboBox');
const retry = getService('retry');
const FIELD_NAME = 'machine.os.raw';

describe('input control options', () => {
Expand Down Expand Up @@ -82,6 +83,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {

it('should replace existing filter pill(s) when new item is selected', async () => {
await comboBox.clear('listControlSelect0');
await retry.waitFor('input control is clear', async () => {
return (await comboBox.doesComboBoxHaveSelectedOptions('listControlSelect0')) === false;
});
await comboBox.set('listControlSelect0', 'osx');
await visEditor.inputControlSubmit();
await common.sleep(1000);
Expand Down