Pavel Feldman
3c35d7b058
api(waitFor): click(waitFor) -> click(force) ( #1275 )
2020-03-06 16:24:21 -08:00
Pavel
342e79c5b4
test: mark some tests as skipped (3)
2020-03-02 15:13:15 -08:00
Pavel
2f98b5e26a
test: mark some tests as skipped (2)
2020-03-02 15:08:15 -08:00
Dmitry Gozman
1186998bd8
fix(click): wait for element to be displayed before scrolling into view ( #1182 )
...
Otherwise, we may get an error during scrollIntoViewIfNeeded protocol call.
2020-03-02 14:26:38 -08:00
Pavel Feldman
5bd6e4970b
test: it.skip skips and it.fail expects to fail now ( #1178 )
2020-03-02 13:47:08 -08:00
Dmitry Gozman
ba29470cc1
fix(api): rename relativePoint to offset, remove unused parameters from input ( #1092 )
2020-02-24 21:12:02 -08:00
Dmitry Gozman
1f8508d1ed
feat(waitFor): update various waitFor options to be a single boolean ( #1066 )
2020-02-22 09:16:28 -05:00
Andrey Lushnikov
88e310942b
test: fix test on Firefox Linux ( #1079 )
2020-02-21 13:21:45 -08:00
Andrey Lushnikov
f305d6594e
chore: remove focused test
2020-02-21 13:12:57 -08:00
Andrey Lushnikov
66362a5687
chore: update appveyour config
2020-02-21 13:09:36 -08:00
Andrey Lushnikov
05a1e1c641
test: remove newContext
and newPage
test helpers ( #1070 )
...
All tests should clean up their contexts themselves.
2020-02-20 15:15:48 -08:00
Dmitry Gozman
33824aa1d7
feat(click): waitForInteractable option, defaults to true ( #934 ) ( #1052 )
2020-02-19 09:34:57 -08:00
Dmitry Gozman
1805acd5d5
test: update animation click test ( #1053 )
2020-02-18 14:30:56 -08:00
Dmitry Gozman
dbb45d443a
Revert "feat(click): waitForInteractable option, defaults to true ( #934 )" ( #1013 )
...
Reason: new tests are flaky on all bots.
2020-02-14 13:05:23 -08:00
Dmitry Gozman
9413351d3f
feat(click): waitForInteractable option, defaults to true ( #934 )
2020-02-14 11:55:34 -08:00
Dmitry Gozman
1d84f38e5e
fix(input): ensure input works as expected with page scale ( #962 )
2020-02-12 16:13:21 -08:00
Dmitry Gozman
c69dccf7c1
feat(click): use browser-provided scrollIntoViewIfNeeded ( #893 )
2020-02-11 10:30:09 -08:00
Joel Einbinder
c03e8b7946
chore(tests): add types for tests ( #915 )
...
I enabled vscode autocomplete in our test files. Typechecking had too many errors to enable, but it caught some real bugs that I will fix in a follow up.
This patch contains:
* `test/types.d.ts` - d.ts file for our test runner.
* `test/tsconfig.json` - typescript project for our tests.
* JSDoc header in all specs to mark the describe as a TestSuite
* Drive-by fix of a launcher test that was using `if` instead of `it`
* Some drive-by fixes of unimpactful typos in tests.
2020-02-10 13:20:13 -08:00
Dmitry Gozman
fee83b17c9
fix(api): page.viewport -> page.viewportSize ( #878 )
...
We now only allow to resize the page, leaving isMobile and deviceScaleFactor as browser context options.
2020-02-06 19:02:55 -08:00
Pavel Feldman
e3e2da3186
feat(check): introduce page.check/uncheck ( #826 )
2020-02-04 14:39:10 -08:00
Joel Einbinder
b68a88a3fc
test: enable passing modifiers test ( #733 )
...
This test passes. Maybe at some point it failed on mac, but that has been fixed for a long time.
2020-01-28 18:19:59 -08:00
Davy Duperron
62f4ed6b6a
feat(unit): add click test on animated target ( #655 )
2020-01-28 13:26:26 -08:00
Dmitry Gozman
6cf70e2e4c
test(firefox): enable some passing tests ( #536 )
2020-01-17 17:51:48 -08:00
Dmitry Gozman
82057ac610
test: make api coverage checker work ( #517 )
2020-01-16 17:46:50 -08:00
Dmitry Gozman
21510a5b06
feat(firefox): support isolated worlds ( #507 )
2020-01-16 12:57:28 -08:00
Yury Semikhatsky
778ab3deff
chore: replace CHROME with CHROMIUM ( #465 )
2020-01-13 10:13:28 -08:00
Pavel Feldman
4d2a503c44
feat(webkit): rebaseline Joel's pass all viewport tests PR ( #440 )
2020-01-09 17:06:06 -08:00
Yury Semikhatsky
86fc2699aa
test(webkit): enable click test that was fixed by moving input agent ( #424 )
2020-01-08 10:49:14 -08:00
Andrey Lushnikov
a7f3490e48
feat(testrunner): implement "dit" command ( #312 )
2019-12-19 16:47:35 -07:00
Joel Einbinder
1c2b6444e9
test(webkit): add tests for after cross origin navigations ( #298 )
2019-12-18 17:42:16 -08:00
Andrey Lushnikov
8cc682c7b8
feat(testrunner): allow focusing all tests in a file
...
With this change, exporting a "fdescribe" function from a file
will focus all tests inside the file.
2019-12-18 17:13:39 -08:00
Pavel Feldman
b5e9086576
chore: remove browser from the api ( #296 )
2019-12-18 16:23:05 -08:00
Dmitry Gozman
9afd35d3a1
feature(waitfor): waitFor visible or any by default ( #284 )
2019-12-18 14:28:16 -08:00
Pavel Feldman
6d0dfd0abf
feat(context): start moving overrides to the context level
2019-12-18 12:23:33 -08:00
Dmitry Gozman
fd927000ea
feature: update api around selectors ( #280 )
...
- Selector is again a string.
- Most methods taking selector also accept waitFor option.
- Available waitFor options are: 'visible', 'hidden', 'any' === true, false === undefined.
- waitForXPath is removed.
- waitForSelector is replaced by $(selector, { waitFor: true }).
2019-12-17 14:30:02 -08:00
Pavel Feldman
df95b9ddb4
feat(waitFor): allow actions to wait for selector; make visible requirement default ( #254 )
2019-12-14 20:13:22 -07:00
Pavel
0675d8ec9a
test: happy webkit test patch
2019-12-12 18:27:07 -08:00
Pavel Feldman
f37d9bfe95
test: extract chromium-specific connect tests
2019-12-10 13:28:50 -08:00
Pavel Feldman
44d6f608ef
feat(webkit): use webkit worlds ( #194 )
2019-12-09 23:24:12 -08:00
Dmitry Gozman
b4c89ca0f9
chore: unify frame lifecycle events between browsers ( #172 )
2019-12-09 16:34:42 -08:00
Pavel Feldman
f5cd742b79
test: rebaseline some click tests ( #179 )
2019-12-08 17:17:49 -08:00
Pavel
bcb62de4b2
fix(test): make click tests pass everywhere
2019-12-06 14:48:41 -08:00
Joel Einbinder
1c9103e642
test(chrome): failing test for clicking when scroll-behavior is smooth ( #136 )
2019-12-05 17:58:19 -08:00
Andrey Lushnikov
929a5944bd
test: fix chromium tests ( #155 )
...
3 chromium tests were failing on Linux.
2019-12-05 15:12:22 -07:00
Dmitry Gozman
d4f0084f67
chore: move element coordinates handling to common ( #139 )
...
Browser now implement boundingBox(), contentQuads() and layoutViewport().
2019-12-05 09:54:50 -08:00
Dmitry Gozman
fc5898892b
feat(selectors): support optional "visible" property in all selectors ( #129 )
2019-12-04 13:11:10 -08:00
Pavel Feldman
ef464e447f
feat(input): dblclick/trippleclick feature parity ( #60 )
2019-11-22 14:46:34 -08:00
Pavel Feldman
9ba375c063
Initial commit
2019-11-19 10:58:15 -08:00