Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve E2E testing around the Connection Form #17577

Merged
merged 15 commits into from
Oct 7, 2022

Conversation

krishnaglick
Copy link
Contributor

What

Improve E2E testing around the Connection Form

How

Add E2E tests around the Connection Form

@krishnaglick krishnaglick marked this pull request as ready for review October 6, 2022 20:43
@krishnaglick krishnaglick requested a review from a team as a code owner October 6, 2022 20:43
deleteDestination(destName);
});

it("Saving a connection's schedule type only changes expected values", () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

this was added in response to a specific OC bug 👍

@teallarson teallarson self-requested a review October 6, 2022 20:50
Copy link
Contributor

@lmossman lmossman left a comment

Choose a reason for hiding this comment

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

Just had one suggestion, otherwise LGTM

openSourceDestinationFromGrid(sourceName);
openSourceDestinationFromGrid(`${sourceName} <> ${destName}`);

let loadedConnection: any = null; // Should be a WebBackendConnectionRead
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious, do we have any plans to pull in types from the airbyte-webapp module in the future?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm not sure what it would entail to do so. It might be trivial but no, I don't think we have a plan to do so. I wouldn't mind though.

@krishnaglick krishnaglick merged commit 4d73eb0 into master Oct 7, 2022
@krishnaglick krishnaglick deleted the kc/more-e2e-for-connection-form branch October 7, 2022 17:56
letiescanciano added a commit that referenced this pull request Oct 10, 2022
…vation

* master: (22 commits)
  Update full-refresh-append.md (#17784)
  Update full-refresh-overwrite.md (#17783)
  Update incremental-append.md (#17785)
  Update incremental-deduped-history.md (#17786)
  Update cdc.md (#17787)
  🪟 🔧 Ignore classnames during jest snapshot comparison (#17773)
  feat: replace openjdk with amazoncorretto:17.0.4 on connectors for seсurity compliance (#17511)
  Start testing buildpulse. (#17712)
  Add missing types to the registry (#17763)
  jobs db descriptions (#16543)
  config db data catalog (#16427)
  Update lowcode docs (#17752)
  db migrations to support new webhook operations (#17671)
  Bump Airbyte version from 0.40.13 to 0.40.14 (#17762)
  September Release Notes (#17754)
  Revert "Use java-datadog-tracer-base image (#17625)" (#17759)
  Add connection migrations for schema changes (#17651)
  Connection Form Refactor - Part Two (#16748)
  Improve E2E testing around the Connection Form (#17577)
  Bump strict encrypt version (#17747)
  ...
jhammarstedt pushed a commit to jhammarstedt/airbyte that referenced this pull request Oct 31, 2022
* Added an e2e test: creates a connection, then edits the schedule type

* Schedule types successfully tested!

* Removing .only

* Prefix testing

* Analytics calls fire as expected

* Strict connection save check for schedule type

* better check

* Fixing failing tests

* Lake CR

* Update airbyte-webapp-e2e-tests/cypress/integration/connection.spec.ts

* Can't test
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.

3 participants