Skip to content

Commit b793704

Browse files
committed
fix: tests
1 parent 77065ac commit b793704

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

package/src/components/Attachment/Giphy/Giphy.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ const GiphyWithContext = (props: GiphyPropsWithContext) => {
8080
variant={isPrimaryAction ? 'primary' : 'secondary'}
8181
type='ghost'
8282
size='sm'
83+
testID={`${action.value}-action-button`}
8384
onPress={() => {
8485
if (action?.name && action?.value && handleAction) {
8586
handleAction(action.name, action.value);

package/src/components/MessageMenu/__tests__/MessageUserReactions.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ describe('MessageUserReactions when the supportedReactions are defined', () => {
8787

8888
it('renders reaction buttons', () => {
8989
const { getByLabelText } = renderComponent();
90-
const likeReactionButton = getByLabelText('reaction-button-like-selected');
90+
const likeReactionButton = getByLabelText('reaction-button-like-unselected');
9191
expect(likeReactionButton).toBeDefined();
9292
const loveReactionButton = getByLabelText('reaction-button-love-unselected');
9393
expect(loveReactionButton).toBeDefined();

0 commit comments

Comments
 (0)