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 @@ -99,12 +99,16 @@ def test_webagg_resize(random_port, page):
99
99
100
100
canvas = page .locator ('canvas.mpl-canvas' )
101
101
102
+ print (f'{ orig_bbox = } ' )
102
103
# Resize the canvas to be twice as big.
103
104
bbox = canvas .bounding_box ()
105
+ print (f'{ bbox = } ' )
104
106
x , y = bbox ['x' ] + bbox ['width' ] - 1 , bbox ['y' ] + bbox ['height' ] - 1
107
+ print (f'{ x = } { y = } ' )
105
108
page .mouse .move (x , y )
106
109
page .mouse .down ()
107
110
page .mouse .move (x + bbox ['width' ], y + bbox ['height' ])
111
+ print (f'{ x + bbox ["width" ]= } { y + bbox ["height" ]= } ' )
108
112
page .mouse .up ()
109
113
110
114
assert fig .bbox .height == orig_bbox .height * 2
You can’t perform that action at this time.
0 commit comments