-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add test for checking stream view #20073
Conversation
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.
airbyte-webapp-e2e-tests/cypress/integration/connection.spec.ts
Outdated
Show resolved
Hide resolved
@@ -9,6 +9,9 @@ const destinationNamespaceSource = "div[data-testid='namespaceDefinition-source' | |||
const destinationNamespaceCustomInput = "input[data-testid='input']"; | |||
const syncModeDropdown = "div[data-testid='syncSettingsDropdown'] input"; | |||
const cursorFieldDropdown = "button[class^='PathPopoutButton_button']"; | |||
const streamFieldNames = "[class^='TreeRowWrapper_rowWrapper'] span"; | |||
const streamDataTypes = "[class^='TreeRowWrapper_rowWrapper'] div:nth-child(2)"; | |||
const arrowStream = "[class^='Arrow_container__']"; |
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.
what is an arrow stream? 🙂
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.
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.
Oh, okay, can we rename it to ExpandStreamDetailsTableBtn
please? 🙂
Co-authored-by: Vladimir <volodymyr.s.petrov@globallogic.com>
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.
Did another review - LGTM 👍
Left one small comment.
Would be great to fix it.
@@ -9,6 +9,9 @@ const destinationNamespaceSource = "div[data-testid='namespaceDefinition-source' | |||
const destinationNamespaceCustomInput = "input[data-testid='input']"; | |||
const syncModeDropdown = "div[data-testid='syncSettingsDropdown'] input"; | |||
const cursorFieldDropdown = "button[class^='PathPopoutButton_button']"; | |||
const streamFieldNames = "[class^='TreeRowWrapper_rowWrapper'] span"; | |||
const streamDataTypes = "[class^='TreeRowWrapper_rowWrapper'] div:nth-child(2)"; | |||
const arrowStream = "[class^='Arrow_container__']"; |
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.
Oh, okay, can we rename it to ExpandStreamDetailsTableBtn
please? 🙂
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.
LGTM
Passing to @edmundito for review
const streamFieldNames = "[class^='TreeRowWrapper_rowWrapper'] span"; | ||
const streamDataTypes = "[class^='TreeRowWrapper_rowWrapper'] div:nth-child(2)"; |
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.
These selectors work for now, but ideally, we should try to use testIds instead because the implementation can always change and break this. For this PR, it's OK to leave because we also have the problem in other areas.
In scope of PR was added test for checking stream view (test case number c_19)
https://docs.google.com/spreadsheets/d/1OMKYYoTAFeCAk_ZXUlFmiKpfnt7x5edRGxRQB4XMyQM