message: add setup and importWallet method
diff: @@ -5,15 +5,16 @@ const timeOut = (ms: number) => new Promise(resolve => setTimeout(resolve, ms));
  const SEED = ['express', 'pretty', 'dinner', 'first', 'someone', 'reform', 'occur', 'food', 'dice', 'very', 'thumb', 'unfold']
  const btcAddress = 'n1AqFLX43FFK5dyzXkxjt6AXKLZ1TCniWw'
  -jest.setTimeout(50 * 1000)
  -
  -describe('Restpore wallet', () => {
  - it('from 12 words and check recovery BTC address', async () => {
  +const setup = async () => {
  const browser = await puppeteer.launch();
  const page = await browser.newPage();
  await page.setViewport({ width: 1920, height: 1080 });
  await page.goto('http://localhost:9001/')
  + return { browser, page }
  +}
  +
  +const importWallet = async (page: puppeteer.Page, SEED: string[]) => {
  await page.click('#preloaderRestoreBtn')
  await page.waitForSelector('.react-tags__search-input')
  @@ -34,13 +35,22 @@ describe('Restpore wallet', () => {
  await page.click('#walletRecoveryButton')
  await page.click('#finishWalletRecoveryButton')
  +}
  +
  +jest.setTimeout(50 * 1000)
  +
  +describe('Restpore wallet', () => {
  + it('from 12 words and check recovered BTC address', async () => {
  + const { browser, page } = await setup()
  +
  + await importWallet(page, SEED)
  await page.waitForSelector('#btcAddress')
  const recoveredBtcAddress = await page.$eval('#btcAddress', el => el.textContent)
  await page.screenshot({
  - path: `tests//e2e/screenshots/restore_${new Date().getTime().toString()}.jpg`,
  + path: `tests//e2e/screenshots/restore_${new Date().getTime()}.jpg`,
  type: 'jpeg'
  });
  