-
Notifications
You must be signed in to change notification settings - Fork 8.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
[TSVB] Add more functional tests for Table #105060
[TSVB] Add more functional tests for Table #105060
Conversation
# Conflicts: # test/functional/page_objects/visual_builder_page.ts
const [, denominatorInput] = await this.find.allByCssSelector( | ||
'.tvbAggRow [data-test-subj="queryInput"]' | ||
); | ||
await denominatorInput.type(denominator); |
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.
can we create private function with common logic and in these methods just return needed input?
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.
See comment
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
|
||
public async setFilterRatioOption(optionType: 'numerator' | 'denominator', query: string) { | ||
const optionInput = await this.find.byCssSelector( | ||
`[data-test-subj="${optionType}Row"] [data-test-subj="queryInput"]` |
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.
@VladLasitsa @dziyanadzeraviankina
we are trying to avoid using css selectors especially if for both components we already added data-test-subj
attributes
Please check other places
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-app (Team:KibanaApp) |
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, thanx @dziyanadzeraviankina :)
* [TSVB] Add more functional tests for Table * Update filter ratio setting numerator denominator function * Refactor set filter ratio numerator and denominator functions in visual_builder_page.ts * Update setFilterRatioOption function
* [TSVB] Add more functional tests for Table * Update filter ratio setting numerator denominator function * Refactor set filter ratio numerator and denominator functions in visual_builder_page.ts * Update setFilterRatioOption function
Summary
Added functional tests for TSVB
Table
covering cases mentioned here (#102606)For maintainers