Skip to content

Commit

Permalink
Skip unstable tests (#26342)
Browse files Browse the repository at this point in the history
  • Loading branch information
Raushen authored Dec 22, 2023
1 parent 35147f4 commit 835add8
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ test('The column reordering should work correctly when there is a fixed column w
}));

// T1038094
test('The separator should display correctly when dragging column', async (t) => {
test.skip('The separator should display correctly when dragging column', async (t) => {
const dataGrid = new DataGrid('#container');

await dataGrid.moveHeader(0, 200, 5, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2079,7 +2079,7 @@ test('The "Cannot read property "brokenRules" of undefined" error occurs T978286
}));
});

test('Cells should be focused correctly on click when cell editing mode is used with enabled showEditorAlways (T1037019)', async (t) => {
test.skip('Cells should be focused correctly on click when cell editing mode is used with enabled showEditorAlways (T1037019)', async (t) => {
const dataGrid = new DataGrid('#container');

// act
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,15 @@ editingModes.forEach((mode) => {
repaintChangesOnly,
};

test(`Update cell value ${JSON.stringify({
const testCase = mode === 'cell'
&& dataField === 'text'
&& !repaintChangesOnly
&& useKeyboard
&& !useMask
&& !isAdding
? test.skip : test;

testCase(`Update cell value ${JSON.stringify({
mode, dataField, repaintChangesOnly, useKeyboard, useMask, isAdding,
})}`, async (t) => {
const rowIndex = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ test('pageSizeSelector has correct layout inside masterDetail', async (t) => {
}));

// T1159578
safeSizeTest('The master detail row should display correctly when renderAsync, virtual scrolling and column fixing features are enabled', async (t) => {
/* safeSizeTest */test.skip('The master detail row should display correctly when renderAsync, virtual scrolling and column fixing features are enabled', async (t) => {
// arrange
const { takeScreenshot, compareResults } = createScreenshotsComparer(t);

Expand All @@ -140,7 +140,7 @@ safeSizeTest('The master detail row should display correctly when renderAsync, v
await t
.expect(compareResults.isValid())
.ok(compareResults.errorMessages());
}, [800, 800])
}/* , [800, 800] */)
.before(() => createWidget('dxDataGrid', {
dataSource: [...new Array(40)].map((_, index) => ({ id: index, text: `item ${index}` })),
keyExpr: 'id',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ test('The draggable element should be displayed correctly after horizontal scrol
});
});

test('Dragging with scrolling should be prevented by e.cancel (T1179555)', async (t) => {
test.skip('Dragging with scrolling should be prevented by e.cancel (T1179555)', async (t) => {
const dataGrid = new DataGrid('#container');

await dataGrid.scrollBy({ top: 10000 });
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1616,7 +1616,7 @@ test('Restoring focus on re-rendering should be done without unexpected scrollin
});
});

test('Warning should be thrown if scrolling is virtual and height is not specified', async (t) => {
test.skip('Warning should be thrown if scrolling is virtual and height is not specified', async (t) => {
const consoleMessages = await t.getBrowserConsoleMessages();
const warningExists = !!consoleMessages?.warn.find((message) => message.startsWith('W1025'));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ test('Recurrence appointments should be deleted by click on \'delete\' button',
.eql(0);
}).before(async () => createScheduler(createRecurrenceData()));

test('Recurrence appointments should be deleted by press \'delete\' key', async (t) => {
test.skip('Recurrence appointments should be deleted by press \'delete\' key', async (t) => {
const scheduler = new Scheduler('#container');

await t
Expand Down

0 comments on commit 835add8

Please sign in to comment.