fix(client): change twitter to X and update twitter URL's (#64046)

This commit is contained in:
Tom
2025-12-08 04:49:23 -06:00
committed by GitHub
parent a09b4301de
commit 6a54b7c43f
11 changed files with 18 additions and 22 deletions

View File

@@ -99,7 +99,7 @@ test.describe('Certification page - Non Microsoft', () => {
await expect(twitterLink).toBeVisible();
await expect(twitterLink).toHaveAttribute(
'href',
`https://twitter.com/intent/tweet?text=I just earned the Legacy%20Responsive%20Web%20Design%20V8 certification @freeCodeCamp! Check it out here: https://freecodecamp.org/certification/certifieduser/responsive-web-design`
`https://x.com/intent/post?text=I just earned the Legacy%20Responsive%20Web%20Design%20V8 certification @freeCodeCamp! Check it out here: https://freecodecamp.org/certification/certifieduser/responsive-web-design`
);
const projectLinks = certLink.getByTestId('project-links');
@@ -259,7 +259,7 @@ test.describe('Certification page - Microsoft', () => {
await expect(twitterLink).toBeVisible();
await expect(twitterLink).toHaveAttribute(
'href',
'https://twitter.com/intent/tweet?text=I just earned the Foundational%20C%23%20with%20Microsoft certification @freeCodeCamp! Check it out here: https://freecodecamp.org/certification/certifieduser/foundational-c-sharp-with-microsoft'
'https://x.com/intent/post?text=I just earned the Foundational%20C%23%20with%20Microsoft certification @freeCodeCamp! Check it out here: https://freecodecamp.org/certification/certifieduser/foundational-c-sharp-with-microsoft'
);
const projectLinks = certLink.getByTestId('project-links');

View File

@@ -60,8 +60,8 @@ test.describe('Your Internet Presence', () => {
},
{
name: 'twitter',
url: 'https://twitter.com/certified-user',
label: 'Twitter',
url: 'https://x.com/certified-user',
label: 'X',
checkTestId: settingsPageElement.twitterCheckmark
},
{