mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(client): add job experience widget to profile (#63503)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com> Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com>
This commit is contained in:
+10
-2
@@ -157,12 +157,20 @@ test.describe('Settings - Certified User', () => {
|
||||
.locator('p')
|
||||
.filter({ hasText: translations.settings.labels['my-portfolio'] })
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page
|
||||
.getByRole('group', {
|
||||
name: translations.settings.labels['my-experience']
|
||||
})
|
||||
.locator('p')
|
||||
.filter({ hasText: translations.settings.labels['my-experience'] })
|
||||
).toBeVisible();
|
||||
await expect(
|
||||
page.getByText(settingsObject.private, { exact: true })
|
||||
).toHaveCount(10);
|
||||
).toHaveCount(11);
|
||||
await expect(
|
||||
page.getByText(settingsObject.public, { exact: true })
|
||||
).toHaveCount(10);
|
||||
).toHaveCount(11);
|
||||
const saveButton = page.getByRole('button', {
|
||||
name: translations.settings.headings.privacy
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user