#!/bin/bash set -e -u -o pipefail cd "$(dirname "$0")" . .e2erc mme2e_log "Prepare Playwright: clean and initialize report and logs directory" ${MME2E_DC_SERVER} exec -T -u "$MME2E_UID" -- playwright bash </dev/null || true jq -f /dev/stdin ../playwright/results/reporter/results.json > ../playwright/results/summary.json <../playwright/logs/mattermost.log 2>&1