From a1e45ad16a182eb7de5dc4928664c40334a15356 Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Fri, 24 Mar 2023 13:29:47 +0530 Subject: [PATCH] test: table rename Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- tests/playwright/tests/undo-redo.spec.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/playwright/tests/undo-redo.spec.ts b/tests/playwright/tests/undo-redo.spec.ts index 5224550a49..7eeee5fda8 100644 --- a/tests/playwright/tests/undo-redo.spec.ts +++ b/tests/playwright/tests/undo-redo.spec.ts @@ -354,6 +354,15 @@ test.describe('Undo Redo', () => { title: 'numberBased', index: 0, }); + + // tabel rename + await dashboard.treeView.renameTable({ title: 'numberBased', newTitle: 'newNameForTest' }); + await dashboard.treeView.verifyTable({ title: 'newNameForTest' }); + await dashboard.rootPage.waitForTimeout(100); + + await undo({ page }); + await dashboard.rootPage.waitForTimeout(100); + await dashboard.treeView.verifyTable({ title: 'numberBased' }); }); });