diff --git a/src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.test.tsx b/src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.test.tsx index 312e96e2d5..06e4ceca85 100644 --- a/src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.test.tsx +++ b/src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.test.tsx @@ -99,7 +99,9 @@ describe('TokenlessSection', () => { setup() render(, { wrapper }) - const title = await screen.findByText('Token authentication') + const title = await screen.findByText( + 'Token authentication for public repositories' + ) expect(title).toBeInTheDocument() }) @@ -126,7 +128,7 @@ describe('TokenlessSection', () => { render(, { wrapper }) const notRequiredDescription = await screen.findByText( - 'When a token is not required, your team can upload coverage reports without one. Existing tokens will still work, and no action is needed for past uploads. Designed for public open-source projects.' + 'When a token is not required, your team can upload coverage reports without one. Existing tokens will still work, and no action is needed for past uploads.' ) expect(notRequiredDescription).toBeInTheDocument() }) @@ -136,7 +138,7 @@ describe('TokenlessSection', () => { render(, { wrapper }) const requiredDescription = await screen.findByText( - 'When a token is required, your team must use a global or repo-specific token for uploads. Designed for private repositories and closed-source projects.' + 'When a token is required, your team must use a global or repo-specific token for uploads.' ) expect(requiredDescription).toBeInTheDocument() }) diff --git a/src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.tsx b/src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.tsx index 987c8b1a35..e93662f89b 100644 --- a/src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.tsx +++ b/src/pages/AccountSettings/tabs/OrgUploadToken/TokenlessSection/TokenlessSection.tsx @@ -54,7 +54,9 @@ const TokenlessSection: React.FC = () => {