[MM-50485] Migrate app to ServerManager, remove view names and replace with IDs (#2672)
* Migrate app to ServerManager, remove view names and replace with IDs * Fixed a test * Fixed a bug when adding the initial server * Merge'd * Bug fixes and PR feedback
This commit is contained in:
@@ -234,9 +234,8 @@ module.exports = {
|
||||
if (!window.testHelper) {
|
||||
return null;
|
||||
}
|
||||
const name = await window.testHelper.getViewName();
|
||||
const webContentsId = await window.testHelper.getWebContentsId();
|
||||
return {viewName: name, webContentsId};
|
||||
const info = await window.testHelper.getViewInfoForTest();
|
||||
return {viewName: `${info.serverName}___${info.tabType}`, webContentsId: info.webContentsId};
|
||||
}).then((result) => {
|
||||
if (result) {
|
||||
map[result.viewName] = {win, webContentsId: result.webContentsId};
|
||||
|
Reference in New Issue
Block a user