diff --git a/change/@ni-nimble-components-b8f24320-d835-42a0-b1d8-1b183206df94.json b/change/@ni-nimble-components-b8f24320-d835-42a0-b1d8-1b183206df94.json new file mode 100644 index 0000000000..8c2d592396 --- /dev/null +++ b/change/@ni-nimble-components-b8f24320-d835-42a0-b1d8-1b183206df94.json @@ -0,0 +1,7 @@ +{ + "type": "none", + "comment": "Disable failing tests in Firefox", + "packageName": "@ni/nimble-components", + "email": "20542556+mollykreis@users.noreply.github.com", + "dependentChangeType": "none" +} diff --git a/packages/nimble-components/src/rich-text/models/tests/markdown-serializer.spec.ts b/packages/nimble-components/src/rich-text/models/tests/markdown-serializer.spec.ts index bac3489a91..aa2680fa6d 100644 --- a/packages/nimble-components/src/rich-text/models/tests/markdown-serializer.spec.ts +++ b/packages/nimble-components/src/rich-text/models/tests/markdown-serializer.spec.ts @@ -337,7 +337,8 @@ Plain text 3`); `); }); - it('Mention node', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2488 + it('Mention node #SkipFirefox', async () => { await appendUserMentionConfiguration(element, [ { key: 'user:1', displayName: 'username1' } ]); @@ -347,7 +348,8 @@ Plain text 3`); expect(element.getMarkdown()).toEqual(' '); }); - it('Multiple Mention node of same type', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2488 + it('Multiple Mention node of same type #SkipFirefox', async () => { await appendUserMentionConfiguration(element, [ { key: 'user:1', displayName: 'username1' }, { key: 'user:2', displayName: 'username2' } diff --git a/packages/nimble-components/src/table-column/duration-text/tests/table-column-duration-text.spec.ts b/packages/nimble-components/src/table-column/duration-text/tests/table-column-duration-text.spec.ts index 540a6e9235..bac0d350e9 100644 --- a/packages/nimble-components/src/table-column/duration-text/tests/table-column-duration-text.spec.ts +++ b/packages/nimble-components/src/table-column/duration-text/tests/table-column-duration-text.spec.ts @@ -142,7 +142,8 @@ describe('TableColumnDurationText', () => { expect(tablePageObject.getCellTitle(0, 0)).toEqual(''); }); - it('removes title on mouseout of cell', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2490 + it('removes title on mouseout of cell #SkipFirefox', async () => { table.style.width = '100px'; await table.setData([{ field: 8607022000 }]); await waitForUpdatesAsync(); @@ -161,7 +162,8 @@ describe('TableColumnDurationText', () => { ); }); - it('updates displayed date when lang token changes', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2490 + it('updates displayed date when lang token changes #SkipFirefox', async () => { await table.setData([{ field: 8607022000 }]); await waitForUpdatesAsync(); expect(tablePageObject.getRenderedCellTextContent(0, 0)).toBe( diff --git a/packages/nimble-components/src/table/tests/table.spec.ts b/packages/nimble-components/src/table/tests/table.spec.ts index f70939ba18..82aadfc841 100644 --- a/packages/nimble-components/src/table/tests/table.spec.ts +++ b/packages/nimble-components/src/table/tests/table.spec.ts @@ -2620,7 +2620,8 @@ describe('Table', () => { await waitForUpdatesAsync(); } - it('maintains scroll position if data does not change', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2491 + it('maintains scroll position if data does not change #SkipFirefox', async () => { await setDataAndScrollToBottom(largeData200); const scrollTopBeforeDisconnect = element.viewport.scrollTop; const firstRenderedRowBeforeDisconnect = getFirstRenderedRowDataIndex(largeData200); @@ -2634,7 +2635,8 @@ describe('Table', () => { ); }); - it('updates scroll position if data length is reduced while not attached', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2491 + it('updates scroll position if data length is reduced while not attached #SkipFirefox', async () => { await setDataAndScrollToBottom(largeData400); const scrollTopBeforeDisconnect = element.viewport.scrollTop; const firstRenderedRowBeforeDisconnect = getFirstRenderedRowDataIndex(largeData400); @@ -2689,7 +2691,8 @@ describe('Table', () => { ); }); - it('adjusts the number of rendered rows when the table height decreases while not attached', async () => { + // Firefox skipped, see https://github.com/ni/nimble/issues/2491 + it('adjusts the number of rendered rows when the table height decreases while not attached #SkipFirefox', async () => { element.style.height = '500px'; await element.setData(largeData200); await waitForUpdatesAsync();