[ftr] migrate dashboard services to FtrService class#100519
Merged
spalger merged 2 commits intoelastic:masterfrom May 26, 2021
Merged
[ftr] migrate dashboard services to FtrService class#100519spalger merged 2 commits intoelastic:masterfrom
spalger merged 2 commits intoelastic:masterfrom
Conversation
80d30f0 to
70ebf69
Compare
Contributor
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
cqliu1
approved these changes
May 26, 2021
Contributor
cqliu1
left a comment
There was a problem hiding this comment.
Looks pretty straightforward. Approved! 👍
…ervice-class/dashboard-services
Contributor
💚 Build Succeeded
Metrics [docs]Unknown metric groupsReferences to deprecated APIs
History
To update your PR or re-run it, just comment with: |
Contributor
💔 Backport failed
To backport manually run: |
spalger
added a commit
to spalger/kibana
that referenced
this pull request
May 26, 2021
Co-authored-by: spalger <spalger@users.noreply.github.com> # Conflicts: # test/functional/services/dashboard/add_panel.ts # test/functional/services/index.ts
spalger
added a commit
that referenced
this pull request
May 26, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In order to migrate the root
testdirectory to its own TypeScript project that can be ref'd we need to stop returning class expressions from provider functions. Part of #99148Migrates the
test/services/dashboardclasses to the newFtrServiceclass, basically just extracted the classes from the provider and remapped services/PageObjects referenced in scope to access private properties on the service instance. Viewing changes with whitespace disabled will help with review.