You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			11 lines
		
	
	
		
			402 B
		
	
	
	
		
			TypeScript
		
	
			
		
		
	
	
			11 lines
		
	
	
		
			402 B
		
	
	
	
		
			TypeScript
		
	
import { _electron, Page } from '@playwright/test';
 | 
						|
import { clickOnTestIdWithText, typeIntoInput } from '../utils';
 | 
						|
 | 
						|
export async function logIn(window: Page, recoveryPhrase: string) {
 | 
						|
  await clickOnTestIdWithText(window, 'link-device');
 | 
						|
  await typeIntoInput(window, 'recovery-phrase-input', recoveryPhrase);
 | 
						|
  await clickOnTestIdWithText(window, 'continue-session-button');
 | 
						|
 | 
						|
  return { window };
 | 
						|
}
 |