#!/usr/bin/env bash
set -euo pipefail

root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "${root}"

# Runs the ignored Rust E2E that drives https://every.channel via headless Chrome
# and connects to a local `ec-node direct-publish` process.
exec nix develop --accept-flake-config -c \
  bash -lc 'cargo test -p ec-node --test e2e_remote_website_direct -- --ignored --nocapture'

