mirror of
https://github.com/nasa/openmct.git
synced 2025-01-02 03:16:41 +00:00
WIP
This commit is contained in:
parent
04adb790a0
commit
62dcf76798
@ -75,7 +75,7 @@ test.describe('Navigation memory leak is not detected in', () => {
|
|||||||
expect(result).toBe(true);
|
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');
|
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.
|
// 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
|
// eslint-disable-next-line no-undef
|
||||||
window.fr = new FinalizationRegistry(resolve);
|
window.fr = new FinalizationRegistry(resolve);
|
||||||
window.fr.register(
|
window.fr.register(
|
||||||
window.openmct.layout.$refs.browseObject.$refs.objectViewWrapper.firstChild.__vue__,
|
window.openmct.layout.$refs.browseObject.$refs.objectViewWrapper.firstChild,
|
||||||
'navigatedObject',
|
'navigatedObject',
|
||||||
window.openmct.layout.$refs.browseObject.$refs.objectViewWrapper.firstChild.__vue__
|
window.openmct.layout.$refs.browseObject.$refs.objectViewWrapper.firstChild
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
@ -40,7 +40,7 @@ export default class LADTableView {
|
|||||||
{
|
{
|
||||||
el: element,
|
el: element,
|
||||||
components: {
|
components: {
|
||||||
LadTable
|
LadTable: Object.create(LadTable)
|
||||||
},
|
},
|
||||||
provide: {
|
provide: {
|
||||||
openmct: this.openmct,
|
openmct: this.openmct,
|
||||||
|
Loading…
Reference in New Issue
Block a user