mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-14 20:17:05 +00:00
MINOR: Update Playwright integration test workflows to use 'playwright' deps (#20558)
This commit is contained in:
parent
bce18b23c1
commit
eca3770a93
@ -84,7 +84,7 @@ jobs:
|
||||
with:
|
||||
python-version: "3.9"
|
||||
args: "-d mysql"
|
||||
ingestion_dependency: "all"
|
||||
ingestion_dependency: "playwright"
|
||||
- name: Run Playwright Integration Tests with browser ${{ matrix.browser-type }}
|
||||
env:
|
||||
E2E_REDSHIFT_HOST_PORT: ${{ secrets.E2E_REDSHIFT_HOST_PORT }}
|
||||
|
@ -84,7 +84,7 @@ jobs:
|
||||
with:
|
||||
python-version: "3.9"
|
||||
args: "-d postgresql"
|
||||
ingestion_dependency: "all"
|
||||
ingestion_dependency: "playwright"
|
||||
- name: Run Playwright Integration Tests with browser ${{ matrix.browser-type }}
|
||||
env:
|
||||
E2E_REDSHIFT_HOST_PORT: ${{ secrets.E2E_REDSHIFT_HOST_PORT }}
|
||||
|
2
.github/workflows/playwright-mysql-e2e.yml
vendored
2
.github/workflows/playwright-mysql-e2e.yml
vendored
@ -96,7 +96,7 @@ jobs:
|
||||
with:
|
||||
python-version: '3.9'
|
||||
args: "-d mysql"
|
||||
ingestion_dependency: "all"
|
||||
ingestion_dependency: "playwright"
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: openmetadata-ui/src/main/resources/ui/
|
||||
|
@ -95,7 +95,7 @@ jobs:
|
||||
with:
|
||||
python-version: '3.9'
|
||||
args: "-d postgresql"
|
||||
ingestion_dependency: "all"
|
||||
ingestion_dependency: "playwright"
|
||||
|
||||
- name: Install dependencies
|
||||
working-directory: openmetadata-ui/src/main/resources/ui/
|
||||
|
@ -437,6 +437,23 @@ e2e_test = {
|
||||
"pytest-base-url",
|
||||
}
|
||||
|
||||
# Define playwright_dependencies as a set of packages required for Playwright tests
|
||||
# These packages correspond to the ingestion connectors used in Playwright tests
|
||||
playwright_dependencies = {
|
||||
*plugins["mysql"],
|
||||
*plugins["bigquery"],
|
||||
*plugins["kafka"],
|
||||
*plugins["mlflow"],
|
||||
*plugins["snowflake"],
|
||||
*plugins["superset"],
|
||||
*plugins["postgres"],
|
||||
*plugins["redshift"],
|
||||
*plugins["airflow"],
|
||||
*plugins["datalake-s3"],
|
||||
*e2e_test
|
||||
# Add other plugins as needed for Playwright tests
|
||||
}
|
||||
|
||||
extended_testing = {
|
||||
"Faker", # For Sample Data Generation
|
||||
}
|
||||
@ -466,6 +483,7 @@ setup(
|
||||
"data-insight": list(plugins["elasticsearch"]),
|
||||
**{plugin: list(dependencies) for (plugin, dependencies) in plugins.items()},
|
||||
"all": filter_requirements({"airflow", "db2", "great-expectations"}),
|
||||
"playwright": list(playwright_dependencies),
|
||||
"slim": filter_requirements(
|
||||
{
|
||||
"airflow",
|
||||
|
@ -70,7 +70,7 @@ class BaseModel(PydanticBaseModel):
|
||||
raise exc
|
||||
return values
|
||||
|
||||
def model_dump_json( # pylint: disable=too-many-arguments
|
||||
def model_dump_json( # pylint: disable=too-many-arguments,unused-argument
|
||||
self,
|
||||
*,
|
||||
mask_secrets: Optional[bool] = None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user