GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test(legal): reconcile consent tests after #914 and #929 merged independently by Storypapst · Pull Request #1000 · OpenResilienceInitiative/ORISO-Admin

Conversation

@Storypapst

@Storypapst Storypapst commented Sep 17, 2026

Copy link
Copy Markdown
Collaborator

Problem: dev is red since #972 (#914) merged on top of #929: two legal-editor tests contradict each other's contract. Both PRs were green alone.

What changed (tests only):

  • A Fachbereich without a consentText yet is the seed case of Consent template chooser is hidden for departments without an existing consent sentence #929: consentByLanguage is {} (chooser offered), no explanation.
  • The agency-wide entry now renders the Consent text field is completely absent when no specific Fachbereich is selected (zero departments, or 'Alle Fachbereiche') #914 explanation, so its consent slot is no longer empty; the test asserts the notice trigger instead.

Verification: vitest --project unit src/components/Tenants/LegalSettings — 241 passed.

Also cherry-picked into #999 so that PR's CI is green meanwhile.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@Storypapst @claude
test(legal): reconcile consent tests after #914 and #929 merged indep…
9aea509
…endently

A Fachbereich without a consentText yet is the seed case (#929): the
consent map is empty, not absent, and the chooser is offered. The
agency-wide entry now carries the #914 explanation, so its slot is no
longer empty. Both PRs were green alone; dev went red on the merge.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
@Storypapst
Storypapst requested review from nikunjdecyb and shazia-k September 17, 2026 03:56
@coderabbitai

coderabbitai Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 7 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 88 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Your organization has reached its usage spending cap. Adjust your spending cap in the billing tab.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Team

Run ID: 7626d143-45a8-47bc-a9fc-6697daacc9d7

📥 Commits

Reviewing files that changed from the base of the PR and between d9d508d and 9aea509.

📒 Files selected for processing (2)
  • src/components/Tenants/LegalSettings/components/AgencyLegalTextContainer/AgencyLegalTextContainer.consentEmptyDepartment.test.tsx
  • src/components/Tenants/LegalSettings/components/AgencyLegalTextContainer/AgencyLegalTextContainer.consentUnavailable.test.tsx

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Storypapst
Storypapst requested a review from shanzaeimran September 17, 2026 08:22
@Storypapst Storypapst assigned shanzaeimran Sep 17, 2026
shanzaeimran
shanzaeimran approved these changes Sep 17, 2026
View reviewed changes
@shanzaeimran
shanzaeimran merged commit a751070 into dev Sep 17, 2026
7 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@shanzaeimran
shanzaeimran deleted the fix/legal-consent-tests-after-914-929 branch September 17, 2026 08:57
@Hassan9215 Hassan9215 mentioned this pull request Sep 17, 2026
Release Admin v2.0.7 #1010
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@shanzaeimran shanzaeimran shanzaeimran approved these changes
@nikunjdecyb nikunjdecyb Awaiting requested review from nikunjdecyb
@shazia-k shazia-k Awaiting requested review from shazia-k

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@shanzaeimran shanzaeimran

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@Storypapst @shanzaeimran
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.