1
1
mirror of https://github.com/microsoft/playwright.git synced 2024-12-15 06:02:57 +03:00
Commit Graph

253 Commits

Author SHA1 Message Date
Yury Semikhatsky
8a7e4f9814
test: update wk win expectations for "should report raw headers" () 2022-01-21 21:49:28 -08:00
Max Schmitt
5876799228
test: response event for cached img elements () 2022-01-20 14:38:19 +01:00
campersau
4a9fc4d30b
test: fix visibility spelling in test () 2022-01-19 14:46:27 +01:00
Yury Semikhatsky
cfb86a74fa
fix(webkit): filechooer interception after process swap () 2022-01-14 17:33:07 -08:00
Dmitry Gozman
93a20ee419
test: add a failing test for filechooser after navigation () 2022-01-13 11:24:21 -08:00
Andrey Lushnikov
bd837b5863
test: enable autowaiting test on webkit ()
Fixes 
2022-01-12 01:52:58 -08:00
Dmitry Gozman
359d523ec3
fix(selectors): allow :scope with additional css () 2022-01-11 18:40:29 -08:00
github-actions[bot]
d31f13468a
feat(webkit): roll to r1592 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2022-01-10 05:02:07 -08:00
Pavel Feldman
dc07fa6da6
fix(locator.count): do not touch main workd when computing count () 2022-01-07 15:52:14 -08:00
Pavel Feldman
ee0ea82d46
test: improve click-during-navigation () 2022-01-07 12:12:24 -08:00
Pavel Feldman
f0269e7144
test: gardening () 2022-01-07 09:11:54 -08:00
Pavel Feldman
eaf2507ec1
test(webkit): add a failing test for () 2022-01-06 17:13:55 -08:00
Pavel Feldman
e1772f15b5
fix(click): don't fail on stale context while clicking () 2022-01-06 15:15:11 -08:00
Dmitry Gozman
8e75dbffaa
fix(errors): waitForEvent/Request/Response should point to the api call () 2022-01-06 14:47:52 -08:00
Yury Semikhatsky
2cc4dfc96f
test: set-cookie response header after route.fulfill () 2022-01-05 17:35:26 -08:00
Yury Semikhatsky
a96cb5aff5
test: mark test as failing until next wk roll () 2022-01-05 17:06:31 -08:00
Dmitry Gozman
be896848bb
fix(selectors): properly determine visibility of display:contents () 2022-01-05 16:54:15 -08:00
Diego Pino
1857a16381
browser(webkit): roll to 23/12/21 () 2022-01-05 15:56:22 -08:00
Pavel Feldman
913c9ab59f
test: add a failing test for () 2022-01-05 15:53:53 -08:00
Pavel Feldman
328f3e265e
test: add a failing canvas screenshot test () 2022-01-04 17:41:04 -08:00
Andrey Lushnikov
e8263b8f48
test: skip fill tests for android ()
This will drastically speedup our Android bots and free compute faster.
2022-01-03 15:02:31 -08:00
Pavel Feldman
38801a3b85
test: add a test for leading and trailing spaces () 2022-01-03 12:51:58 -08:00
Andrey Lushnikov
b6c2b32b53
test: introduce #smoke tests ()
This patch introduces 109 "#smoke" tests - a subset of tests that makes
sure that basic Playwright functionality works. This set is loosely
defined; feel free to add/remove tests to the set. The only goal is to
keep this set minimal & fast to run.

