Skip to content

Commit

Permalink
chore(issue-details): Update activity collapse (#79730)
Browse files Browse the repository at this point in the history
this pr updates the activity collapsed state
  • Loading branch information
roggenkemper authored Oct 24, 2024
1 parent 2c174f8 commit 503fa49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe('StreamlinedActivitySection', function () {
expect(await screen.findByText('Test Note 1')).toBeInTheDocument();
expect(await screen.findByText('Test Note 7')).toBeInTheDocument();
expect(screen.queryByText('Test Note 6')).not.toBeInTheDocument();
expect(await screen.findByText('4 comments hidden')).toBeInTheDocument();
expect(await screen.findByText('4 activities hidden')).toBeInTheDocument();

await userEvent.click(await screen.findByRole('button', {name: 'Show all activity'}));
expect(await screen.findByText('Test Note 6')).toBeInTheDocument();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export default function StreamlinedActivitySection({group}: {group: Group}) {
borderless
size="zero"
>
{t('%s comments hidden', group.activity.length - 3)}
{t('%s activities hidden', group.activity.length - 3)}
</ShowAllButton>
}
icon={<RotatedEllipsisIcon />}
Expand Down

0 comments on commit 503fa49

Please sign in to comment.