1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/test/e2e
Mark Stacey 5734f7210c
Add benchmark script (#7869)
The script `benchmark.js` will collect page load metrics from the
extension, and print them to a file or the console. A method for
collecting metrics was added to the web driver to help with this.

This script will calculate the min, max, average, and standard
deviation for four metrics: 'firstPaint', 'domContentLoaded', 'load',
and 'domInteractive'. The variation between samples is sometimes high,
with the results varying between samples if only 3 were taken. However,
all tests I've done locally with 5 samples have produced results within
one standard deviation of each other. The default number of samples has
been set to 10, which should be more than enough to produce consistent
results.

The benchmark can be run with the npm script `benchmark:chrome` or
`benchmark:firefox`, e.g. `yarn benchmark:chrome`.
2020-01-21 12:02:45 -04:00
..
contract-test Switch signature-request e2e tests to using ganache (#7859) 2020-01-17 18:16:21 -04:00
fixtures Allow exporting state during e2e tests (#7860) 2020-01-17 18:59:25 -04:00
mock-3box Migrate codebase to use ESM (#7730) 2020-01-09 00:04:58 -03:30
send-eth-with-private-key-test I5849 incremental account security (#6874) 2019-08-02 01:27:26 -02:30
tests Add withFixtures helper and simple-send test (#7862) 2020-01-20 14:50:25 -04:00
webdriver Add benchmark script (#7869) 2020-01-21 12:02:45 -04:00
address-book.spec.js Fix intermittent e2e test failure (#7873) 2020-01-21 11:31:56 -04:00
benchmark.js Add benchmark script (#7869) 2020-01-21 12:02:45 -04:00
ethereum-on.spec.js Wait until element is clickable before clicking in e2e tests (#7823) 2020-01-15 15:34:15 -04:00
fixture-server.js End-to-end test state fixtures (#7663) 2019-12-11 09:26:20 -08:00
from-import-ui.spec.js Wait until element is clickable before clicking in e2e tests (#7823) 2020-01-15 15:34:15 -04:00
ganache.js Use Ganache programmatically in e2e tests (#7664) 2019-12-09 10:40:43 -04:00
helpers.js Add withFixtures helper and simple-send test (#7862) 2020-01-20 14:50:25 -04:00
incremental-security.spec.js Fix intermittent e2e test failure (#7873) 2020-01-21 11:31:56 -04:00
metamask-responsive-ui.spec.js Fix intermittent e2e test failure (#7873) 2020-01-21 11:31:56 -04:00
metamask-ui.spec.js Fix intermittent e2e test failure (#7873) 2020-01-21 11:31:56 -04:00
permissions.spec.js Wait until element is clickable before clicking in e2e tests (#7823) 2020-01-15 15:34:15 -04:00
run-all.sh Add withFixtures helper and simple-send test (#7862) 2020-01-20 14:50:25 -04:00
run-web3.sh Add support for one-click onboarding (#7017) 2019-11-22 13:03:51 -04:00
send-edit.spec.js Wait until element is clickable before clicking in e2e tests (#7823) 2020-01-15 15:34:15 -04:00
signature-request.spec.js Wait until element is clickable before clicking in e2e tests (#7823) 2020-01-15 15:34:15 -04:00
threebox.spec.js Wait until element is clickable before clicking in e2e tests (#7823) 2020-01-15 15:34:15 -04:00
web3.spec.js Wait until element is clickable before clicking in e2e tests (#7823) 2020-01-15 15:34:15 -04:00