session-desktop/ts/test/automation/utilities/linked_device.ts

11 lines
325 B
TypeScript

import { logIn } from '../setup/log_in';
import { openApp } from '../setup/open';
export async function linkedDevice(recoveryPhrase: string) {
const [windowB] = await openApp(1); // not using sessionTest here as we need to close and reopen one of the window
await logIn(windowB, recoveryPhrase);
return [windowB];
}