Skip to content

Commit 1dd4f65

Browse files
committed
fix icon picker spec
1 parent 32af841 commit 1dd4f65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cypress/e2e/IconPicker.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ context('IconPicker', () => {
99
it('allows the user to use the post picker to change an icon and displays it', () => {
1010
cy.createPost({title: 'Icon Picker Example'});
1111
cy.insertBlock('Icon Picker Example');
12-
cy.get('.component-icon-picker-inline-button').click();
13-
cy.get('.component-icon-picker-inline__content [placeholder="Search"]').type('tool');
12+
cy.get('.component-icon-picker-inline-button').first().click();
13+
cy.get('.component-icon-picker-inline__content [placeholder="Search"]').first().type('tool');
1414
cy.get('.component-icon-picker-inline__content .components-checkbox-control').first().click({force: true});
1515

1616
cy.savePost();

0 commit comments

Comments
 (0)