
* lift node version restraint to allow more recent version if already installed * add node test for latest version * change python version * use purple for debug logs * update workflow * add playwright dev dependency * update workflow * change test * oops * improve test * update test * fix tests * mv units tests to a subfolder * reorganize tests * fix install * update test_state * revert node changes and only keep new tests organization * move integration tests in tests/integration * fix integration workflow * fix dockerfile workflow * fix dockerfile workflow 2 * fix shared_state
12 lines
375 B
Python
12 lines
375 B
Python
from reflex.components.datadisplay.dataeditor import DataEditor
|
|
|
|
|
|
def test_dataeditor():
|
|
editor_wrapper = DataEditor.create().render()
|
|
editor = editor_wrapper["children"][0]
|
|
assert editor_wrapper["name"] == "div"
|
|
assert editor_wrapper["props"] == [
|
|
'css={({ ["width"] : "100%", ["height"] : "100%" })}'
|
|
]
|
|
assert editor["name"] == "DataEditor"
|