gristlabs_grist-core/test/nbrowser
Dmitry S 08b91c4cb7 (core) Fix serialization of values derived from primitive types, like IntEnum.
Summary:
There is a range of types that -- when returned from formulas -- used to cause
bad errors (that looked like a data engine crash and were reported as "Memory
Error") because they looked like primitive types but were not marshallable. For
example, IntEnum.

We now encode such values as the primitive type they are based on.

Test Plan:
- Added a unittest that encode_object() now handles problematic values.
- Added a browser test case that problematic values are no longer causing errors.

Reviewers: jarek

Reviewed By: jarek

Differential Revision: https://phab.getgrist.com/D4336
2024-09-04 16:51:51 -04:00
..
aclTestUtils.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
ActionLog.ts Fix failing Docker latest workflow tests (#866) 2024-02-23 15:45:16 -05:00
AdminPanel.ts reconcile boot and admin pages further (#963) 2024-05-23 16:40:31 -04:00
AttachedCustomWidget.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
AttachmentsLinking.ts (core) Fix linking of new records when attachment is the first thing added. 2023-03-09 08:54:36 -05:00
BehavioralPrompts.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
Boot.ts reconcile boot and admin pages further (#963) 2024-05-23 16:40:31 -04:00
BundleActions.ts (core) Polish "Click to insert $id" tooltip 2023-08-09 07:38:34 -07:00
CellColor.ts (core) Add Markdown cell format 2024-08-23 11:24:35 -04:00
ChartView1.ts (core) Treating x axis as category for bar chart 2024-07-23 15:41:38 +02:00
chartViewTestUtils.ts (core) Update dependencies 2023-10-11 17:36:58 -04:00
Choice.ts (core) Use correct empty value in ChoiceEditor.getCellValue 2024-04-30 11:24:36 -04:00
ChoiceList.ts (core) Add shortcut for opening Record Card 2023-12-08 11:32:45 -05:00
ClientUnitTests.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
CodeEditor.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
ColumnFilterMenu2.ts (core) Fix and move filter tests to grist-core 2024-05-24 00:36:18 -07:00
ColumnFilterMenu3.ts (core) Fix and move filter tests to grist-core 2024-05-24 00:36:18 -07:00
ColumnFilterMenu.ts (core) Fix and move filter tests to grist-core 2024-05-24 00:36:18 -07:00
ColumnOps.ntest.js (core) Capitalization in new colum menu 2023-12-05 17:01:22 +01:00
CopyPaste2.ntest.js (core) Update dependencies 2023-10-11 17:36:58 -04:00
CopyPaste.ts (core) Adding UI for timing API 2024-05-22 14:56:53 +02:00
CopyPasteColumnOptions.ts Fix CI failures (#696) 2023-10-17 15:38:19 -04:00
CopyPasteLinked.ts (core) Update dependencies 2023-10-11 17:36:58 -04:00
CursorSaving.ts (core) Include linking rowIds into remembered cursor position and anchor links. 2024-01-09 09:50:31 -05:00
customUtil.ts (core) Moving widget tests to core 2022-09-06 17:17:14 +02:00
CustomView.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
CustomWidgets.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
CustomWidgetsConfig.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
Dates.ntest.js tweak a date test that can occasionally fail (#592) 2023-07-26 08:08:55 -04:00
DeleteColumnsUndo.ts (core) Fix error in sandbox when removing multiple summary source columns 2023-09-27 16:23:49 +02:00
DescriptionColumn.ts (core) Removing the new menu flag 2023-11-08 07:37:54 +01:00
DescriptionWidget.ts (core) Adding links to description tooltips 2023-08-04 18:34:04 +02:00
DetailView.ntest.js (core) Summary: 2023-10-20 15:43:32 +02:00
DetailView.ts (core) Clicking on a link in a cell won't open the editor. 2023-09-14 17:28:50 +02:00
DocTutorial.ts (core) Update onboarding flow 2024-07-23 11:49:23 -04:00
DropdownConditionEditor.ts (core) updates from grist-core 2024-06-11 09:18:23 -04:00
DuplicateDocument.ts (core) Skip showing empty doc tours 2024-03-07 10:10:55 -05:00
Export.ntest.js (core) Add TSV and DSV import/export 2024-03-20 10:57:21 -04:00
Features.ts (core) Update onboarding flow 2024-07-23 11:49:23 -04:00
FieldConfigTab.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
FieldSettings2.ts (core) Fix the switch of a new column from Common to Separate settings 2023-10-11 09:23:21 -04:00
FieldSettings.ntest.js (core) Update dependencies 2023-10-11 17:36:58 -04:00
FillLinkedRecords.ntest.js Fixing widget selection (#777) 2023-11-27 13:45:38 +01:00
FilteringBugs.ts (core) Fix filtering regression 2024-01-18 13:32:36 -08:00
FilterLinkChain.ts (core) Fix selecting new row in chain of filter links 2023-12-05 16:56:13 +02:00
Fork.ts Fix failing Docker latest workflow tests (#866) 2024-02-23 15:45:16 -05:00
Formulas.ts (core) Fix serialization of values derived from primitive types, like IntEnum. 2024-09-04 16:51:51 -04:00
FormView.ts (core) New Grist Forms styling and field options 2024-04-11 08:17:42 -07:00
GridOptions.ntest.js (core) TypeTransform race condition fix 2023-08-02 17:11:34 +02:00
GridViewBugs.ts (core) Fixing bug with hiding multiple columns 2023-12-08 10:20:43 +01:00
GridViewNewColumnMenu.ts (core) Fix for flaky GridViewNewColumnMenu test which may have been flaky because of window resizing. 2024-06-11 08:43:43 -04:00
gristUtil-nbrowser.js (core) Update dependencies 2023-10-11 17:36:58 -04:00
gristUtils.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
gristWebDriverUtils.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
HeaderColor.ts Header colored (#581) 2023-08-07 11:01:35 -07:00
Health.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
HomeIntro.ts (core) Update onboarding flow 2024-07-23 11:49:23 -04:00
HomeIntroWithoutPlaygound.ts Introduce GRIST_ANON_PLAYGROUND variable #642 (#651) 2023-09-08 09:05:52 -04:00
homeUtil.ts Support nonce and acr with OIDC + other improvements and tests (#883) 2024-08-08 15:35:37 -04:00
Importer2.ts (core) Fix flaky tests 2024-05-02 13:46:33 -04:00
Importer.ts (core) Add dropdown conditions 2024-04-26 16:57:55 -04:00
importerTestUtils.ts (core) Add dropdown conditions 2024-04-26 16:57:55 -04:00
ImportReferences.ts (core) Add support for auto-copying docs on signup 2023-09-06 15:12:08 -04:00
LanguageSettings.ts (core) Fix a bug with editing numbers in some locales. 2024-02-02 22:48:05 -05:00
LinkingBidirectional.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
LinkingErrors.ts (core) Fix for linking issue. 2023-12-20 12:57:41 +01:00
LinkingSelector.ts (core) Tests and bug fixes for bidirectional linking 2023-10-10 15:31:48 +02:00
Localization.ts Renaming invalid resource file and adding simple check in tests for the future. (#930) 2024-04-10 10:32:41 -07:00
MultiColumn.ts (core) Removing the new menu flag 2023-11-08 07:37:54 +01:00
NewDocument.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
NumericEditor.ts (core) Adding UI for timing API 2024-05-22 14:56:53 +02:00
Pages.ts (core) Hiding censored pages and all their leaves 2024-08-14 19:48:17 +02:00
Properties.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
RawData.ts maybe reduce the odds of one RawData test failing (#862) 2024-02-21 10:07:45 -05:00
RecordCards.ts (core) Polish Record Cards 2024-01-30 13:25:50 -05:00
ReferenceColumns.ts Fix nbrowser test failures (#837) 2024-02-01 10:45:18 -05:00
ReferenceList.ts (core) Bundling save funciton in the field editor 2024-07-05 08:58:09 +02:00
RefNumericChange.ts (core) Fix undo of Ref->Numeric conversion. 2023-09-27 08:53:53 -04:00
RefTransforms.ts (core) Fix bug preventing changes to ref list table 2022-10-17 07:49:54 -07:00
RemoveTransformColumns.ts maybe reduce the odds of one RawData test failing (#862) 2024-02-21 10:07:45 -05:00
RightPanel.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
RightPanelSelectBy.ts Bidirectional Linking (#622) 2023-09-25 18:48:18 -04:00
RowMenu.ts Feat: rename all column label from a given row with right click (#848) 2024-03-20 09:34:09 -04:00
SavePosition.ntest.js Fixing widget selection (#777) 2023-11-27 13:45:38 +01:00
saveViewSection.ts feat: forms inhibited when summary selected and vice versa (#1037) 2024-08-14 10:59:06 -04:00
SectionFilter.ts (core) Fix and move filter tests to grist-core 2024-05-24 00:36:18 -07:00
SelectBy.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
SelectByRefList.ts (core) Allow adding rows to widgets filtered by a link using a formula column 2023-12-18 20:28:41 +02:00
SelectByRightPanel.ts (core) Preserving cursor position when linked state is removed. 2023-02-08 21:54:55 +01:00
SelectBySummary.ts (core) Adding confirmation before remove last widget for a table 2024-07-25 16:42:19 +02:00
SelectBySummaryRef.ts avoid test files importing other test files (#550) 2023-06-29 03:15:14 -04:00
SelectionSummary.ts fix: don't count falses in summary (#589) 2023-07-26 12:08:04 -07:00
ShiftSelection.ts Support grid selection with Ctrl+Shift+Arrow (#615) 2023-08-14 09:28:41 -07:00
Smoke.ts (core) Add support for auto-copying docs on signup 2023-09-06 15:12:08 -04:00
SortDates.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
SortEditSave.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
Summaries.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
SupportGrist.ts (core) Admin Panel and InstallAdmin class to identify installation admins. 2024-03-25 12:18:38 -04:00
TermsOfService.ts feat: ADD Terms of service link (#985) 2024-05-16 11:31:37 -04:00
testServer.ts Support nonce and acr with OIDC + other improvements and tests (#883) 2024-08-08 15:35:37 -04:00
testUtils.ts Enabling BiDi mode (#1152) 2024-08-05 23:27:34 +02:00
TextEditor.ntest.js (core) Removing the new menu flag 2023-11-08 07:37:54 +01:00
Timing.ts (core) Disable formula timing UI for non-owners 2024-06-18 10:18:38 -04:00
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
TokenField.ts (core) Fixing DELETE and BACKSPACE keys on ChoiceList and RefList editor. 2023-06-01 16:53:38 +02:00
TypeChange.ntest.js Fixing widget selection (#777) 2023-11-27 13:45:38 +01:00
UndoJumps.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
UploadLimits.ts Fix CI failures (#696) 2023-10-17 15:38:19 -04:00
Validations.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
ViewConfigTab.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
ViewLayoutCollapse.ts (core) Add custom widget gallery 2024-08-14 16:48:36 -04:00
ViewLayoutUtils.ts (core) Update dependencies 2023-10-11 17:36:58 -04:00
Views.ntest.js (core) Adding confirmation before remove last widget for a table 2024-07-25 16:42:19 +02:00
webdriverjq-nbrowser.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
webdriverjq.ntest.js (core) bump mocha version to allow parallel tests; move more tests to core 2023-06-27 02:55:34 -04:00
webdriverUtils.ts (core) Move Billing tests into a separate test suite, and skip some 2024-03-20 20:07:56 -04:00
WebhookOverflow.ts (core) Updating UI for Document Settings 2024-05-13 08:54:04 +02:00
WebhookPage.ts Add authorization header in webhooks stored in secrets table (#941) 2024-07-04 14:17:10 +02:00