From 1641c31c067f0fde62381d23b180eb138b5c7394 Mon Sep 17 00:00:00 2001 From: Camille Date: Mon, 13 Feb 2023 09:34:50 +0100 Subject: [PATCH] style(columnDesc): add semi column and cut too long lines --- test/nbrowser/DescriptionColumn.ts | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/test/nbrowser/DescriptionColumn.ts b/test/nbrowser/DescriptionColumn.ts index 27d9cb36..29f6ca95 100644 --- a/test/nbrowser/DescriptionColumn.ts +++ b/test/nbrowser/DescriptionColumn.ts @@ -59,10 +59,17 @@ describe('DescriptionColumn', function() { await gu.changeWidget('Card'); const detailUndescribedColumnFirstRow = await gu.getDetailCell('A', 1); - assert.isFalse(await detailUndescribedColumnFirstRow.findClosest(".g_record_detail_el").find(".test-column-info-tooltip").isPresent()); + assert.isFalse( + await detailUndescribedColumnFirstRow + .findClosest(".g_record_detail_el") + .find(".test-column-info-tooltip") + .isPresent() + ); const detailDescribedColumnFirstRow = await gu.getDetailCell('B', 1); - const toggle = await detailDescribedColumnFirstRow.findClosest(".g_record_detail_el").find(".test-column-info-tooltip"); + const toggle = await detailDescribedColumnFirstRow + .findClosest(".g_record_detail_el") + .find(".test-column-info-tooltip"); // The toggle to show the description is present if there is a description assert.isTrue(await toggle.isPresent()); @@ -71,11 +78,12 @@ describe('DescriptionColumn', function() { assert.isTrue(await driver.findWait('.test-column-info-tooltip-popup', 1000).isDisplayed()); // Check the content of the tooltip - const descriptionTooltip = await driver.find('.test-column-info-tooltip-popup .test-column-info-tooltip-popup-body'); + const descriptionTooltip = await driver + .find('.test-column-info-tooltip-popup .test-column-info-tooltip-popup-body'); assert.equal(await descriptionTooltip.getText(), 'This is the column description'); // Close the tooltip await toggle.click(); assert.lengthOf(await driver.findAll('.test-column-info-tooltip-popup'), 0); - }) + }); });