I tried to pick tests so that various parts of Playwright functionality
are exercised.
2021-12-29 18:51:28 -08:00
Andrey Lushnikov
1ee2d01f1c
test: unflake page-click.spec.ts test () 2021-12-21 17:31:13 -08:00
Yury Semikhatsky
921aa02ce4
feat(webkit): roll to r1588 () 2021-12-16 12:43:57 -08:00
Andrey Lushnikov
2957b7b013
feat(firefox-beta): roll to r1310 () 2021-12-15 17:33:09 -08:00
Yury Semikhatsky
230e0b7049
fix(wheel): throw on wheel access in mobile WebKit () 2021-12-15 11:57:28 -08:00
Pavel Feldman
04e82ce71c
feat(api): make withText an option () 2021-12-14 15:37:31 -08:00
Mateusz Burzyński
8b5e146b90
test(mouse): add a test for pointerdown event with custom button () 2021-12-12 10:01:45 -08:00
Max Schmitt
aca350d17c
test: fix failing accessibility tests in msedge-dev () 2021-12-08 15:21:09 -08:00
Yury Semikhatsky
3272af9f96
test: mark "fill color input" test as dailing on wk windows () 2021-12-08 09:39:14 -08:00
Max Schmitt
fdb633dc8b
fix: support regexp flags with locator.withText() () 2021-12-07 19:33:04 -08:00
Mateusz Burzyński
55fb53ef82
test(keyboard): add tests for click events being dispatched when Space/Enter gets pressed while focus is on a button () 2021-12-07 14:48:27 -08:00
Andrey Lushnikov
a89fe3ec5c
fix: support shadow DOM with Vue and React selectors ()
There were two issues:
- we did not find VDom roots inside shadow DOM
- we incorrectly relied on DOM's `contain` method to determine if
  VDom's rendered node belongs to requested scope.

Fixes 
2021-12-07 11:23:37 -08:00
Dmitry Gozman
ec74fa6a76
feat(fill): support color and range input types () 2021-12-06 15:43:10 -08:00
Dmitry Gozman
516360be5f
fix(waitForEvent): include timeout value in the timeout message () 2021-12-06 15:42:57 -08:00
Pavel Feldman
aef0444ff5
fix(focus): make sure strictness is respected () 2021-12-03 10:22:50 -08:00
Pavel Feldman
f583f1604c
feat(locator.withText): allow narrowing locators to those with text () 2021-12-03 09:27:06 -08:00
Pavel Feldman
5bde171657
fix(chromium): disable AutoExpandDetailsElement as it breaks the web () 2021-12-02 13:04:15 -08:00
Pavel Feldman
2ac9c08d0c
feat(inputValue): allow on labels, retarget () 2021-12-02 10:31:06 -08:00
Dmitry Gozman
15b92e3f62
test: disable flaky test on wk/ff ()
This is a Chromium-specific test, skip it on wk/ff.
2021-12-02 07:44:13 -08:00
github-actions[bot]
c9881a28f1
feat(firefox): roll to r1307 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-11-30 14:26:26 +01:00
Max Schmitt
90e7a45211
test: add test for time/timeLog/timeEnd formatting () 2021-11-29 17:18:20 -08:00
Max Schmitt
e6ef3e3680
test: add console.info/debug tests () 2021-11-29 22:20:46 +01:00
Joel Einbinder
0878548238
test(wheel): add test for scrolling while emulating mobile () 2021-11-23 02:59:32 -05:00
Joel Einbinder
6d3bb458f9
fix(firefox): round down mouse coordinates () 2021-11-23 02:55:32 -05:00
Joel Einbinder
d70e37de80
feat: locator.dragTo () 2021-11-22 20:27:26 +01:00
Joel Einbinder
06ab3c0fda
feat: consider fieldset and aria-disabled when checking if an element is enabled ()
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-11-22 20:25:06 +01:00
github-actions[bot]
e76edef3e2
feat(webkit): roll to r1579 ()
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-11-19 11:11:27 +01:00
Dmitry Gozman
d9f849fb14
feat(test runner): replace declare/define with "options" ()
1. Fixtures defined in test.extend() can now have `{ option: true }` configuration that makes them overridable in the config. Options support all other properties of fixtures - value/function, scope, auto.
```
const test = base.extend<MyOptions>({
  foo: ['default', { option: true }],
});
```

2. test.declare() and project.define are removed.

3. project.use applies overrides to default option values and nothing else. Any test.extend() and test.use() calls take priority over config options.

Required user changes: if someone used to define fixture options with test.extend(), overriding them in config will stop working. The solution is to add `{ option: true }`.

```
// Old code
export const test = base.extend<{ myOption: number, myFixture: number }>({
  myOption: 123,
  myFixture: ({ myOption }, use) => use(2 * myOption),
});

// New code
export const test = base.extend<{ myOption: number, myFixture: number }>({
  myOption: [123, { option: true }],
  myFixture: ({ myOption }, use) => use(2 * myOption),
});
```
2021-11-18 15:45:52 -08:00