-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Conversation
airbyte-webapp-e2e-tests/cypress/integration/connection.spec.ts
Outdated
Show resolved
Hide resolved
deleteDestination(destName); | ||
}); | ||
|
||
it("Saving a connection's schedule type only changes expected values", () => { |
There was a problem hiding this comment.
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 👍
There was a problem hiding this 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
airbyte-webapp-e2e-tests/cypress/integration/connection.spec.ts
Outdated
Show resolved
Hide resolved
airbyte-webapp-e2e-tests/cypress/integration/connection.spec.ts
Outdated
Show resolved
Hide resolved
…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) ...
* 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
What
Improve E2E testing around the Connection Form
How
Add E2E tests around the Connection Form