const repeat = (password: string) => (): Promise<void> => type(wrapper.find('input[type="password"]').last(), password);