We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1383785 commit e9054adCopy full SHA for e9054ad
tests/examples/test_examples_viz.py
@@ -72,12 +72,12 @@ def run_model_test(
72
# Display and capture the updated visualizations
73
display(space_viz)
74
page_session.wait_for_selector("img")
75
- changed_space = page_session.locator("img").screenshot()
+ changed_space = page_session.locator("img").first.screenshot()
76
77
if measure_config:
78
display(graph_viz)
79
80
- changed_graph = page_session.locator("img").screenshot()
+ changed_graph = page_session.locator("img").last.screenshot()
81
82
# Convert screenshots to base64 for comparison
83
initial_space_encoding = base64.b64encode(initial_space).decode()
0 commit comments