mirror of
https://github.com/tompro/sattle.git
synced 2026-08-27 07:15:59 +00:00
test: playwright e2e setup with onboarding, navigation and receive specs
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { test as base, expect } from '@playwright/test';
|
||||
import { MintMocker } from './helpers/MintMocker';
|
||||
|
||||
export const test = base.extend<{ mint: MintMocker }>({
|
||||
mint: async ({ page }, use) => {
|
||||
const mint = new MintMocker(page);
|
||||
await use(mint);
|
||||
await page.unrouteAll({ behavior: 'wait' });
|
||||
},
|
||||
});
|
||||
|
||||
export { expect };
|
||||
Reference in New Issue
Block a user