Skip to content

test(e2e): fix trivial vm assertions and force fresh oh-my-zsh installs#91

Merged
fullstackjam merged 1 commit into
mainfrom
test/fix-trivial-vm-assertions
May 19, 2026
Merged

test(e2e): fix trivial vm assertions and force fresh oh-my-zsh installs#91
fullstackjam merged 1 commit into
mainfrom
test/fix-trivial-vm-assertions

Conversation

@fullstackjam
Copy link
Copy Markdown
Collaborator

Summary

  • TestVM_Journey_FirstTimeUser: capture brew list before/after install; assert all minimal preset formulae (jq, ripgrep, fd, bat, fzf, htop, tree, gh) are brew-managed after install; log newly installed diff for debugging. Previously the test passed trivially on GHA runners that have these tools pre-installed.
  • TestVM_Sync_Shell_CaptureShell / TestVM_Sync_Shell_NoPanic: rm -rf ~/.oh-my-zsh before installOhMyZsh so the install script actually runs instead of hitting the idempotency guard.
  • TestVM_Sync_Shell_CaptureShell: assert snapshot JSON contains the configured theme (agnoster) and plugin (docker), not just that output is non-empty.
  • TestVM_Edge_ShellActuallyWorks: rm -rf ~/.oh-my-zsh so openboot's shell install exercises the real code path.

Test plan

  • CI green on this PR
  • After merge, push a tag and confirm vm-e2e job logs show the brew list diff and newly installed formulae

- FirstTimeUser: capture brew list before/after install, assert all
  minimal preset formulae are brew-managed after; log newly installed
  for debugging
- Sync_Shell tests: rm -rf ~/.oh-my-zsh before installOhMyZsh so the
  install script actually runs instead of hitting the idempotency guard
- CaptureShell: assert snapshot JSON contains the configured theme and
  plugins, not just that output is non-empty
- Edge_ShellActuallyWorks: rm -rf ~/.oh-my-zsh so openboot shell
  install exercises the real code path
@github-actions github-actions Bot added the tests Tests only label May 19, 2026
@fullstackjam fullstackjam merged commit 6521166 into main May 19, 2026
12 checks passed
@fullstackjam fullstackjam deleted the test/fix-trivial-vm-assertions branch May 19, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests Tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant