Add function to upload VuMark SVG templates#1222
Merged
adamtheturtle merged 1 commit intomainfrom Feb 16, 2026
Merged
Conversation
20e1a67 to
ae6d5e3
Compare
There was a problem hiding this comment.
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, | ||
| ), |
There was a problem hiding this comment.
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.
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>
ae6d5e3 to
8e7b398
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


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 avumark_template.svgfixture used for upload validation, and updates the private spelling dictionary to includeSVG.Written by Cursor Bugbot for commit 8e7b398. This will update automatically on new commits. Configure here.