fix: sync the db during before hook (#58267)

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
Oliver Eyton-Williams
2025-01-21 20:22:44 +01:00
committed by GitHub
parent 60165eed3a
commit 9b8c1f0cf5
+3 -1
View File
@@ -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,