Browse Source

test: null sort order fix in pg

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/4885/head
Raju Udava 2 years ago
parent
commit
d781792f37
  1. 8
      tests/playwright/tests/columnCheckbox.spec.ts

8
tests/playwright/tests/columnCheckbox.spec.ts

@ -98,11 +98,7 @@ test.describe('Checkbox - cell, filter, sort', () => {
isAscending: true, isAscending: true,
isLocallySaved: false, isLocallySaved: false,
}); });
if (isPg(context)) {
await validateRowArray(['1b', '1a', '1c', '1f', '1d', '1e']);
} else {
await validateRowArray(['1d', '1e', '1b', '1a', '1c', '1f']); await validateRowArray(['1d', '1e', '1b', '1a', '1c', '1f']);
}
await toolbar.sort.reset(); await toolbar.sort.reset();
// sort descending & validate // sort descending & validate
@ -111,11 +107,7 @@ test.describe('Checkbox - cell, filter, sort', () => {
isAscending: false, isAscending: false,
isLocallySaved: false, isLocallySaved: false,
}); });
if (isPg(context)) {
await validateRowArray(['1d', '1e', '1a', '1c', '1f', '1b']);
} else {
await validateRowArray(['1a', '1c', '1f', '1b', '1d', '1e']); await validateRowArray(['1a', '1c', '1f', '1b', '1d', '1e']);
}
await toolbar.sort.reset(); await toolbar.sort.reset();
// wait for 10 seconds // wait for 10 seconds

Loading…
Cancel
Save