-
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
[EuiProvider / Functional tests] Check for EuiProvider Dev Warning #189018
[EuiProvider / Functional tests] Check for EuiProvider Dev Warning #189018
Conversation
da43610
to
460702e
Compare
db664e1
to
dce12de
Compare
dce12de
to
df601cd
Compare
96222b4
to
82bb60c
Compare
ceb634c
to
227d823
Compare
9c1a87b
to
2cefa76
Compare
This reverts commit e27b1cf.
60742f2
to
540d733
Compare
Pinging @elastic/appex-sharedux (Team:SharedUX) |
Code change LGTM. It might be helpful to have a few sentences in docs section, so folks can better understand how it is integrated in functional tests design. Not sure about place, but we have |
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, left a question about docs
// eslint-disable-next-line no-console | ||
console.error(errorObject); | ||
|
||
// 2. store error in sessionStorage so it can be detected in testing | ||
sessionStorage.setItem('dev.euiProviderWarning.message', providerError.toString()); |
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.
tiny nit: I'd put all of this under a single key as a serialized json since they are part of the same state
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.
Good point. I have pushed 8d675a6
I agree that shining more light on this change will help developers avoid mistakes. I have pushed a5ec727 |
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. Great work!
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.
Code lgtm 👍
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Page load bundle
History
To update your PR or re-run it, just comment with: |
Summary
Follows #184608
Closes https://github.com/elastic/kibana-team/issues/805