Skip to content

test: QA-103 manually set game location to manage a game - #23697

Merged
RedRanger14 merged 8 commits into
masterfrom
michaelfinney-qa-103
Aug 12, 2026
Merged

test: QA-103 manually set game location to manage a game#23697
RedRanger14 merged 8 commits into
masterfrom
michaelfinney-qa-103

Conversation

@RedRanger14

@RedRanger14 RedRanger14 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Covers Games [#8.8]: unmanaged game listed, 'Game not discovered' dialog shown, manual folder selection accepted, game becomes active and listed as Managed, and a mod installs for it. Extracts the showOpenDialog stub into helpers/dialogs and adds Managed/Unmanaged section and dialog locators to the GamesPage POM. https://linear.app/nexus-mods/issue/QA-103/games-88-manually-set-a-games-location-to-successfully-manage-it

Store selection is skipped by the app itself under VORTEX_E2E, and no UAC prompt occurs for user-writable fake game dirs.

Covers Games [#8.8]: unmanaged game listed, 'Game not discovered'
dialog shown, manual folder selection accepted, game becomes active
and listed as Managed, and a mod installs for it. Extracts the
showOpenDialog stub into helpers/dialogs and adds Managed/Unmanaged
section and dialog locators to the GamesPage POM.

Store selection is skipped by the app itself under VORTEX_E2E, and no
UAC prompt occurs for user-writable fake game dirs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@RedRanger14
RedRanger14 marked this pull request as ready for review July 15, 2026 14:36
@RedRanger14
RedRanger14 requested a review from a team as a code owner July 15, 2026 14:37
A failed probe build exited 0, so nx cached the empty result as
success and the app shipped without dotnetprobe - the renderer then
crashes at runtime ('Target crashed' in random e2e tests, seen on the
Linux runner). The build cache key also lacked the platform, letting
one OS's cached binary satisfy the other on shared caches.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@RedRanger14
RedRanger14 requested a review from a team as a code owner July 15, 2026 14:54
RedRanger14 and others added 2 commits July 15, 2026 17:12
The test steps run with continue-on-error, so a hard failure before
Playwright starts (e.g. the app build aborting) was only visible as
the encrypt step tripping over a missing test-results directory. Add
an explicit check that fails with a pointer to the real log, and skip
the encrypt/upload steps when there is nothing to archive.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…e config

Machines with no configured NuGet sources (seen on a dev machine and
suspected on the Linux CI runner) fail restore with NU1100 and shipped
a probe-less build. A project-scoped nuget.config with an explicit
nuget.org source removes the dependency on machine-level config.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@RedRanger14
RedRanger14 requested a review from Aragas July 21, 2026 08:54
Marcin-NM
Marcin-NM previously approved these changes Jul 22, 2026
Comment thread tools/dotnetprobe/nuget.config
Comment thread packages/e2e/src/tests/game-management.spec.ts Outdated

@IDCs IDCs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Functionally these changes are fine - but they're partially duplicated code and will be a maintenance nightmare going forward if we keep duplicating and diverging for each test we write.

…g the flow

The 'Game not discovered' dialog assertions move into manageGame so
the fixture path and the test share one implementation; the test keeps
only its ticket-specific assertions.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
IDCs
IDCs previously approved these changes Jul 23, 2026
@github-actions

Copy link
Copy Markdown

This PR has been marked as stale due to inactivity.

@github-actions

github-actions Bot commented Aug 6, 2026

Copy link
Copy Markdown

This PR has conflicts. You need to rebase the PR before it can be merged.

RedRanger14 and others added 2 commits August 10, 2026 10:08
# Conflicts:
#	packages/e2e/src/selectors/games.ts
Master's games-page redesign replaced the bootstrap panels with
CollapsibleSection headers and made the list windowed - section
locators now anchor on the header buttons, and the QA-103 section
assertions filter by name first. Mod URLs move to the shared
constants file introduced on master.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

This PR doesn't have conflicts anymore. It can be merged after all status checks have passed and it has been reviewed.

Consolidates the remaining repeated patterns across specs: opening a
game workspace via its spine button (game-management, mods-deploy) and
opening the Mods page to verify a mod is listed (game-management,
mods.spec, install helper).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@RedRanger14
RedRanger14 merged commit 24eda13 into master Aug 12, 2026
11 of 12 checks passed
@RedRanger14
RedRanger14 deleted the michaelfinney-qa-103 branch August 12, 2026 10:33
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.

4 participants