From e947f4cf77941f23999e1ebfd30ffa4ac7359274 Mon Sep 17 00:00:00 2001 From: Shailesh Parmar Date: Sat, 8 Jun 2024 14:04:57 +0530 Subject: [PATCH] playwright: add make command to run playwright test (#16575) * playwright: add make command to run playwright test * chore: Remove unused yarn command and update Makefile --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index 80bfa58314d..784f6f44806 100644 --- a/Makefile +++ b/Makefile @@ -28,6 +28,18 @@ yarn_install_cache: ## Use Yarn to install UI dependencies yarn_start_dev_ui: ## Run the UI locally with Yarn cd openmetadata-ui/src/main/resources/ui && yarn start +.PHONY: yarn_start_e2e +yarn_start_e2e: ## Run the e2e tests locally with Yarn + cd openmetadata-ui/src/main/resources/ui && yarn playwright:run + +.PHONY: yarn_start_e2e_ui +yarn_start_e2e_ui: ## Run the e2e tests locally in UI mode with Yarn + cd openmetadata-ui/src/main/resources/ui && yarn playwright:open + +.PHONY: yarn_start_e2e_codegen +yarn_start_e2e_codegen: ## generate playwright code + cd openmetadata-ui/src/main/resources/ui && yarn playwright:codegen + .PHONY: py_antlr py_antlr: ## Generate the Python code for parsing FQNs antlr4 -Dlanguage=Python3 -o ingestion/src/metadata/generated/antlr ${PWD}/openmetadata-spec/src/main/antlr4/org/openmetadata/schema/*.g4