File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -101,3 +101,11 @@ jobs:
101
101
echo "One or more tests failed!"
102
102
exit 1
103
103
fi
104
+
105
+ - name : Upload screenshot
106
+ uses : actions/upload-artifact@v4
107
+ if : always()
108
+ with :
109
+ name : screenshots-${{ matrix.vncserver }}
110
+ path : screenshots/*
111
+ if-no-files-found : error
Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ def test_desktop(browser):
51
51
# Screenshot the desktop element only
52
52
# May take a few seconds to load
53
53
page1 .wait_for_timeout (5000 )
54
- # Use a nontemp folder so we can check it manually if necessary
55
- screenshot = "screenshots/ desktop.png"
54
+ # Use a non temporary folder so we can check it manually if necessary
55
+ screenshot = Path ( "screenshots" ) / " desktop.png"
56
56
page1 .locator ("canvas" ).screenshot (path = screenshot )
57
57
58
58
# Open clipboard, enter random text, close clipboard
You can’t perform that action at this time.
0 commit comments