playwright/utils
Andrey Lushnikov 1605cb453c
testrunner: make environment a simple class (#2769)
This patch:
- makes environment a simple class with optional methods `beforeEach`, `afterEach`, `beforeAll`, `afterAll`, `globalSetup` and `globalTeardown`
- removes capability to have multiple hooks of the same name inside suite
- removes default environment for test. (`dit` now adds a `TraceTestEnvironment` to the test)
- extracts all environments that we use in our tests in `//test/environments.js`

Downsides:
- we no longer know hook locations for the environments. This, however, should not be a big deal since stack traces (if any) will still point into it.
- this also regresses hook locations for suites for simplicity. We can get them back, but it shouldn't be pressing since we now have only one hook of each kind in every suite.
2020-06-30 16:51:03 -07:00
..
doclint feat(proxy): allow specifying proxy (#2485) 2020-06-05 13:50:15 -07:00
flakiness-dashboard doc: fix typos (#1284) 2020-03-07 08:37:47 -08:00
generate_types feat(types): autocomplete for default devices (#2198) 2020-06-18 12:28:20 -07:00
protocol-types-generator feat(webkit): roll WebKit to 1246 (#2400) 2020-05-28 22:35:01 -07:00
testrunner testrunner: make environment a simple class (#2769) 2020-06-30 16:51:03 -07:00
testserver docs: some syntax fixes (#2116) 2020-05-07 12:33:35 -07:00
check_availability.js chore: remove uncompiled download-browser (#2018) 2020-04-28 17:06:01 -07:00
draft_release_notes.sh chore: add script to generate release notes (#2099) 2020-05-04 22:28:09 -07:00
ESTreeWalker.js Initial commit 2019-11-19 10:58:15 -08:00
list_closed_issues.sh chore: add script to fetch closed bugs since git commit (#2066) 2020-04-30 17:57:45 -07:00
print_versions.js chore: rename root index-for-dev.js into index.js (#2337) 2020-05-23 00:03:57 -07:00
publish_all_packages.sh devops: enable canary publishing (#2335) 2020-05-21 16:56:57 -07:00
runWebpack.js chore: form the debug script for authoring hints / helpers (#2551) 2020-06-11 18:18:33 -07:00
update_version.js chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00