test(pokedex): cover shared dex privacy

This commit is contained in:
Josh Creek
2026-09-14 14:25:22 +01:00
parent 7240376e00
commit 27274171fe
6 changed files with 311 additions and 1 deletions
@@ -0,0 +1,19 @@
Feature: Share a Pokédex
As a trainer
I want to share my progress without granting edit access
So that friends can follow my collection safely
Background:
Given I am signed in
Scenario: Share a live read-only Pokédex
Given I have a Living Dex named "Public Journey"
When I mark the first Pokémon as caught
And I add the note "share-secret-note" to the first Pokémon
When I open the Pokédex share dialog
Then I receive an unguessable read-only link
When I visit the shared link while signed out
Then I can browse the shared Pokédex without editing it
And the shared page does not expose the private note
And the shared page advertises a social progress image
And the social progress image is a PNG