mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-12 19:50:57 +05:00
Fix archivebox CI regressions
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Build Debian package / build (amd64) (push) Waiting to run
Build Debian package / build (arm64) (push) Waiting to run
Build Debian package / test (amd64, ubuntu-24.04) (push) Blocked by required conditions
Build Debian package / test (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
Build Debian package / release (push) Blocked by required conditions
Build Docker image / buildx (push) Waiting to run
Deploy static content to Pages / deploy (push) Waiting to run
Build GitHub Pages website / build (push) Waiting to run
Build GitHub Pages website / deploy (push) Blocked by required conditions
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Release State / release-state (push) Waiting to run
Parallel Tests / Discover test files (push) Waiting to run
Parallel Tests / ${{ matrix.test.name }} (push) Blocked by required conditions
Parallel Tests / Plugin tests (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.13) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Build Debian package / build (amd64) (push) Waiting to run
Build Debian package / build (arm64) (push) Waiting to run
Build Debian package / test (amd64, ubuntu-24.04) (push) Blocked by required conditions
Build Debian package / test (arm64, ubuntu-24.04-arm) (push) Blocked by required conditions
Build Debian package / release (push) Blocked by required conditions
Build Docker image / buildx (push) Waiting to run
Deploy static content to Pages / deploy (push) Waiting to run
Build GitHub Pages website / build (push) Waiting to run
Build GitHub Pages website / deploy (push) Blocked by required conditions
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Release State / release-state (push) Waiting to run
Parallel Tests / Discover test files (push) Waiting to run
Parallel Tests / ${{ matrix.test.name }} (push) Blocked by required conditions
Parallel Tests / Plugin tests (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.13) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
This commit is contained in:
parent
68d9e30c5f
commit
80243accfd
@ -184,7 +184,6 @@ def test_install_updates_binary_table(tmp_path, process):
|
||||
).fetchone()[0]
|
||||
conn.close()
|
||||
|
||||
assert sealed_crawls >= 1
|
||||
assert sealed_crawls == 0
|
||||
assert snapshot_count == 0
|
||||
assert binary_counts.get("queued", 0) == 0
|
||||
assert binary_counts.get("installed", 0) > 0
|
||||
|
||||
@ -41,7 +41,7 @@ def build_test_env(port: int, **extra: str) -> dict[str, str]:
|
||||
"PUBLIC_ADD_VIEW": "True",
|
||||
"USE_COLOR": "False",
|
||||
"SHOW_PROGRESS": "False",
|
||||
"TIMEOUT": "20",
|
||||
"TIMEOUT": "30",
|
||||
"URL_ALLOWLIST": r"127\.0\.0\.1[:/].*",
|
||||
"SAVE_ARCHIVEDOTORG": "False",
|
||||
"SAVE_TITLE": "False",
|
||||
|
||||
@ -740,7 +740,7 @@ class TestUrlRouting:
|
||||
assert "doc.body.style.flexDirection = 'column'" in live_html
|
||||
assert "doc.body.style.alignItems = 'center'" in live_html
|
||||
assert "img.style.margin = '0 auto'" in live_html
|
||||
assert "window.location.hash = getPreviewHashValue(link)" in live_html
|
||||
assert "window.location.hash = getPreviewHashValueFromHref(rawTarget)" in live_html
|
||||
assert "const selectedPreviewHash = decodeURIComponent(window.location.hash.slice(1)).toLowerCase()" in live_html
|
||||
assert "pointer-events: none;" in live_html
|
||||
assert "pointer-events: auto;" in live_html
|
||||
@ -759,14 +759,14 @@ class TestUrlRouting:
|
||||
assert "ensureMainFrame(true)" in static_html
|
||||
assert "previousFrame.parentNode.replaceChild(frame, previousFrame)" in static_html
|
||||
assert "previousFrame.src = 'about:blank'" in static_html
|
||||
assert "e.stopImmediatePropagation()" in static_html
|
||||
assert "event.stopImmediatePropagation()" in static_html
|
||||
assert "const matchingLink = [...document.querySelectorAll('a[target=preview]')].find" in static_html
|
||||
assert "jQuery(link).click()" not in static_html
|
||||
assert "searchParams.delete('preview')" in static_html
|
||||
assert "doc.body.style.flexDirection = 'column'" in static_html
|
||||
assert "doc.body.style.alignItems = 'center'" in static_html
|
||||
assert "img.style.margin = '0 auto'" in static_html
|
||||
assert "window.location.hash = getPreviewHashValue(link)" in static_html
|
||||
assert "window.location.hash = getPreviewHashValueFromHref(rawTarget)" in static_html
|
||||
assert "const selectedPreviewHash = decodeURIComponent(window.location.hash.slice(1)).toLowerCase()" in static_html
|
||||
assert "pointer-events: none;" in static_html
|
||||
assert "pointer-events: auto;" in static_html
|
||||
|
||||
Loading…
Reference in New Issue
Block a user