sadpandajoe commented on code in PR #36196:
URL: https://github.com/apache/superset/pull/36196#discussion_r2583640985
##########
.github/workflows/bashlib.sh:
##########
@@ -117,6 +117,19 @@ testdata() {
say "::endgroup::"
}
+playwright_testdata() {
+ cd "$GITHUB_WORKSPACE"
+ say "::group::Load all examples for Playwright tests"
+ # must specify PYTHONPATH to make `tests.superset_test_config` importable
+ export PYTHONPATH="$GITHUB_WORKSPACE"
+ pip install -e .
+ superset db upgrade
+ superset load_test_users
+ superset load_examples
Review Comment:
This only gets called once when we are creating the workspace for the e2e
tests so better to just load all examples.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]