forked from trent_larson/crowd-funder-for-time-pwa
tweak tests for clarity
This commit is contained in:
@@ -33,6 +33,13 @@ export async function importUser(page: Page, id?: string): Promise<string> {
|
||||
return did;
|
||||
}
|
||||
|
||||
export async function importUserAndCloseOnboarding(page: Page, id?: string): Promise<string> {
|
||||
const did = await importUser(page, id);
|
||||
await page.goto('./');
|
||||
await page.getByTestId('closeOnboardingAndFinish').click();
|
||||
return did;
|
||||
}
|
||||
|
||||
// This is to switch to someone already in the identity table. It doesn't include registration.
|
||||
export async function switchToUser(page: Page, did: string): Promise<void> {
|
||||
// This is the direct approach but users have to tap on things so we'll do that instead.
|
||||
|
||||
Reference in New Issue
Block a user