fix(website): the DLSS 5 settings card and tests follow the preset and model rows moving to the DLSS 5 page #2709
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2709
Loading…
Reference in a new issue
No description provided.
Delete branch "HumanBean/Longshot:fix/website-dlss5-page-tests"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Two tests in
website/tests/graphics-settings.test.tsfail onmainsince #2582 moved the DLSS 5 preset and model rows to the DLSS 5 page: the settings table now names them on the DLSS 5 settings row's line, so they are no longer cards of their own (the page's other tuning rows never were). Fixing the tests alone would have left one wrong card: the table's new wording for DLSS 5 settings ("only on an RTX 50 card with both DLSS 5 files", about the model inside it) matched the badge rule for the old model row, so the page row would have shown an "RTX 50 with both DLSS 5 files" badge although it shows whenever DLSS 5 is On.website/src/repo-docs/graphics-settings.ts: drop the RTX 50 badge rule, which no row owns now. A row that names a new condition still fails the build until a rule names it.website/tests/graphics-settings.test.ts: the DLSS 5 test now holds the real outcome (DLSS 5 and DLSS 5 settings badges, the settings row not a restart row, no separate preset or model card, the row's line still naming the preset, the model and its restart wait, the "no condition" and page-registration drift checks); the restart list no longer has DLSS 5 model, which the menu lists on the page, not on Graphics.To see it on
main:scripts/website_check.sh(two failures in graphics-settings.test.ts). Read first: the DLSS 5 test.Testing
Tested: Linux,
scripts/website_check.sh: all 98 website tests pass; pre-commit on the changed files passes. Website only, nothing the game runs; the page text is unchanged, so there are no screenshots.Still to test: None.
Measurements
Nothing to measure: a website test and badge rule, no game code.
Risks
Nothing a player sees changes except that the DLSS 5 settings card no longer carries a wrong RTX 50 badge; a revert is enough.
Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
mainand passes here.tests/that reads changed source is updated, not weakened.Assisted-by:/Co-Authored-By:trailers.🤖 Generated with Claude Code
WIP: fix(website): the DLSS 5 settings card and tests follow the preset and model rows moving to the DLSS 5 pageto fix(website): the DLSS 5 settings card and tests follow the preset and model rows moving to the DLSS 5 page