fix(client): show project previews (#58761)

This commit is contained in:
Oliver Eyton-Williams
2025-02-14 05:25:30 +01:00
committed by GitHub
parent 552791879c
commit 0c754bf690
14 changed files with 166 additions and 44 deletions
+6
View File
@@ -1,3 +1,5 @@
import { execSync } from 'node:child_process';
import { test, expect } from '@playwright/test';
import translations from '../client/i18n/locales/english/translations.json';
import { authedRequest } from './utils/request';
@@ -6,6 +8,10 @@ import { allowTrailingSlash } from './utils/url';
const nextChallengeURL =
'/learn/data-analysis-with-python/data-analysis-with-python-projects/demographic-data-analyzer';
test.beforeAll(() => {
execSync('node ./tools/scripts/seed/seed-demo-user --certified-user');
});
test.beforeEach(async ({ page }) => {
await page.goto(
'/learn/data-analysis-with-python/data-analysis-with-python-projects/mean-variance-standard-deviation-calculator'