From a2164d8791d81a8a26df1c5efb373a6c17a15189 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 e32ea66..6d06d3c 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 ba9cc68..77dc3ff 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 2989c62..5f7cc92 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