🐛(e2e) sync doc grid sorting check
The sorting check was not the same between what django provide and what the e2e test check, it was giving some flakiness. Django seems to ignore the punctuation (space) in its sorting. We improve other test to be more robust as well.
This commit is contained in:
@@ -62,6 +62,8 @@ test.describe('Doc Create', () => {
|
||||
.getByLabel('Datagrid of the documents page 1')
|
||||
.getByRole('table');
|
||||
|
||||
await expect(datagrid.getByLabel('Loading data')).toBeHidden();
|
||||
|
||||
await expect(datagrid.getByText(docTitle)).toBeVisible();
|
||||
|
||||
const row = datagrid.getByRole('row').filter({
|
||||
|
||||
Reference in New Issue
Block a user