mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: sync the db during before hook (#58267)
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
60165eed3a
commit
9b8c1f0cf5
@@ -274,7 +274,9 @@ test.describe('Donation modal appearance logic - New user', () => {
|
||||
|
||||
test.describe('Donation modal appearance logic - Certified user claiming a new block', () => {
|
||||
test.use({ storageState: 'playwright/.auth/certified-user.json' });
|
||||
execSync('node ./tools/scripts/seed/seed-demo-user --almost-certified-user');
|
||||
test.beforeEach(() =>
|
||||
execSync('node ./tools/scripts/seed/seed-demo-user --almost-certified-user')
|
||||
);
|
||||
|
||||
test('should appear if the user has just completed a new block, and should not appear if the user re-submits the projects of the block', async ({
|
||||
page,
|
||||
|
||||
Reference in New Issue
Block a user