docs: improve running e2e and regression tests docs
Created by: valerybugakov
Context
This PR updates "Running end-to-end tests" docs based on recent improvements made in the sg
CLI.
Closes #40256 (closed) Thanks, @courier-new, for bringing this up!
Changes
- Renamed sg
frontend
test toclient
to be consistent with naming in other places and avoid confusion with thefrontend
backend service. - Moved most of
preamble
contents fromsg.config.yaml
to docs and added docs links to preambles. - Added
sg test regression
command to thesg.config.yaml
. - Updated
Running end-to-end tests
docs. - Added
Running regression tests
docs. - Made
LOG_STATUS_MESSAGES
andNO_CLEANUP
env variables optional andtrue
by default.
Test plan
Run e2e and regression tests locally using the updated documentation.