This commit is contained in:
Nathan Bierema 2024-06-09 21:11:47 -04:00
parent bdb72de849
commit d0f460f3ef

View File

@ -52,13 +52,13 @@ describe('DevTools panel for Electron', function () {
if (attempts === 0) { if (attempts === 0) {
return callback('Redux panel not found'); return callback('Redux panel not found');
} }
if (UI.inspectorView) { if (EUI.inspectorView) {
const tabs = UI.inspectorView.tabbedPane.tabs; const tabs = EUI.inspectorView.tabbedPane.tabs;
const idList = tabs.map((tab) => tab.id); const idList = tabs.map((tab) => tab.id);
const reduxPanelId = const reduxPanelId =
'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux'; 'chrome-extension://lmhkpmbekcpmknklioeibfkpmmfibljdRedux';
if (idList.indexOf(reduxPanelId) !== -1) { if (idList.indexOf(reduxPanelId) !== -1) {
UI.inspectorView.showPanel(reduxPanelId); EUI.inspectorView.showPanel(reduxPanelId);
return callback(reduxPanelId); return callback(reduxPanelId);
} }
} }