Commit Graph

5285 Commits

Author SHA1 Message Date
Max Schmitt
449c8a77dd
chore: disable source-map reference in JS for production builds (#7622) 2021-07-22 20:29:36 +02:00
Dmitry Gozman
8f1074c76e
docs(test-runner): initial API docs for test runner (#7732) 2021-07-22 11:01:18 -07:00
Max Schmitt
9e3ac1f3a2
fix(test-runner): warn users who invoke the test-runner with Jest (#7743) 2021-07-22 18:27:01 +02:00
Andrey Lushnikov
3c4ef9f11d
fix: do not assume basic tools on linux when intalling channels (#7793)
Fixes #7785
2021-07-22 07:58:01 -07:00
Max Schmitt
acdc531efc
chore: migrate connect/overCDP to options instead of params (#7606) 2021-07-22 16:55:23 +02:00
Pavel Feldman
e9d2ef0ebd
browser(webkit): speculative win fix for new settings (#7794) 2021-07-22 07:38:26 -07:00
Kumar Aditya
5701292a53
docs(python): added docs for pyinstaller (#7784)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-07-22 15:47:29 +02:00
Andrey Lushnikov
c1d6c4b25e
browser(winldd): attempt to fix dependency loading on windows (#7790)
References #7560
2021-07-22 06:39:14 -07:00
Anže Vodovnik
ff8bd0fef2
docs(dotnet): fix example, clarify test runners & frameworks position (#7739) 2021-07-22 10:30:49 +02:00
Pavel Feldman
c0f3b19f60
browser(webkit): fix compilation (#7782) 2021-07-21 21:30:03 -07:00
Pavel Feldman
3786cf8746
browser(webkit): implement more modernizr features (#7780) 2021-07-21 18:04:18 -07:00
Joel Einbinder
de5df934d4
browser(webkit): undo ios changes to frame.mm (#7774) 2021-07-21 19:47:31 -05:00
Daniel Kolesa
9929381a7a
feat(webkit): bump to 1517 (#7778) 2021-07-21 17:37:31 -07:00
Daniel Kolesa
99363ae28e
browser(webkit): roll to 07/21/21 (#7772)
3-way diff: b8114e12a0

test suites were ran and come out the same as pre-rebase
2021-07-21 09:35:50 -07:00
Joel Einbinder
483b7d6a0d
feat(test-runner): mark launch as experimental (#7757) 2021-07-21 09:51:27 -05:00
Andrey Lushnikov
af5eb9c2bd
docs: updated release notes for v1.13.0 (#7758) 2021-07-20 16:44:44 -07:00
Joel Einbinder
20ba7c3a96
feat(test-runner): use require.resolve for globalSetup and globalTeardown (#7752) 2021-07-20 15:13:40 -05:00
Joel Einbinder
051dc332a6
feat(test-runner): use require to resolve reporters (#7749) 2021-07-20 15:03:01 -05:00
Joel Einbinder
bdbf9c9dda
perf(test-runner): lazy require babel (#7750) 2021-07-20 13:24:29 -05:00
Joel Einbinder
a4901f91fd
chore: update package-lock.json (#7754) 2021-07-20 12:58:16 -05:00
Andrey Lushnikov
2fc281d449
docs: update release notes for v1.13 release (#7747) 2021-07-20 09:29:52 -07:00
Vildan Softic
b56e2b713a
docs(dotnet): fix code snippet typos (#7736) 2021-07-20 11:08:30 +02:00
Max Schmitt
c84c5c8c9b
fix(test-runner): do not list tests to stdout when JSON reporter is used (#7730) 2021-07-20 01:10:43 +02:00
Andrey Lushnikov
8eab2d0e5b
chore: cut v1.13.0 release (#7728) 2021-07-19 14:57:11 -07:00
Pavel Feldman
1ab41babb1
docs: fix the downloadsPath docs (#7726)
Closes #7707
2021-07-19 14:56:28 -07:00
Dmitry Gozman
2ac0c59156
feat(test-runner): rename Test to TestCase (#7725) 2021-07-19 14:54:18 -07:00
Joel Einbinder
56ada374df
feat(dragAndDrop): page.dragAndDrop (#6910) 2021-07-19 12:42:55 -05:00
Joel Einbinder
d72efbe181
feat(test-runner): smaller error message paths (#7384) 2021-07-19 12:20:24 -05:00
Joel Einbinder
a62aac3ff8
docs(dot-net): don't overpromise on test runners (#7720) 2021-07-19 12:06:00 -05:00
Joel Einbinder
0cf9cf0829
fix(test-runner): set expand: false for expect. (#7722) 2021-07-19 11:59:53 -05:00
Dmitry Gozman
642d6d4459
test: roll test-runner to 1.13.0-next-1626706866000 (#7719) 2021-07-19 09:10:34 -07:00
Max Schmitt
d5bb8a327b
test: fix CR proxy tests on Windows (#7675) 2021-07-19 17:50:14 +02:00
Max Schmitt
d03a54da64
browser(firefox): revert devtools flag CLI command (#7717)
revert 786f6c4d31
2021-07-19 17:01:06 +02:00
Andrey Lushnikov
b2c5bfb72c
chore: nicer message to install dependencies (#7715)
If we know how to install all dependencies, then we should recommend
a Playwright CLI one-liner to install dependencies.

References #7682
2021-07-19 03:54:42 -07:00
Max Schmitt
a8661330de
docs(browser): make Chromium tracing vs. PW tracing more clear (#7713)
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2021-07-19 12:43:57 +02:00
Max Schmitt
4617bc4baf
docs(test-runner): add example with Docker to generate snapshots (#7712) 2021-07-19 12:25:27 +02:00
Max Schmitt
2ff25522cc
test: rework port forwarding server tests to launch server out of process (#7693) 2021-07-19 07:53:12 +02:00
Dmitry Gozman
66ea613c4d
feat(test-runner): small changes to Reporter api (#7709)
- `TestResult.startTime`
- `Suite.location` is optional now
- `Test.status()` renamed to `Test.outcome()` to differentiate against a
  `Test.expectedStatus` and `TestResult.status` of the different type.
2021-07-18 17:40:59 -07:00
klhex
e5c7941b49
docs(test-runner): fix link to test runner CLI docs (#7695) 2021-07-18 12:07:45 +02:00
Dmitry Gozman
602d815981
fix(test-runner): list mode should print tests (#7665)
It was not doing anything before.
2021-07-16 22:34:55 -07:00
Dmitry Gozman
167db03f05
feat(test-runner): export reporter api as @playwright/test/reporter (#7692) 2021-07-16 21:15:03 -07:00
Andrey Lushnikov
3c6b058e2b
chore: nicer message to ask for browser installation (#7691)
References #7682
2021-07-16 17:00:27 -07:00
Dmitry Gozman
18be5f5319
feat(test-runner): suite per project (#7688)
This makes our suite structure the following:
```
Root(title='') > Project(title=projectName) > File(title=relativeFilePath) > ...suites > test
```

Removed `fullTitle()` because it is not used directly by anyone.
Default reporters now report each test as
```
[project-name] › relative/file/path.spec.ts:42:42 › suite subsuite test title
```
2021-07-16 15:23:50 -07:00
Pavel Feldman
bde764085c
feat(test-runner): introduce attachments (#7685) 2021-07-16 13:48:37 -07:00
Dmitry Gozman
31572fc372
chore(test-runner): misc changes to reporter api (#7664)
- `Location` with `file`, `line` and `column`.
- `fullTitle` does not include project name.
- `titlePath` method.
- All methods of `Reporter` are optional.
- Removed `Test.skipped` property that is superseeded by `Test.status()`.
- Replaced `Suite.findTest()` with `Suite.allTests()`.
- Removed `Test.suite` property.
2021-07-16 12:40:33 -07:00
Andrey Lushnikov
09764a4423
chore: move msedge-dev workflow to secondary tests (#7681) 2021-07-16 21:40:13 +02:00
Joel Einbinder
2f07846c9a
fix(webkit): proper value for event.buttons (#7680) 2021-07-16 13:06:00 -05:00
Andrey Lushnikov
865aff8c9d
feat: support msedge-dev installation (#7679)
Fixes #7677
2021-07-16 09:56:51 -07:00
Andrey Lushnikov
272759f296
feat(chromium): roll Chromium to another new version (#7676) 2021-07-16 09:03:42 -07:00
divdavem
87b0cc530c
feat(cli): add --ignore-https-errors option (#7671) 2021-07-16 07:33:20 -07:00