Frederik Bolding
8a529bca47
[FLASK] Improve Snaps E2E stability ( #16597 )
...
* Improve Snaps E2E stability
* Simplify
* Fix lint
2 years ago
Bowen Sanders
327272f71e
[FLASK] Update e2e tests for new react test-snaps page ( #16324 )
...
* Creates updated e2e tests compatible with the new react based test-snaps page.
2 years ago
Mark Stacey
ace7b0cda9
Revert "Revert "Merge pull request #16353 from MetaMask/Version-v10.22.0""
...
This reverts commit d91ce9c4b5
.
2 years ago
Mark Stacey
d91ce9c4b5
Revert "Merge pull request #16353 from MetaMask/Version-v10.22.0"
...
This reverts commit 308033edbf
, reversing
changes made to b8d71d6d1d
.
2 years ago
Peter Yinusa
0b4532ec1b
E2e test fixtures ( #16061 )
...
* remove state.json files
* move file
* Update Readme
* Create fixture builder
* load test fixture
* remove redundant method
* update snap tests
* update stats tests
* update extension tests
* update extension tests
* Update fixture data
* snap test dapp connection
* Update fixture data
* add onboarding fixture
* use onboarding fixture
* reuse import account vault
* remove unnecessary use of class
* use fixture builder in new tests
* switch to function
* update default fixture
* update default fixture
* update test
* update 1559 test fixttures
* update 1559 test fixtures
* update 1559 test fixtures
* dismiss 3box whats new
* remove redundant code
* move docs
* remove unused code
* token detection
* use default timeout
* remove redundant code
* Update fixture builder
hide `Protect your funds` dialog
remove browser environment
remove default network details
hide dismiss seed backup reminder
recursively merges fixture data
* add token to tokencontroller
* remove network details
* add missing identities to preference controller
* remove duplicate properties
* update bip-32 to use fixturebuilder
* alphabetise snap permissions
* update get snaps to use fixturebuilder
* Update test-snap-bip-32.spec.js
wait for window
* add popular network state
* update test
* lint
2 years ago
Bowen Sanders
1b4f1344b1
[FLASK] Create E2E Test for BIP-32 test-snap ( #16037 )
...
* new test and changed ui
* added bip32 test
* fixed linting and other errors
* changed description
* Bump test-snaps to latest and fix tests
* Fix error e2e
* Fix confirm e2e
* Remove balance
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2 years ago
Frederik Bolding
0eded43d4a
[FLASK] Fix an issue with installing and updating snaps with 0 permissions ( #15796 )
...
* Fix an issue with installing snaps with 0 permissions
* Fix some issues
* Fix lint
* Fix code fencing
* UI improvements for no permission use-case
* Fix redirect
* Delay BIP44 test slightly
* Add more delay
* Fix update UI
2 years ago
Frederik Bolding
4eb8e50800
[FLASK] `snaps-skunkworks@0.21.0` ( #15889 )
...
* snaps-skunkworks@0.21.0
* Update policy files
* Regen policies again
* Fix tests
* Simplify selector
* Fix flaky test
* Update iframe execution env
* Move snap install warnings to util
* Add basic copy for snap_getBip32PublicKey
* Update permission icon
* Update E2Es
* Fix lint
* Fix locale strings
2 years ago
Frederik Bolding
d054175b2e
[FLASK] Fix an issue with installing and updating snaps with 0 permissions ( #15796 )
...
* Fix an issue with installing snaps with 0 permissions
* Fix some issues
* Fix lint
* Fix code fencing
* UI improvements for no permission use-case
* Fix redirect
* Delay BIP44 test slightly
* Add more delay
* Fix update UI
2 years ago
Frederik Bolding
7fc418a96d
[FLASK] `snaps-skunkworks@0.20.0` ( #15706 )
...
* snaps-skunkworks@0.20.0
* Generate LavaMoat policy
* Fix some breaking changes
* Update iframe execution env
* Fix unit tests
* Implement snap_getBip44Entropy
* Regenerate LavaMoat policy
* Prefer ControllerMessenger over direct calls
* Fix not showing warning for BIP44 legacy permission and E2E test
Co-authored-by: Maarten Zuidhoorn <maarten@zuidhoorn.com>
2 years ago
Maarten Zuidhoorn
a52c6a4908
[FLASK] `snaps-skunkworks@0.19.0` ( #15619 )
...
* Bump snaps-skunkworks to 0.19.0
* Improve snap_getBip32Entropy UI
* Remove console.log
* Update LavaMoat policy
* Dedupe Yarn lock
* Update LavaMoat policy again
* Fix tests
* Update policies and e2e tests
* Update policy again
* Update iframe-execution-environment
* Dedupe yarn.lock
* Update snapshots
* Fix PR comments
* Add TODO
* Trigger CI
2 years ago
Hassan Malik
a7179a6b88
[FLASK] Add update snap UI ( #15143 )
...
* added snap-update folder
* addded update route, snap update component, updated permissions connect components
* added actions and selectors
* updated permissions selectors and updated permissions connect container to have update snap logic
* updated translations, added selector, updated request object
* updated translations, added update snap permission list component
* more fixes
* added CSS, redid some HTML
* lint fixes
* Add missing grantPermissions action
* updated button padding
* fixes
* removed prop type
* fix Update & Install wrapping
* made changes for forthcoming snap controller PR
* removed ununsed imports
* updated css
* re-added padding rule and removed unused translation messages
* addressed comments
* add subtext for new permissions
* lint fix
* removed unused translations
* some more changes
* fix e2e tests
* lint fix
* added in delay for e2e tests
* Revert "added in delay for e2e tests"
This reverts commit 095962a2c0c9de0b0b343d3134bb0787044dd8ce.
* fixed routing logic
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
Co-authored-by: Guillaume Roux <guillaumeroux123@gmail.com>
2 years ago
Guillaume Roux
9ce4a8f987
[FLASK] Fix key management permission copy ( #14849 )
2 years ago
PeterYinusa
9ae909d6a7
[E2E] Install Firefox extension from dist folder ( #15255 )
...
* update webdriver
* install extension from dist folder
* remove redundant code
2 years ago
Bowen Sanders
b486524c07
Snaps E2E Test Upgrades for the new test-snaps UI ( #14980 )
...
* fixed e2e tests for new UI
* fixed scrolling in tests to be bi-compatible
* updated enums to point to new UI version
2 years ago
Dan Miller
bc6c60cde1
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago
Dan Miller
24662963c5
Revert "Merge pull request #15063 from MetaMask/revert-v10.16.0"
...
This reverts commit 4d42715220
, reversing
changes made to f09ab88891
.
2 years ago
Mark Stacey
925a19fa4a
Revert "Merge pull request #14912 from MetaMask/Version-v10.16.0"
...
This reverts commit f09ab88891
, reversing
changes made to effc761e0e
.
This is being temporarily reverted to make it easier to release an
urgent fix for v10.15.1.
2 years ago
Erik Marks
ca6835a86d
Use enum for test snaps website URL ( #14727 )
...
* Use enum for test snaps website
* Fix confirm snap test
3 years ago
Bowen Sanders
c1e53b3330
Create new e2e test for bip-44 snap in test-snaps ( #14440 )
...
* created new test for bip-44 snap test
* added driver.Key.SPACE to allow sending spacebar
* made changes to final result check
* fixed expected pk result to proper value
* fixed to use npm package instead of local
* removed comment
* removed const delay - not needed (lint error)
3 years ago
Shane
059d5d0488
Fixed firefox Snaps + add initial end-to-end tests ( #13671 )
...
* Changed registryUrl for snaps only in firefox
Fixed getPlatform to only be imported into metamask-controller in flask
Removed snaps specific testrunner script and use run-all with a cli option
* Fixed flakey tests
* Removed unneeded await
* Added delay
* Fixed linting
3 years ago
Shane
1f55af3151
Fixed firefox Snaps + add initial end-to-end tests ( #13671 )
...
* Changed registryUrl for snaps only in firefox
Fixed getPlatform to only be imported into metamask-controller in flask
Removed snaps specific testrunner script and use run-all with a cli option
* Fixed flakey tests
* Removed unneeded await
* Added delay
* Fixed linting
3 years ago