|
35 | 35 | from baserow.core.action.registries import action_type_registry |
36 | 36 | from baserow.core.actions import CreateApplicationActionType |
37 | 37 | from baserow.core.db import specific_iterator |
| 38 | +from baserow.core.formula import BaserowFormulaObject |
| 39 | +from baserow.core.formula.field import BASEROW_FORMULA_VERSION_INITIAL |
| 40 | +from baserow.core.formula.types import BASEROW_FORMULA_MODE_SIMPLE |
38 | 41 | from baserow.core.registries import ImportExportConfig, application_type_registry |
39 | 42 | from baserow.core.storage import ExportZipFile |
40 | 43 | from baserow.core.trash.handler import TrashHandler |
@@ -248,6 +251,11 @@ def test_builder_application_export(data_fixture): |
248 | 251 | "parent_element_id": None, |
249 | 252 | "place_in_container": None, |
250 | 253 | "visibility": "all", |
| 254 | + "visibility_condition": BaserowFormulaObject( |
| 255 | + formula="", |
| 256 | + mode=BASEROW_FORMULA_MODE_SIMPLE, |
| 257 | + version=BASEROW_FORMULA_VERSION_INITIAL, |
| 258 | + ), |
251 | 259 | "css_classes": "", |
252 | 260 | "styles": {}, |
253 | 261 | "style_border_top_color": "border", |
@@ -296,6 +304,11 @@ def test_builder_application_export(data_fixture): |
296 | 304 | "place_in_container": None, |
297 | 305 | "css_classes": "", |
298 | 306 | "visibility": "all", |
| 307 | + "visibility_condition": BaserowFormulaObject( |
| 308 | + formula="", |
| 309 | + mode=BASEROW_FORMULA_MODE_SIMPLE, |
| 310 | + version=BASEROW_FORMULA_VERSION_INITIAL, |
| 311 | + ), |
299 | 312 | "styles": {}, |
300 | 313 | "style_border_top_color": "border", |
301 | 314 | "style_border_top_size": 0, |
@@ -432,6 +445,11 @@ def test_builder_application_export(data_fixture): |
432 | 445 | "place_in_container": None, |
433 | 446 | "css_classes": "", |
434 | 447 | "visibility": "all", |
| 448 | + "visibility_condition": BaserowFormulaObject( |
| 449 | + formula="", |
| 450 | + mode=BASEROW_FORMULA_MODE_SIMPLE, |
| 451 | + version=BASEROW_FORMULA_VERSION_INITIAL, |
| 452 | + ), |
435 | 453 | "styles": {}, |
436 | 454 | "style_border_top_color": "border", |
437 | 455 | "style_border_top_size": 0, |
@@ -470,6 +488,11 @@ def test_builder_application_export(data_fixture): |
470 | 488 | "place_in_container": None, |
471 | 489 | "css_classes": "", |
472 | 490 | "visibility": "all", |
| 491 | + "visibility_condition": BaserowFormulaObject( |
| 492 | + formula="", |
| 493 | + mode=BASEROW_FORMULA_MODE_SIMPLE, |
| 494 | + version=BASEROW_FORMULA_VERSION_INITIAL, |
| 495 | + ), |
473 | 496 | "styles": {}, |
474 | 497 | "style_border_top_color": "border", |
475 | 498 | "style_border_top_size": 0, |
@@ -507,6 +530,11 @@ def test_builder_application_export(data_fixture): |
507 | 530 | "place_in_container": None, |
508 | 531 | "css_classes": "", |
509 | 532 | "visibility": "all", |
| 533 | + "visibility_condition": BaserowFormulaObject( |
| 534 | + formula="", |
| 535 | + mode=BASEROW_FORMULA_MODE_SIMPLE, |
| 536 | + version=BASEROW_FORMULA_VERSION_INITIAL, |
| 537 | + ), |
510 | 538 | "styles": {}, |
511 | 539 | "style_border_top_color": "border", |
512 | 540 | "style_border_top_size": 0, |
@@ -546,6 +574,11 @@ def test_builder_application_export(data_fixture): |
546 | 574 | "place_in_container": "0", |
547 | 575 | "css_classes": "", |
548 | 576 | "visibility": "all", |
| 577 | + "visibility_condition": BaserowFormulaObject( |
| 578 | + formula="", |
| 579 | + mode=BASEROW_FORMULA_MODE_SIMPLE, |
| 580 | + version=BASEROW_FORMULA_VERSION_INITIAL, |
| 581 | + ), |
549 | 582 | "styles": {}, |
550 | 583 | "style_border_top_color": "border", |
551 | 584 | "style_border_top_size": 0, |
|
0 commit comments