Skip to content

Commit

Permalink
Block Editor: LinkControl: Fix test selector for Edit button
Browse files Browse the repository at this point in the history
Introduced in 6c591f4
Should have been rebased after 4e3a617 (where class was removed)
  • Loading branch information
aduth committed Feb 10, 2020
1 parent be379ef commit 38f4914
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe( 'Basic rendering', () => {

// Click the "Edit" button to trigger into the editing mode.
const editButton = container.querySelector(
'.block-editor-link-control__search-item-action--edit'
'.block-editor-link-control__search-item-action'
);
act( () => {
Simulate.click( editButton );
Expand Down

0 comments on commit 38f4914

Please sign in to comment.