mirror of
https://github.com/nasa/openmct.git
synced 2024-12-18 20:57:53 +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);
|
||||
});
|
||||
|
||||
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
|
||||
);
|
||||
});
|
||||
});
|
||||
|
@ -40,7 +40,7 @@ export default class LADTableView {
|
||||
{
|
||||
el: element,
|
||||
components: {
|
||||
LadTable
|
||||
LadTable: Object.create(LadTable)
|
||||
},
|
||||
provide: {
|
||||
openmct: this.openmct,
|
||||
|
Loading…
Reference in New Issue
Block a user