From 7033d259e1cf124e5af51c0e80467dafa19b2c7d Mon Sep 17 00:00:00 2001 From: Jose Olarte III Date: Tue, 6 Aug 2024 16:20:52 +0800 Subject: [PATCH] Playwright: added import --- test-playwright/20-create-project.spec.ts | 1 + test-playwright/30-record-gift.spec.ts | 1 + test-playwright/40-add-contact.spec.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/test-playwright/20-create-project.spec.ts b/test-playwright/20-create-project.spec.ts index e32ea662b..6d06d3c9e 100644 --- a/test-playwright/20-create-project.spec.ts +++ b/test-playwright/20-create-project.spec.ts @@ -1,4 +1,5 @@ import { test, expect } from '@playwright/test'; +import { importUser } from './testUtils'; test('Create new project, then search for it', async ({ page }) => { // Generate a random string of 16 characters diff --git a/test-playwright/30-record-gift.spec.ts b/test-playwright/30-record-gift.spec.ts index ba9cc6836..77dc3ff95 100644 --- a/test-playwright/30-record-gift.spec.ts +++ b/test-playwright/30-record-gift.spec.ts @@ -1,4 +1,5 @@ import { test, expect } from '@playwright/test'; +import { importUser } from './testUtils'; test('Record something given', async ({ page }) => { // Generate a random string of 16 characters diff --git a/test-playwright/40-add-contact.spec.ts b/test-playwright/40-add-contact.spec.ts index 2989c629a..5f7cc9283 100644 --- a/test-playwright/40-add-contact.spec.ts +++ b/test-playwright/40-add-contact.spec.ts @@ -1,4 +1,5 @@ import { test, expect } from '@playwright/test'; +import { importUser } from './testUtils'; test('Add contact', async ({ page }) => { // Import user 01