[EuiProvider / Functional tests] Check for EuiProvider Dev Warning#189018
[EuiProvider / Functional tests] Check for EuiProvider Dev Warning#189018tsullivan merged 17 commits intoelastic:mainfrom
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 |
dmlemeshko
left a comment
There was a problem hiding this comment.
LGTM, left a question about docs
| 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.
tiny nit: I'd put all of this under a single key as a serialized json since they are part of the same state
I agree that shining more light on this change will help developers avoid mistakes. I have pushed a5ec727 |
💛 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