-
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
[Dashboard navigation] Functional tests for links panel #167324
[Dashboard navigation] Functional tests for links panel #167324
Conversation
Pinging @elastic/kibana-presentation (Team:Presentation) |
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.
ftr_configs.yml
, packages/kbn-test
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.
Very thorough tests - great job!! 🎉 Thanks so much for doing all the work here. I left a few thoughts, but absolutely nothing that needs to be addressed critically.
src/plugins/links/public/components/external_link/external_link_component.tsx
Show resolved
Hide resolved
src/plugins/links/public/components/dashboard_link/dashboard_link_component.tsx
Show resolved
Hide resolved
test/functional/apps/dashboard_elements/links/links_create_edit.ts
Outdated
Show resolved
Hide resolved
import { LinksLayoutType } from '@kbn/links-plugin/common/content_management'; | ||
import { FtrService } from '../ftr_provider_context'; | ||
|
||
export class DashboardPageLinks extends FtrService { |
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.
Nice!! 🤩
await this.retry.try(async () => { | ||
await this.browser.pressKeys(this.browser.keys.SPACE); | ||
linkToMove.elementHasClass('euiDraggable--isDragging'); | ||
}); | ||
for (let i = 0; i < steps; i++) { | ||
await this.browser.pressKeys(reverse ? this.browser.keys.UP : this.browser.keys.DOWN); | ||
} |
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.
🔥
test/functional/apps/dashboard_elements/links/links_navigation.ts
Outdated
Show resolved
Hide resolved
This is already a unit test
💔 Build FailedFailed CI Steps
Test Failures
Metrics [docs]Async chunks
Page load bundle
Saved Objects .kibana field count
History
To update your PR or re-run it, just comment with: |
Summary
Adds functional tests to the Links panel feature branch.
Flaky test runner forthcoming...