Skip to content

Commit b4e1551

Browse files
committed
test(docker): target Playwright cache copy command
1 parent 1ca47f1 commit b4e1551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deploy/docker/tests/test_security_container_posture.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def test_playwright_headless_shell_is_copied_to_runtime_cache(self, dockerfile):
6262
# image runs as appuser, so both Chromium artifacts must be copied out
6363
# of root's install cache.
6464
cache_copy = re.search(
65-
r"RUN mkdir -p /home/appuser/\.cache/ms-playwright(?P<commands>.*?)RUN crawl4ai-doctor",
65+
r"cp -r(?P<artifacts>(?:(?!&&).)*)/home/appuser/\.cache/ms-playwright/",
6666
dockerfile,
6767
re.DOTALL,
6868
)

0 commit comments

Comments
 (0)