Bowen Sanders
90f4e47326
[FLASK] More Snaps E2E Optimization and Delay Reductions ( #18245 )
...
* bip32 delay reduction
* asserts changed to waitFors in 32/44
* scrollTo change
* replaced delay for firefox flake
* more reduced delays
* more delay reductions and changes
* raise paralellism to 4 for snaps tests
* additional delay changes
* fixed update code
* removed comment
* removed another comment
2023-04-06 10:57:11 -04:00
Guillaume Roux
d6f58bceb0
[FLASK] snaps-monorepo@0.31.0
( #18142 )
...
* allow SnapController to call `ApprovalController:updateRequestState` action
* combine popups
* show only autorship pill on result
* lint
* update `snaps-monorepo@0.31.0` and regen policies
* dedupe deps and fix fencing
* fix update button text
* fix fencing
* Update a bunch of e2es
* address requested changes
* update policy
* bump key-tree
* fix lint
* Update RPC E2E
* fix locales
* Remove wrong instance of window handle polling
* design changes and address pr comments
* remove unused imports
* fix lint
* fix fencing
* remove unused locales
* fence things
* re-add redirection
* bump test-snaps version
* Fix update e2e
* fix redirecting logic and address requested changes
* force update metamask state on approved
* move force update
---------
Co-authored-by: Frederik Bolding <frederik.bolding@gmail.com>
2023-03-17 12:00:05 +01:00
Bowen Sanders
7a421e05c3
[FLASK] Snaps e2e test stability improvements ( #18090 )
...
* waitForSelector and pasteIntoField used now
2023-03-15 10:03:01 -07:00
Peter
5c30fee59a
remove extraneous arg from clickElement ( #18050 )
2023-03-08 13:17:56 +00:00
Bowen Sanders
f2da79f563
[E2E] Fixes to try to deflake Snaps E2E tests ( #17123 )
...
* added delays in several places
* fix to update test
2023-01-10 11:11:15 -08:00
Bowen Sanders
720c7e7d16
initial deflakery ( #16894 )
2022-12-12 12:14:23 -08:00
Frederik Bolding
8a529bca47
[FLASK] Improve Snaps E2E stability ( #16597 )
...
* Improve Snaps E2E stability
* Simplify
* Fix lint
2022-11-21 14:38:05 +01:00
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.
2022-11-16 13:47:51 -08:00
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
2022-10-28 09:42:12 +01:00
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>
2022-10-14 14:33:36 +02:00
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
2022-09-23 12:39:54 +02:00
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
2022-09-20 14:46:25 +02:00
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>
2022-08-26 13:48:53 +02:00
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
2022-08-18 17:07:34 +02:00
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>
2022-08-03 12:02:44 -04:00
Guillaume Roux
9ce4a8f987
[FLASK] Fix key management permission copy ( #14849 )
2022-08-02 11:29:40 +02:00
PeterYinusa
9ae909d6a7
[E2E] Install Firefox extension from dist folder ( #15255 )
...
* update webdriver
* install extension from dist folder
* remove redundant code
2022-07-18 09:22:23 +01:00
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
2022-07-06 15:22:21 -07:00
Erik Marks
ca6835a86d
Use enum for test snaps website URL ( #14727 )
...
* Use enum for test snaps website
* Fix confirm snap test
2022-05-17 10:39:55 +02:00
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)
2022-04-27 11:21:40 -07:00