Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

feat: speedup initializing MetaMask #238

Merged
merged 51 commits into from
Jan 20, 2023
Merged

Commits on Sep 22, 2022

  1. Configuration menu
    Copy the full SHA
    4de874a View commit details
    Browse the repository at this point in the history
  2. fix!: casing of MetaMask (#132)

    Fix casing of MetaMask
    
    Co-authored-by: Marin Petrunic <marin.petrunic@gmail.com>
    Mrtenz and mpetrunic committed Sep 22, 2022
    Configuration menu
    Copy the full SHA
    00f9857 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2022

  1. Configuration menu
    Copy the full SHA
    d18efa4 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. fix: selector issues, useless timeouts, reorganise tests (#145)

    * fix: update ganache, fix test depending on goerli
    
    * fix: bugs in selectors, less timeout, reorganise structure
    
    * update yarn
    
    * chore: improve root hooks
    
    * try to increase timeout
    
    * better ci
    
    * add screenshot uploading to ci
    
    * fix screenshot name
    
    * run screenshot on failed test
    
    * fix lint
    
    * change viewport
    
    * fix tests
    
    * fix#123124
    
    * fix tests
    
    * whyyyyyyyyyyyyyyyyyyyyyyyyy
    
    * please
    
    * fix testing dapp
    
    * dunno anymore
    
    * fix lint
    
    * fix typo in selector
    
    * update dapp loading
    
    * refactor script fetching for `index.html`
    
    * fix dam sing test
    
    Co-authored-by: Bernard <bero4net@gmail.com>
    mpetrunic and BeroBurny committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    dc9b5fe View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. fix: import token flaky (#149)

    fix: import-token flakyness
    mpetrunic committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    c90db41 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. feat!: update recommended metamask version (#151)

    * feat!: update recommended metamask version
    
    * implement screenshot helper
    
    * implement hide portfolio popup action
    
    * implement close what's new modal action
    
    * remove obsolete test
    
    * fix dappeteer methods broken on update
    
    * chore: fix lint
    
    * update metamask version to `10.20.0`
    
    * fix addToken.ts
    
    * address issues
    
    * fix lint
    
    * fix tests
    
    * fix #4
    
    * fix non visible buttons
    
    Co-authored-by: Bernard Stojanović <bero4net@gmail.com>
    mpetrunic and BeroBurny committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    0c5dc17 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. chore: change eslint config to chainsafe shared (#152)

    * chore: change eslint to chainsafe config
    
    * address PR comments
    
    * address PR comments
    
    * fix tests
    mpetrunic committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    9ab9b4c View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2022

  1. feat: add support for installing metamask flask (#153)

    feat: add support for installing metamask flaask
    mpetrunic committed Oct 10, 2022
    Configuration menu
    Copy the full SHA
    07775a7 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2022

  1. feat: ability to install snap (#154)

    * feat: add support for installing metamask flaask
    
    * feat: ability to install snaps
    
    * fi lint
    
    * fix starting a snap
    
    * fix snap install
    
    Co-authored-by: Bernard <bero4net@gmail.com>
    mpetrunic and BeroBurny committed Oct 12, 2022
    Configuration menu
    Copy the full SHA
    564aa4b View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. fix: snap install faster, run all tests (#163)

    * fix: run all tests, faster check for installed snap
    
    * fix condition bug
    mpetrunic committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    d1a3ec4 View commit details
    Browse the repository at this point in the history
  2. feat: Add invokeSnap method; update installSnap method parameter; (#159)

    * Add invokeSnap method; update installSnap method parameter;
    
    * adjust invokeSnap method after review
    
    * Fix params type in invokeSnap method
    
    * update invokeSnap Return type
    
    * update invokeSnap with generic params
    
    * update test expectation
    
    * fix lint
    Lykhoyda committed Oct 26, 2022
    Configuration menu
    Copy the full SHA
    e7d8435 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. feat: add ability to accept dialogs (#138) (#164)

    * feat:add ability to accept dialogs (#138)
    
    * fix lint
    
    * move installSnap, invokeSnap to dappeteer api; add bringToFront call to dialog methods
    
    * pair improvements
    
    * fix lint
    
    * add methods snap
    
    * exclude flask tests from global
    
    * exclude flask tests from global
    
    Co-authored-by: Bernard <bero4net@gmail.com>
    Lykhoyda and BeroBurny committed Nov 2, 2022
    Configuration menu
    Copy the full SHA
    2661323 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. feat!: add playwright support (#167)

    * feat!: add playwright support
    
    * fix: lint
    
    * fix: ci matrix
    
    * don't run snap tests on non flask
    
    * address PR comments
    mpetrunic committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    c25c66f View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. feat: added notification snap to methods-snap #137 (#166)

    * pair improvements
    
    * fix lint
    
    * feat: add notify Snap method
    
    * Added getAllNotifications method
    
    * go back after getting all notifications
    
    * remove timeout
    
    * fix post merge errors
    
    Co-authored-by: Bernard <bero4net@gmail.com>
    Co-authored-by: Marin Petrunic <marin.petrunic@gmail.com>
    3 people committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    4804b88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    708c87b View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. feat: method to bootstrap snap env (#180)

    * feat: install snap from local files
    
    * fix: installing and invokeing snaps
    
    * disable addToken test
    
    * disable fail fast
    
    * replace binance smart chain
    mpetrunic committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    ba9745f View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. chore: node engine requirements (#184)

    set engines compatibility for 16 and above
    BeroBurny committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    b01e8d2 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Configuration menu
    Copy the full SHA
    d9e4a4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a4c2031 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2022

  1. feat!: replace outdated methods (#189)

    * feat!: replaced addTokenMethod
    
    * feat: remove add network method
    mpetrunic committed Nov 22, 2022
    Configuration menu
    Copy the full SHA
    4171ea4 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2022

  1. chore: Ci enhancement (#193)

    * cache yarn and have lint and build as separate steps
    
    * add back yarn.lock
    
    * add jobs
    
    * fix name
    Tbaut committed Nov 23, 2022
    Configuration menu
    Copy the full SHA
    e382c4c View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2022

  1. feat: allow signing typed data (#191)

    * add test to sign typed data
    
    * add a check to see if the sign button is actually disabled
    
    * clean up
    
    * fix and clean
    
    * remove flackyness
    
    * lint
    
    * fix playwright
    
    * add hidden option for pupeteer types waitForSelector
    
    * remove reload between tests
    Tbaut committed Nov 24, 2022
    Configuration menu
    Copy the full SHA
    d63f9e4 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. fix: fix prompt clicking flakiness, fix multiple snap key permissions (

    …#194)
    
    * add retries when confirming prompts with lower timeout
    
    * better snap error handling, ability to accept multiple key permissions
    
    * bail on first fail
    
    * add context to screenshots
    
    * remove various random timeouts, add wait for overlay, more retrys
    
    * fix lint
    
    * increase timeout for loading network and token details
    
    * address PR comments
    
    * increase timeout
    
    * add retry to profile dropdown
    mpetrunic committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    d9db933 View commit details
    Browse the repository at this point in the history
  2. feat: snap notifications 137 (#187)

    * chore: node engine requirements (#184) (#186)
    
    set engines compatibility for 16 and above
    
    Co-authored-by: Bernard Stojanović <bero4net@gmail.com>
    
    * pair improvements
    
    * fix lint
    
    * feat: add notify Snap method
    
    * go back after getting all notifications
    
    * remove timeout
    
    * wip
    
    * Add notification observe method
    
    * update test
    
    * remove unused code
    
    * wip notifiction observer
    
    * wip observer based notifications
    
    * wip observer based notifications
    
    * remove unused dependency
    
    * cleanup
    
    * fixes after merge
    
    * revert method names
    
    * clean waitForNotification method
    
    * emitter solution - FP
    
    * emitter solution - ClassBased
    
    * Cleanup class based emitter
    
    * fix lint
    
    * fixes after merge
    
    * remove p-event library
    
    * remove eslint comment
    
    * update test configuration
    
    * return NotificationList from waitForNotification
    
    * add getNotificationEmitter method
    
    * remove back button
    
    Co-authored-by: Marin Petrunić <mpetrunic@users.noreply.github.com>
    Co-authored-by: Bernard Stojanović <bero4net@gmail.com>
    Co-authored-by: Marin Petrunic <marin.petrunic@gmail.com>
    4 people committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    10c116e View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. chore: Deprecate button clicks for tests (#195)

    * sharedConst and signature check
    
    * without sharedConst :)
    
    * request accounts
    
    * request accounts
    
    * long typed data
    
    * short typed data
    
    * add token reject/accept
    
    * add network accept/reject
    
    * actually verify the lock/unlock
    
    * contract interactions
    
    * address comment
    
    * web3-utils 1.3.4
    
    * addToken and addNetwork use boolean
    
    * remove useless wait
    Tbaut committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    ef70dae View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2022

  1. chore: Update documentation and Readme (#202)

    * docs
    
    * change to metaMask accross the board and use bootstrap in our test
    
    * MetaMMMMMMask
    
    * snaps methods in API.md
    
    * snaps usage in Readme.md
    
    * Update README.md
    
    Co-authored-by: Marin Petrunić <mpetrunic@users.noreply.github.com>
    
    * address comment
    
    * add forgotten menu item for initSnapEnv
    
    * removing jsdoc
    
    Co-authored-by: Marin Petrunić <mpetrunic@users.noreply.github.com>
    Tbaut and mpetrunic committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    3ed2f18 View commit details
    Browse the repository at this point in the history
  2. chore: Remove local server for dapp (#203)

    * docs
    
    * change to metaMask accross the board and use bootstrap in our test
    
    * MetaMMMMMMask
    
    * snaps methods in API.md
    
    * snaps usage in Readme.md
    
    * init
    
    * lint
    
    * add dev deps for ganache/console.log to make build pass
    
    * Update README.md
    
    Co-authored-by: Marin Petrunić <mpetrunic@users.noreply.github.com>
    
    * address comment
    
    * add forgotten menu item for initSnapEnv
    
    * removing jsdoc
    
    Co-authored-by: Marin Petrunić <mpetrunic@users.noreply.github.com>
    Tbaut and mpetrunic committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    902b035 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2022

  1. Configuration menu
    Copy the full SHA
    31ca258 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac43675 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2022

  1. Configuration menu
    Copy the full SHA
    08deead View commit details
    Browse the repository at this point in the history
  2. implement tests

    BeroBurny committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    d82f84f View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. Configuration menu
    Copy the full SHA
    05f4ae3 View commit details
    Browse the repository at this point in the history
  2. fix flask

    BeroBurny committed Dec 9, 2022
    Configuration menu
    Copy the full SHA
    7806714 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2023

  1. Configuration menu
    Copy the full SHA
    c75b302 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into beroburny/speedup-init

    # Conflicts:
    #	.github/workflows/main.yml
    #	README.md
    #	docs/API.md
    #	package.json
    #	src/browser.ts
    #	src/index.ts
    #	src/metamask/approve.ts
    #	src/metamask/unlock.ts
    #	src/playwright/browser.ts
    #	src/puppeteer/browser.ts
    #	src/setup/index.ts
    #	src/setup/launch.ts
    #	src/setup/playwright.ts
    #	src/setup/puppeteer.ts
    #	src/setup/setupMetaMask.ts
    #	src/snap/acceptDialog.ts
    #	src/snap/install.ts
    #	src/snap/rejectDialog.ts
    #	src/snap/utils.ts
    #	src/types.ts
    #	test/basic.spec.ts
    #	test/constant.ts
    #	test/contract.spec.ts
    #	test/contract/contractInfo.ts
    #	test/deploy.ts
    #	test/flask/snaps.spec.ts
    #	tsconfig.json
    #	yarn.lock
    BeroBurny committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    7f7ea85 View commit details
    Browse the repository at this point in the history
  3. small fixes

    BeroBurny committed Jan 4, 2023
    Configuration menu
    Copy the full SHA
    03df940 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. improve userData testing

    BeroBurny committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    6a814ab View commit details
    Browse the repository at this point in the history
  2. fix jest config

    BeroBurny committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    76758d7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    baad180 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    daa7223 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2023

  1. improve documentation

    BeroBurny committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    0a17923 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into beroburny/speedup-init

    # Conflicts:
    #	src/setup/playwright.ts
    #	src/setup/puppeteer.ts
    #	src/types.ts
    BeroBurny committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    e662a60 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2023

  1. Configuration menu
    Copy the full SHA
    8072c86 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9fba7d2 View commit details
    Browse the repository at this point in the history
  3. improve ci

    BeroBurny committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    ce421ef View commit details
    Browse the repository at this point in the history
  4. fix yml

    BeroBurny committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    51e4498 View commit details
    Browse the repository at this point in the history
  5. fix ci

    BeroBurny committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    63651eb View commit details
    Browse the repository at this point in the history
  6. improve ci

    BeroBurny committed Jan 17, 2023
    Configuration menu
    Copy the full SHA
    0acc1be View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2023

  1. Merge branch 'master' into beroburny/speedup-init

    # Conflicts:
    #	.github/workflows/main.yml
    BeroBurny committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    61bc018 View commit details
    Browse the repository at this point in the history
  2. fix export

    BeroBurny committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    87caf77 View commit details
    Browse the repository at this point in the history
  3. address comments

    BeroBurny committed Jan 19, 2023
    Configuration menu
    Copy the full SHA
    30f7e66 View commit details
    Browse the repository at this point in the history