Skip to content

Commit

Permalink
Update MediaUpload test to select 'Choose from device' option
Browse files Browse the repository at this point in the history
This selection better aligns with the test description.
  • Loading branch information
dcalhoun committed Jan 11, 2022
1 parent 6e17911 commit 3d817f4
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ describe( 'MediaUpload component', () => {
} );

it( 'can select multiple media from device library', () => {
expectMediaPickerForOption( 'Take a Video', true, requestMediaPicker );
expectMediaPickerForOption(
'Choose from device',
true,
requestMediaPicker
);
} );

it( 'can select multiple media from WP media library', () => {
Expand Down

0 comments on commit 3d817f4

Please sign in to comment.