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
This commit is contained in:
Shailesh Parmar 2024-06-08 14:04:57 +05:30 committed by GitHub
parent f5996b2f3a
commit e947f4cf77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,6 +28,18 @@ yarn_install_cache: ## Use Yarn to install UI dependencies
yarn_start_dev_ui: ## Run the UI locally with Yarn yarn_start_dev_ui: ## Run the UI locally with Yarn
cd openmetadata-ui/src/main/resources/ui && yarn start 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 .PHONY: py_antlr
py_antlr: ## Generate the Python code for parsing FQNs 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 antlr4 -Dlanguage=Python3 -o ingestion/src/metadata/generated/antlr ${PWD}/openmetadata-spec/src/main/antlr4/org/openmetadata/schema/*.g4