Skip to content

Conversation

@zeusongit
Copy link
Contributor

@zeusongit zeusongit commented Jul 18, 2025

Purpose

Fix test to work with the improved recent files logic

Since we do not add invalid paths to recent files anymore, the test was failing as it adds a non-existent file. Updated the test to add a valid file now

Declarations

Check these if you believe they are true

  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • Snapshot of UI changes, if any.
  • Changes to the API follow Semantic Versioning and are documented in the API Changes document.
  • This PR modifies some build requirements and the readme is updated
  • This PR contains no files larger than 50 MB
  • This PR introduces new feature code involve network connecting and is tested with no-network mode.

Release Notes

Fix test to work with the improved recent files logic

Reviewers

(FILL ME IN) Reviewer 1 (If possible, assign the Reviewer for the PR)

(FILL ME IN, optional) Any additional notes to reviewers or testers.

FYIs

(FILL ME IN, Optional) Names of anyone else you wish to be notified of

@zeusongit zeusongit added this to the 3.6 milestone Jul 18, 2025
@zeusongit zeusongit requested review from Copilot and reddyashish July 18, 2025 15:42
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

See the ticket for this pull request: https://jira.autodesk.com/browse/DYN-9191

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a test related to recent files functionality by updating a test configuration file to reference a newly created test file. The change replaces a hardcoded absolute file path with a relative path to a proper test file.

  • Updates the recent files test configuration to use a relative path instead of an absolute path
  • Adds a new Dynamo test file containing a basic addition workflow for testing recent files logic

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
test/settings/RecentFilesTest.dyn New test file containing a simple Dynamo graph with basic addition functionality
test/settings/DynamoSettings-NewSettings.xml Updates recent files path reference from absolute to relative path pointing to the new test file
Comments suppressed due to low confidence (1)

test/settings/DynamoSettings-NewSettings.xml:43

  • The relative path uses hardcoded directory traversal that may be fragile across different test environments. Consider using a more robust path resolution mechanism or environment-relative path.
    <string>..\..\..\test\settings\RecentFilesTest.dyn</string>

@zeusongit
Copy link
Contributor Author

@zeusongit
Copy link
Contributor Author

zeusongit commented Jul 18, 2025

removing milestone, as cherry pick not needed, already merged the test fix to the cherry pick PR of the parent issue here: #16412

@reddyashish
Copy link
Contributor

The test will have to be fixed on 3.6 branch too right?

@zeusongit zeusongit removed this from the 3.6 milestone Jul 18, 2025
@zeusongit
Copy link
Contributor Author

The test will have to be fixed on 3.6 branch too right?

Yes but is part of the main cherry pick PR so we do not need a separate PR for this test fix: #16412

@reddyashish
Copy link
Contributor

Can you check TestImportCopySettings test, it is still failing on other PR's

@zeusongit zeusongit merged commit 231af61 into DynamoDS:master Jul 18, 2025
29 of 31 checks passed
@zeusongit
Copy link
Contributor Author

Can you check TestImportCopySettings test, it is still failing on other PR's

Yes fixed and passed here: https://master-5.jenkins.autodesk.com/job/Dynamo/job/DynamoSelfServe/job/pullRequestValidation/18257/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants