Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ANW-1940 port resources spec to capybara #3155

Merged
merged 1 commit into from Apr 19, 2024
Merged

Conversation

thimios
Copy link
Collaborator

@thimios thimios commented Mar 8, 2024

Description

Related JIRA Ticket or GitHub Issue

https://archivesspace.atlassian.net/browse/ANW-1940

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have read the CONTRIBUTING document.
  • I have authority to submit this code.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link
Collaborator

@brianzelip brianzelip left a comment

Choose a reason for hiding this comment

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

@thimios here are some debuggers to be removed

brianzelip
brianzelip previously approved these changes Mar 13, 2024
Copy link
Collaborator

@brianzelip brianzelip left a comment

Choose a reason for hiding this comment

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

This is good to merge once the tests finally pass

@thimios thimios marked this pull request as draft March 14, 2024 18:26
@thimios thimios marked this pull request as ready for review April 12, 2024 17:11
Copy link
Collaborator

@brianzelip brianzelip left a comment

Choose a reason for hiding this comment

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

@thimios Phew that was a big one, nice work! I noticed a couple points for follow up and added some of the solution pointers.

select_repository(@repository)
end

it 'can create a new digital object instance with a note to a resource' do
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this test probably belongs with the resources_spec.rb file since it's testing the ability of a Resource record to create a digital object instance for itself.

The description might also read 'can create and link a new digital object instance with a note'.

frontend/spec/features/resources_spec.rb Show resolved Hide resolved
Copy link
Collaborator

@brianzelip brianzelip left a comment

Choose a reason for hiding this comment

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

👍🏼

@brianzelip brianzelip merged commit 982d84d into master Apr 19, 2024
20 checks passed
@brianzelip brianzelip deleted the ANW-1940-resources-spec branch April 19, 2024 19:49
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.

None yet

2 participants