webksde / ddev-vscode-devcontainer-drupal-template

Drupal DDEV based development container with attached Visual Studio Code
22 stars 3 forks source link

Running Javascript tests through Linux leads to unexpected page crash #135

Closed joshsedl closed 10 months ago

joshsedl commented 10 months ago

Running js tests under Linux leads to the following error:

WebDriver\Exception\UnknownError: unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
  (Session info: headless chrome=106.0.5249.103)
  (Driver info: chromedriver=106.0.5249.61 (511755355844955cd3e264779baf0dd38212a4d0-refs/branch-heads/5249@{#569}),platform=Linux 6.4.12-arch1-1 x86_64)
joshsedl commented 10 months ago

Fixed! The fallback value for the "temporary file storage filesystem" (shm) seems to be different on Linux. Manually setting a higher value inside our custom "docker-compose.chromedriver.yaml" fixes the issue! :slightly_smiling_face: