Skip to content

Commit

Permalink
disable more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mollykreis committed Dec 9, 2024
1 parent 97aef4b commit 10c2ba5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/nimble-components/src/table/tests/table.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 10c2ba5

Please sign in to comment.