From 4ac83db3b6351195a23754771c9d85725cc34307 Mon Sep 17 00:00:00 2001 From: Ghislain Beaulac Date: Fri, 17 Jul 2020 09:15:15 -0400 Subject: [PATCH 1/2] feat(tests): add more Cypress E2E tests for grid with Editors --- src/app/examples/grid-editor.component.html | 24 +-- src/app/examples/grid-editor.component.ts | 2 +- test/cypress/integration/example03.spec.js | 189 ++++++++++++++++++++ 3 files changed, 202 insertions(+), 13 deletions(-) create mode 100644 test/cypress/integration/example03.spec.js diff --git a/src/app/examples/grid-editor.component.html b/src/app/examples/grid-editor.component.html index fdd5f9626..17ea8ea05 100644 --- a/src/app/examples/grid-editor.component.html +++ b/src/app/examples/grid-editor.component.html @@ -7,11 +7,11 @@

{{title}}

@@ -21,8 +21,8 @@

{{title}}

Undo last edit(s) @@ -31,15 +31,15 @@

{{title}}

+ title="Clear Filters & Sorting to see it better">Add item
- - @@ -58,11 +58,11 @@

{{title}}

- +
diff --git a/src/app/examples/grid-editor.component.ts b/src/app/examples/grid-editor.component.ts index 2a152e161..8b5686704 100644 --- a/src/app/examples/grid-editor.component.ts +++ b/src/app/examples/grid-editor.component.ts @@ -65,7 +65,7 @@ const taskFormatter = (row, cell, value, columnDef, dataContext) => { }) @Injectable() export class GridEditorComponent implements OnInit { - title = 'Example 3: Editors'; + title = 'Example 3: Editors / Delete'; subTitle = ` Grid with Inline Editors and onCellClick actions (Wiki docs).