From e9e44dfb30bd2f995fd3f5bdfd703edc2cba4528 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Tue, 11 Jun 2024 20:38:39 +0200 Subject: [PATCH] docs: update e2e test commands The E2E config allows stamping, not using it can cause certain e2e tests to fail locally. --- docs/DEVELOPER.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/DEVELOPER.md b/docs/DEVELOPER.md index 8cc70d3c1fe4..57a626892be7 100644 --- a/docs/DEVELOPER.md +++ b/docs/DEVELOPER.md @@ -86,8 +86,8 @@ You can find more info about debugging [tests with Bazel in the docs.](https://g ### End to end tests - For a complete list of test targets use the following Bazel query: `yarn bazel query "tests(//tests/...)"` -- Run a subset of the tests: `yarn bazel test //tests/legacy-cli:e2e_node18 --test_filter="tests/i18n/ivy-localize-*"` -- Use `bazel run` to debug failing tests debugging: `yarn bazel run //tests/legacy-cli:e2e_node18 --test_arg="--glob=tests/basic/aot.ts"` +- Run a subset of the tests: `yarn bazel test //tests/legacy-cli:e2e_node18 --config=e2e --test_filter="tests/i18n/ivy-localize-*"` +- Use `bazel run` to debug failing tests debugging: `yarn bazel run //tests/legacy-cli:e2e_node18 --config=e2e --test_arg="--glob=tests/basic/aot.ts"` - Provide additional `e2e_runner` options using `--test_arg`: `--test_arg="--yarn"` When running the debug commands, Node will stop and wait for a debugger to attach.