diff --git a/e2e/tests/performance/navigation-memory-leak-detection.perf.spec.js b/e2e/tests/performance/navigation-memory-leak-detection.perf.spec.js index 349e700ce1..491ecef57e 100644 --- a/e2e/tests/performance/navigation-memory-leak-detection.perf.spec.js +++ b/e2e/tests/performance/navigation-memory-leak-detection.perf.spec.js @@ -75,7 +75,7 @@ test.describe('Navigation memory leak is not detected in', () => { expect(result).toBe(true); }); - test('LAD table view', async ({ page }) => { + test.only('LAD table view', async ({ page }) => { const result = await navigateToObjectAndDetectMemoryLeak(page, 'lad-table-single-1hz-swg'); // If we got here without timing out, then the root view object was garbage collected and no memory leak was detected. @@ -217,9 +217,9 @@ test.describe('Navigation memory leak is not detected in', () => { // eslint-disable-next-line no-undef window.fr = new FinalizationRegistry(resolve); window.fr.register( - window.openmct.layout.$refs.browseObject.$refs.objectViewWrapper.firstChild.__vue__, + window.openmct.layout.$refs.browseObject.$refs.objectViewWrapper.firstChild, 'navigatedObject', - window.openmct.layout.$refs.browseObject.$refs.objectViewWrapper.firstChild.__vue__ + window.openmct.layout.$refs.browseObject.$refs.objectViewWrapper.firstChild ); }); }); diff --git a/src/plugins/LADTable/LADTableView.js b/src/plugins/LADTable/LADTableView.js index 080e288a3e..c49b38115f 100644 --- a/src/plugins/LADTable/LADTableView.js +++ b/src/plugins/LADTable/LADTableView.js @@ -40,7 +40,7 @@ export default class LADTableView { { el: element, components: { - LadTable + LadTable: Object.create(LadTable) }, provide: { openmct: this.openmct,