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

School user -> refactor remove and view provider specs #1196

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dp-daly
Copy link
Contributor

@dp-daly dp-daly commented Nov 22, 2024

Context

We have agreed as a team that we'd like to pursue a new style of system specs to bring our organically (home baked) system specs in line and identify any gaps in their testing.

Changes proposed in this pull request

  • Adds new style system spec for a school user removing a provider to their list of providers
  • Adds new style system spec for a school user without partnerships viewing their empty provider list
  • Removes spec for viewing provider show page due to existing coverage in other provider specs
  • Adds warning text matcher to spec/support/govuk_component_matchers.rb file

Guidance to review

  • Review the spec files and look for any missed scenarios or elements that are important to an end user.

Link to Trello card

https://trello.com/c/ZU2ak4pn/940-refactor-school-user-view-provider-view-provider-list-and-remove-provider-system-specs

- Refactor school user removes provider spec
- Refactor school user view empty provider list spec
- Remove school user view show page spec due to duplication
@dp-daly dp-daly requested review from a team as code owners November 22, 2024 15:54
@dp-daly dp-daly self-assigned this Nov 22, 2024
@dp-daly dp-daly changed the title School user -> refactor provider specs School user -> refactor remove and view provider specs Nov 22, 2024
Copy link
Contributor

@Kizr Kizr left a comment

Choose a reason for hiding this comment

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

The overall structure looks great, just a few questions to have a think about! ✨

@dp-daly dp-daly force-pushed the school-user-refactor-view-and-remove-provider-specs branch from d06b4df to 76a2949 Compare November 26, 2024 12:02
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.

2 participants