File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -313,6 +313,7 @@ jobs:
313
313
run : |
314
314
python -mpytest -raR -n auto \
315
315
--browser chromium --browser firefox --browser webkit \
316
+ --slowmo=100 --tracing=on --video=on \
316
317
--maxfail=50 --timeout=300 --durations=25 \
317
318
--cov-report=xml --cov=lib --log-level=DEBUG --color=yes
318
319
@@ -333,6 +334,12 @@ jobs:
333
334
name : " ${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.name-suffix }} result images"
334
335
path : ./result_images
335
336
337
+ - uses : actions/upload-artifact@v3
338
+ if : failure()
339
+ with :
340
+ name : " ${{ matrix.python-version }} ${{ matrix.os }} ${{ matrix.name-suffix }} playwright"
341
+ path : ./test-results
342
+
336
343
# Separate dependent job to only upload one issue from the matrix of jobs
337
344
create-issue :
338
345
if : ${{ failure() && github.event_name == 'schedule' }}
Original file line number Diff line number Diff line change @@ -105,12 +105,16 @@ def test_webagg_resize(random_port, page):
105
105
106
106
canvas = page .locator ('canvas.mpl-canvas' )
107
107
108
+ print (f'{ orig_bbox = } ' )
108
109
# Resize the canvas to be twice as big.
109
110
bbox = canvas .bounding_box ()
111
+ print (f'{ bbox = } ' )
110
112
x , y = bbox ['x' ] + bbox ['width' ] - 1 , bbox ['y' ] + bbox ['height' ] - 1
113
+ print (f'{ x = } { y = } ' )
111
114
page .mouse .move (x , y )
112
115
page .mouse .down ()
113
116
page .mouse .move (x + bbox ['width' ], y + bbox ['height' ])
117
+ print (f'{ x + bbox ["width" ]= } { y + bbox ["height" ]= } ' )
114
118
page .mouse .up ()
115
119
116
120
assert fig .bbox .height == orig_bbox .height * 2
You can’t perform that action at this time.
0 commit comments