@@ -71,7 +83,7 @@ const RHSChannelBoards = () => {
@@ -89,7 +101,7 @@ const RHSChannelBoards = () => {
diff --git a/webapp/i18n/en.json b/webapp/i18n/en.json
index 389f75079..b2175437a 100644
--- a/webapp/i18n/en.json
+++ b/webapp/i18n/en.json
@@ -351,6 +351,10 @@
"rhs-boards.no-boards-linked-to-channel-description": "Boards is a project management tool that helps define, organize, track and manage work across teams, using a familiar kanban board view.",
"rhs-boards.unlink-board": "Unlink board",
"rhs-channel-boards-header.title": "Boards",
+ "rhs-boards.dm": "DM",
+ "rhs-boards.header.dm": "this Direct Message",
+ "rhs-boards.gm": "GM",
+ "rhs-boards.header.gm": "this Group Message",
"share-board.publish": "Publish",
"share-board.share": "Share",
"shareBoard.channels-select-group": "Channels",
@@ -364,4 +368,4 @@
"tutorial_tip.ok": "Next",
"tutorial_tip.out": "Opt out of these tips.",
"tutorial_tip.seen": "Seen this before?"
-}
\ No newline at end of file
+}
diff --git a/webapp/src/components/shareBoard/shareBoard.test.tsx b/webapp/src/components/shareBoard/shareBoard.test.tsx
index fb10a74cb..46d6229b3 100644
--- a/webapp/src/components/shareBoard/shareBoard.test.tsx
+++ b/webapp/src/components/shareBoard/shareBoard.test.tsx
@@ -242,7 +242,7 @@ describe('src/components/shareBoard/shareBoard', () => {
)
container = result.container
})
- const copyLinkElement = screen.getByRole('button', {name: 'Copy link'})
+ const copyLinkElement = screen.getByTitle('Copy internal link')
expect(copyLinkElement).toBeDefined()
expect(container).toMatchSnapshot()
@@ -273,7 +273,7 @@ describe('src/components/shareBoard/shareBoard', () => {
expect(container).toMatchSnapshot()
- const copyLinkElement = screen.getByRole('button', {name: 'Copy link'})
+ const copyLinkElement = screen.getByTitle('Copy internal link')
expect(copyLinkElement).toBeDefined()
await act(async () => {
@@ -283,7 +283,7 @@ describe('src/components/shareBoard/shareBoard', () => {
expect(mockedUtils.copyTextToClipboard).toBeCalledTimes(1)
expect(container).toMatchSnapshot()
- const copiedLinkElement = screen.getByRole('button', {name: 'Copied!'})
+ const copiedLinkElement = screen.getByText('Copied!')
expect(copiedLinkElement).toBeDefined()
expect(copiedLinkElement.textContent).toContain('Copied!')
})