gristlabs_grist-core/test/nbrowser
Dmitry S b4cc519616 (core) Ignore leading whitespace in formulas, and strip out leading '=' sign users might add
Summary:
This addresses two issues, differently:
- For a formula with leading whitespace, like " 1+1", it is stored as is, but
  is fixed to work (it should be valid Python, and whitespace is only stripped out
  at parsing time to avoid intentation errors caused by the way it gets parsed)
- For a formula with a leading equals-sign ("="), it is stripped out on the
  client side before the formula is stored. Grist documentation uses leading
  "=" to indicate formulas (because UI shows an "=" icon), and Excel formulas
  actually contain the leading "=", so it is a common mistake to include it.

Test Plan: Added new test cases

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D3873
2023-04-25 15:28:40 -04:00
..
aclTestUtils.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
ActionLog.ts Fixing flaky tests. 2022-12-09 20:15:08 +01:00
AttachmentsLinking.ts (core) Fix linking of new records when attachment is the first thing added. 2023-03-09 08:54:36 -05:00
ChoiceList.ts Changing choice test for a buggy chrome version (#490) 2023-04-13 14:42:41 -04:00
customUtil.ts
CustomView.ts Fixing flaky tests. 2022-12-09 20:15:08 +01:00
CustomWidgets.ts Fixing flaky tests. 2022-12-09 20:15:08 +01:00
CustomWidgetsConfig.ts
DescriptionColumn.ts (core) Adding description icon and tooltip in the GridView 2023-04-20 18:21:31 +02:00
DocTutorial.ts (core) finish porting test/browser/*.test.js tests 2023-04-25 13:33:24 -04:00
DuplicateDocument.ts
Fork.ts (core) Extending timeout in Fork tests 2023-04-19 22:19:37 +02:00
gristUtils.ts (core) Ignore leading whitespace in formulas, and strip out leading '=' sign users might add 2023-04-25 15:28:40 -04:00
HomeIntro.ts (core) Adding tutorial card 2023-03-28 19:57:52 +02:00
homeUtil.ts feat: allow simple click on certain cases for editing field in Widget Card (#446) 2023-04-17 11:14:25 -04:00
LanguageSettings.ts (core) Fix missing placeholder flag icon 2023-02-26 22:23:04 -05:00
Localization.ts do not count unready translations in localization test (#480) 2023-04-03 12:55:08 -04:00
MultiColumn.ts (core) Fixing multicolumn bug on a card view 2022-11-14 21:05:39 +01:00
Pages.ts (core) Add overflowTooltip() tool, and use for long tables in widget picker, and long page names. 2023-03-13 21:47:35 -04:00
ReferenceColumns.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
ReferenceList.ts (core) Update sort and filter UI 2022-11-17 15:33:45 -05:00
RefTransforms.ts
RightPanel.ts (core) Fix for the creator panel on custom section. 2023-04-18 14:11:27 +02:00
RightPanelSelectBy.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
RowMenu.ts
saveViewSection.ts
SelectBy.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectByRefList.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectByRightPanel.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectBySummary.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectBySummaryRef.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectionSummary.ts
Smoke.ts
testServer.ts improve how server.restart functions in tests (#338) 2022-11-01 20:01:15 -04:00
testUtils.ts
ToggleColumns.ts (core) When a checkbox is clicked on a new record, set default values determined by linking 2022-11-10 14:34:40 -05:00