From e3aa580016638480c58f07608a8848ff9a170c53 Mon Sep 17 00:00:00 2001 From: David Cui <53581635+davidcui-amzn@users.noreply.github.com> Date: Wed, 10 Feb 2021 15:46:17 -0800 Subject: [PATCH] fix nested field cypress test (#1045) --- workbench/.cypress/integration/ui.spec.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/workbench/.cypress/integration/ui.spec.js b/workbench/.cypress/integration/ui.spec.js index 85fcccc7a3..43301c047f 100644 --- a/workbench/.cypress/integration/ui.spec.js +++ b/workbench/.cypress/integration/ui.spec.js @@ -214,8 +214,7 @@ describe('Test table display', () => { }); }); - // skip until nested support is added - it.skip('Test nested fields display', () => { + it('Test nested fields display', () => { cy.get('textarea.ace_text-input') .eq(0) .focus() @@ -229,7 +228,7 @@ describe('Test table display', () => { cy.get('span.euiTableCellContent__text') .eq(24) .should((cell) => { - expect(cell).to.contain('2018-06-23'); + expect(cell).to.contain('comment_2_1'); }); }); });