diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1dd7bd19..478b3990 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,7 +52,7 @@ jobs: - name: Run tests run: | - just test-all + RUN_SCREENSHOT_TESTS=True just test-all # not actually needed for tests, but we want to make sure the dev tooling # is still working diff --git a/airlock/settings.py b/airlock/settings.py index cbcb4a12..3964c806 100644 --- a/airlock/settings.py +++ b/airlock/settings.py @@ -438,3 +438,5 @@ def filter(self, record): # pragma: no cover }, }, } + +SCREENSHOT_DIR = BASE_DIR / "docs" / "screenshots" diff --git a/airlock/templates/file_browser/file.html b/airlock/templates/file_browser/file.html index 5c5969cc..eca18384 100644 --- a/airlock/templates/file_browser/file.html +++ b/airlock/templates/file_browser/file.html @@ -205,6 +205,7 @@ height=1000 style="width: 100%;" sandbox="{{ path_item.iframe_sandbox }} allow-same-origin" + id="content-iframe" > {% /card %} diff --git a/airlock/templates/file_browser/group.html b/airlock/templates/file_browser/group.html index 12659f4a..b1fdbabd 100644 --- a/airlock/templates/file_browser/group.html +++ b/airlock/templates/file_browser/group.html @@ -8,101 +8,102 @@ } {% #card title=group.title container=True class="group_modal" %} -