diff --git a/tests/__snapshots__/test_tbl_data.ambr b/tests/__snapshots__/test_tbl_data.ambr
index 6cebc27a3..621d2e3fc 100644
--- a/tests/__snapshots__/test_tbl_data.ambr
+++ b/tests/__snapshots__/test_tbl_data.ambr
@@ -1,8 +1,70 @@
# serializer version: 1
+# name: test_frame_rendering[arrow]
+ '''
+
+
+ $1.00 |
+ a |
+ 4 |
+
+
+ $2.00 |
+ b |
+ 5 |
+
+
+ $3.00 |
+ c |
+ 6 |
+
+
+ '''
+# ---
+# name: test_frame_rendering[pandas]
+ '''
+
+
+ $1.00 |
+ a |
+ 4 |
+
+
+ $2.00 |
+ b |
+ 5 |
+
+
+ $3.00 |
+ c |
+ 6 |
+
+
+ '''
+# ---
+# name: test_frame_rendering[polars]
+ '''
+
+
+ $1.00 |
+ a |
+ 4 |
+
+
+ $2.00 |
+ b |
+ 5 |
+
+
+ $3.00 |
+ c |
+ 6 |
+
+
+ '''
+# ---
# name: test_validate_frame_non_str_cols_warning
'''
pandas DataFrame contains non-string column names. Coercing to strings. Here are the first few non-string columns:
-
* Position 1: 55
* Position 3: 99
'''
diff --git a/tests/test_tbl_data.py b/tests/test_tbl_data.py
index 9ec60ebaf..d6f2dc94e 100644
--- a/tests/test_tbl_data.py
+++ b/tests/test_tbl_data.py
@@ -4,6 +4,8 @@
import pyarrow as pa
import polars.testing
import pytest
+from great_tables import GT
+from great_tables._utils_render_html import create_body_component_h
from great_tables._tbl_data import (
DataFrameLike,
SeriesLike,
@@ -283,3 +285,8 @@ def test_cast_frame_to_string_polars_list_col():
assert new_df["x"].dtype.is_(pl.String)
assert new_df["y"].dtype.is_(pl.String)
assert new_df["z"].dtype.is_(pl.String)
+
+
+def test_frame_rendering(df: DataFrameLike, snapshot):
+ gt = GT(df).fmt_number(columns="col3", decimals=0).fmt_currency(columns="col1")
+ assert create_body_component_h(gt._build_data("html")) == snapshot