diff --git a/src/components/target-pane/target-pane.jsx b/src/components/target-pane/target-pane.jsx
index 57823a082..bffb876e8 100644
--- a/src/components/target-pane/target-pane.jsx
+++ b/src/components/target-pane/target-pane.jsx
@@ -21,6 +21,7 @@ const TargetPane = ({
fileInputRef,
hoveredTarget,
spriteLibraryVisible,
+ onActivateBlocksTab,
onChangeSpriteDirection,
onChangeSpriteName,
onChangeSpriteRotationStyle,
@@ -92,6 +93,7 @@ const TargetPane = ({
{spriteLibraryVisible ? (
) : null}
@@ -128,6 +130,7 @@ TargetPane.propTypes = {
hoveredSprite: PropTypes.string,
receivedBlocks: PropTypes.bool
}),
+ onActivateBlocksTab: PropTypes.func.isRequired,
onChangeSpriteDirection: PropTypes.func,
onChangeSpriteName: PropTypes.func,
onChangeSpriteRotationStyle: PropTypes.func,
diff --git a/src/containers/target-pane.jsx b/src/containers/target-pane.jsx
index 3d54b86cb..22f5c7c8e 100644
--- a/src/containers/target-pane.jsx
+++ b/src/containers/target-pane.jsx
@@ -202,6 +202,7 @@ class TargetPane extends React.Component {
{
await clickXpath('//button[@aria-label="Choose a Sprite"]');
await clickText('Apple', scope.modal); // Closes modal
await rightClickText('Apple', scope.spriteTile); // Make sure it is there
- await findByText('Motion'); // Make sure we are back to the code tab
+ await clickText('Motion'); // Make sure we are back to the code tab
const logs = await getLogs();
await expect(logs).toEqual([]);
});