gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

feat: add Dockerfile for running tauri e2e tests ono mac

Open ndom91 opened this issue 1 year ago • 2 comments

☕️ Reasoning

  • A critical dependency for running our E2E tests, tauri-driver, is not compaitble with Mac OS. Therefore, we decided to create a linux-based container for our Mac OS-using colleagues and contributors to be able to run these tests locally

🧢 Changes

  • Adds Dockerfile
  • Some adjustments to the webdriver-io wdio.conf.ts config file to support both environments (local linux and mac OS container)

Usage

  • Build: docker build . -t gitbutler-dev-test:latest
  • Run: docker run -it -v ${PWD}:/app gitbutler-dev-test:latest from root of repo
    • Mounts in your built binary

Current Status

ndom91 avatar Aug 07 '24 15:08 ndom91

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
gitbutler-web ⬜️ Ignored (Inspect) Visit Preview Aug 13, 2024 1:54pm

vercel[bot] avatar Aug 07 '24 15:08 vercel[bot]

@mtsgrd is this still necessary? Or does the act:test:e2e npm script suffice for you Mac folks?

ndom91 avatar Aug 13 '24 08:08 ndom91

Closing in favor of: https://github.com/gitbutlerapp/gitbutler/pull/4808

ndom91 avatar Sep 02 '24 14:09 ndom91

gg

ndom91 avatar Sep 02 '24 14:09 ndom91