Skip to content

Add function to upload VuMark SVG templates#1222

Merged
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/upload-vumark-svg
Feb 16, 2026
Merged

Add function to upload VuMark SVG templates#1222
adamtheturtle merged 1 commit intomainfrom
adamtheturtle/upload-vumark-svg

Conversation

@adamtheturtle
Copy link
Copy Markdown
Member

@adamtheturtle adamtheturtle commented Feb 16, 2026

Adds upload_vumark_template() library function that uploads SVG VuMark templates via the Target Manager "Add Target" flow. The function navigates to a VuMark database, opens the add target dialog, uploads the SVG file, fills in width and template name fields, and waits for the upload to complete.

Includes comprehensive test with a valid GUID VuMark SVG fixture from a public GitHub repository. All tests pass.


Note

Medium Risk
Adds a new Selenium-driven upload flow and an end-to-end test that depends on Vuforia’s web UI, which may be brittle/flaky if the site changes. Also introduces a large SVG fixture into the repo.

Overview
Adds upload_vumark_template() to automate the Target Manager Add Target flow for VuMark databases: open the dialog, upload an SVG via file input, set width/name, submit, and wait for the target to appear.

Adds an integration test (test_upload_vumark_template) plus a vumark_template.svg fixture used for upload validation, and updates the private spelling dictionary to include SVG.

Written by Cursor Bugbot for commit 8e7b398. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

method=expected_conditions.text_to_be_present_in_element(
locator=(By.ID, "table_row_0_target_name"),
text_=template_name,
),
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upload completion check assumes first table row

Medium Severity

upload_vumark_template waits for template_name only in table_row_0_target_name. If the database already has targets or the table sort order differs, the upload can succeed but this wait still times out, causing the function to report failure despite a successful upload.

Fix in Cursor Fix in Web

Adds upload_vumark_template() library function that uploads SVG VuMark templates via the Target Manager "Add Target" flow. Includes test with a valid GUID VuMark SVG fixture from a public GitHub repository.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@adamtheturtle adamtheturtle force-pushed the adamtheturtle/upload-vumark-svg branch from ae6d5e3 to 8e7b398 Compare February 16, 2026 14:26
@adamtheturtle adamtheturtle merged commit 7370114 into main Feb 16, 2026
18 checks passed
@adamtheturtle adamtheturtle deleted the adamtheturtle/upload-vumark-svg branch February 16, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant