mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[EuiProvider] Hide unwanted toast until a fix can be done !! (#203244)
## Summary Hiding this until it can be fixed via https://github.com/elastic/kibana/issues/201805 !! <img width="1341" alt="image" src="https://github.com/user-attachments/assets/64d86aca-9c0e-4e94-9449-5f6a1c6a3288">
This commit is contained in:
parent
df3b18214f
commit
354858264f
2 changed files with 5 additions and 2 deletions
|
@ -182,6 +182,7 @@ export class ChromeService {
|
|||
};
|
||||
|
||||
// Ensure developers are notified if working in a context that lacks the EUI Provider.
|
||||
// @ts-expect-error
|
||||
private handleEuiDevProviderWarning = (notifications: NotificationsStart) => {
|
||||
const isDev = this.params.coreContext.env.mode.name === 'development';
|
||||
if (isDev) {
|
||||
|
@ -240,7 +241,8 @@ export class ChromeService {
|
|||
}: StartDeps): Promise<InternalChromeStart> {
|
||||
this.initVisibility(application);
|
||||
this.handleEuiFullScreenChanges();
|
||||
this.handleEuiDevProviderWarning(notifications);
|
||||
// commented out until https://github.com/elastic/kibana/issues/201805 can be fixed
|
||||
// this.handleEuiDevProviderWarning(notifications);
|
||||
|
||||
const globalHelpExtensionMenuLinks$ = new BehaviorSubject<ChromeGlobalHelpExtensionMenuLink[]>(
|
||||
[]
|
||||
|
|
|
@ -15,7 +15,8 @@ export default function ({ getPageObjects, getService }: PluginFunctionalProvide
|
|||
const testSubjects = getService('testSubjects');
|
||||
const browser = getService('browser');
|
||||
|
||||
describe('EUI Provider Dev Warning', () => {
|
||||
// skipped until https://github.com/elastic/kibana/issues/201805 is resolved
|
||||
describe.skip('EUI Provider Dev Warning', () => {
|
||||
it('shows error toast to developer', async () => {
|
||||
const pageTitle = 'EuiProvider test - Elastic';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue