Skip to content

chore: add E2E tests for Flink UDFs#3386

Draft
Dave Shoup (shouples) wants to merge 12 commits into
mainfrom
djs/e2e-flink-udfs
Draft

chore: add E2E tests for Flink UDFs#3386
Dave Shoup (shouples) wants to merge 12 commits into
mainfrom
djs/e2e-flink-udfs

Conversation

@shouples
Copy link
Copy Markdown
Contributor

Summary of Changes

Closes #2482, and also closes #3110 by setting up the artifact playwright fixture.

Pull request checklist

Please check if your PR fulfills the following (if applicable):

Tests

  • Added new
  • Updated existing
  • Deleted existing

Release notes

  • Does anything in this PR need to be mentioned in the user-facing CHANGELOG?

Copilot AI review requested due to automatic review settings May 5, 2026 13:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds Playwright E2E coverage for Flink UDF user flows and introduces a reusable Playwright fixture to create/clean up Flink artifacts (to reduce leaked test resources), along with small supporting updates to tags/CI defaults and accessibility labeling needed for stable selectors.

Changes:

  • Added new E2E specs covering guided UDF creation, SQL registration document generation, and UDF deletion (parameterized by cloud provider/region).
  • Introduced an artifact Playwright fixture (plus ArtifactConfig typing) to upload an artifact for a test and delete it afterward.
  • Added a new @flink-udfs tag and included it in default CI E2E tag sets; added an accessibility label for Flink UDF tree items.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/e2e/types/artifact.ts Adds ArtifactConfig type for configuring artifact fixture behavior.
tests/e2e/tags.ts Introduces Tag.FlinkUDFs (@flink-udfs).
tests/e2e/specs/flinkUdf.spec.ts New E2E tests for UDF create/open-SQL-template/delete flows.
tests/e2e/objects/views/FlinkDatabaseView.ts Adds UDF-related view helpers; refactors artifact deletion to use search-based lookup.
tests/e2e/baseTest.ts Adds artifactConfig option + artifact fixture with upload + teardown deletion behavior.
src/models/flinkUDF.ts Adds accessibilityInformation.label for UDF tree items (enables stable aria-label selectors).
service.yml Adds @flink-udfs to default E2E tag sets.
.semaphore/semaphore.yml Adds @flink-udfs to default E2E tag sets for Semaphore promotions.

Comment thread tests/e2e/objects/views/FlinkDatabaseView.ts Outdated
Comment thread tests/e2e/baseTest.ts Outdated
Comment thread tests/e2e/specs/flinkUdf.spec.ts Outdated
@sonarqube-confluent
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E: Set up playwright fixture for creating and deleting Flink artifacts E2E testing for UDF user flows

2 participants