mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-06 07:00:37 +02:00
Fix CI: title removal order, Windows fixtures and POSIX-only tests
- Title removal ran the Steam shortcut tidy-up before steamos-delete, which finds the Proton prefix through that shortcut, so compatdata was left behind (e2e caught it). steamos-delete runs first again; art/collection tidy-up after. - Test fixtures are byte-exact: never convert line endings (a text-looking fixture APK got CRLF on Windows and failed its SHA-256). - Read index.html/artwork-settings.js as UTF-8 in tests; app-data backup and OBB shell tests run only on POSIX (they exercise the Frame-side scripts). - e2e expects the icon under artwork/ now. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
cb05395280
commit
f81c98a87b
6 files changed
+33
-9
No files matched your search
@@ -277,10 +277,10 @@ class ArtworkSettings(unittest.TestCase):
|
||||
proc.wait(timeout=10)
|
||||
|
||||
def test_panel_script_uses_the_keyed_api_helper(self):
|
||||
script = (ROOT / "ui" / "artwork-settings.js").read_text()
|
||||
script = (ROOT / "ui" / "artwork-settings.js").read_text(encoding="utf-8")
|
||||
self.assertNotIn("fetch(", script)
|
||||
self.assertIn("api('/api/settings/artwork'", script)
|
||||
page = (ROOT / "ui" / "index.html").read_text()
|
||||
page = (ROOT / "ui" / "index.html").read_text(encoding="utf-8")
|
||||
self.assertLess(page.index("async function api("), page.index('<script src="/artwork-settings.js">'))
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user