Browse Source

fix: change import User Zero function

- Use the ./account route to mimic real-world use
pull/190/head
Jose Olarte III 6 days ago
parent
commit
e67c97821a
  1. 4
      test-playwright/00-noid-tests.spec.ts

4
test-playwright/00-noid-tests.spec.ts

@ -69,7 +69,7 @@
*/
import { test, expect } from '@playwright/test';
import { createContactName, generateNewEthrUser, importUser } from './testUtils';
import { createContactName, generateNewEthrUser, importUser, importUserFromAccount } from './testUtils';
import { NOTIFY_CONTACT_INVALID_DID } from '../src/constants/notifications';
test('Check activity feed - check that server is running', async ({ page }) => {
@ -186,7 +186,7 @@ test('Check invalid DID shows error and redirects', async ({ page }) => {
test('Check User 0 can register a random person', async ({ page }) => {
const newDid = await generateNewEthrUser(page); // generate a new user
await importUser(page, "00"); // switch to User Zero
await importUserFromAccount(page, "00"); // switch to User Zero
// As User Zero, add the new user as a contact
await page.goto('./contacts');

Loading…
Cancel
Save