mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat: convert "show certification" tests to Playwright (#54899)
This commit is contained in:
@@ -20,4 +20,8 @@ test.describe('Show certification else', () => {
|
||||
await expect(page.getByTestId('linkedin-share-btn')).toBeHidden();
|
||||
await expect(page.getByTestId('twitter-share-btn')).toBeHidden();
|
||||
});
|
||||
|
||||
test('while viewing someone else, it should not show the donation section', async () => {
|
||||
await expect(page.getByRole('button', { name: 'Donate' })).toBeHidden();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user