Skip to content

Commit

Permalink
Fix avatar e2e (maybe...)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Jan 11, 2023
1 parent e2db856 commit 9b2dffb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/specs/editor/blocks/avatar.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ test.describe( 'Avatar', () => {

await newUser.click();

const newSrc = await avatarImage.getAttribute( 'src' );
const updatedAvatarImage = avatarBlock.locator( 'img' );
const newSrc = await updatedAvatarImage.getAttribute( 'src' );

expect( newSrc ).not.toBe( originalSrc );
} );
Expand Down

0 comments on commit 9b2dffb

Please sign in to comment.