fix image server references for tests (2 tests failing: missing function & looking for registration prompt for unregistered user)

This commit is contained in:
2025-02-16 09:11:28 -07:00
parent a66093028e
commit c9c3cacfbd
17 changed files with 137 additions and 106 deletions

View File

@@ -50,6 +50,14 @@ import path from 'path';
import { test, expect } from '@playwright/test';
import { importUser } from './testUtils';
/**
* Note: by default, this test uses the test image API server.
*
* If you want to use your own image API server, you can set the
* VITE_DEFAULT_IMAGE_API_SERVER environment variable to your server's URL
* in the playwright.config-local.ts file.
*
*/
test('Record item given from image-share', async ({ page }) => {
let randomString = Math.random().toString(36).substring(2, 8);