Browse Source

test: add delay before undo after renaming view

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/5332/head
mertmit 2 years ago
parent
commit
2933237c3a
  1. 1
      tests/playwright/tests/undo-redo.spec.ts

1
tests/playwright/tests/undo-redo.spec.ts

@ -442,6 +442,7 @@ test.describe('Undo Redo - Table & view rename operations', () => {
}
await dashboard.viewSidebar.renameView({ title: viewTypes[i], newTitle: 'newNameForTest' });
await dashboard.viewSidebar.verifyView({ title: 'newNameForTest', index: 1 });
await new Promise(resolve => setTimeout(resolve, 100));
await undo({ page });
await dashboard.viewSidebar.verifyView({ title: viewTypes[i], index: 1 });
await dashboard.viewSidebar.deleteView({ title: viewTypes[i] });

Loading…
Cancel
Save