appId: com.edde746.plezy name: System back dismisses a hosted sheet without leaving Settings tags: - e2e - regression - settings - sheets --- # Guards 8e1904dd and c48cbf70: phone Settings must host the sheet so one Back # dismisses only the sheet, while BlockSemantics hides rows behind the barrier. # Start clean because preceding TV flows may leave Force TV mode enabled. - runFlow: ../subflows/onboard_jellyfin.yaml - runFlow: ../subflows/open_settings.yaml - assertVisible: "(?s)^Services.*" - assertVisible: "(?s)^Video Playback.*" - tapOn: "(?s)^Manage Libraries.*" - extendedWaitUntil: visible: "Maestro Movies" timeout: 15000 # The barrier removes covered rows from semantics; the sheet title remains # visible because it belongs to the sheet. - assertNotVisible: "(?s)^Services.*" - assertNotVisible: "(?s)^Video Playback.*" - assertNotVisible: "(?s)^Appearance.*" - assertNotVisible: "(?s)^Connections.*" - back - waitForAnimationToEnd: timeout: 3000 - assertNotVisible: "Maestro Movies" - extendedWaitUntil: visible: "(?s)^Manage Libraries.*" timeout: 10000 - assertVisible: "(?s)^Services.*" - assertVisible: "(?s)^Video Playback.*" - assertNotVisible: "Discover" # Reopening verifies the one-shot pop deduplication marker was not stranded. - tapOn: "(?s)^Manage Libraries.*" - extendedWaitUntil: visible: "Maestro Movies" timeout: 15000 # The per-library menu is a nested page of the same sheet now that the host # exists, so Back returns to the library list instead of tearing the sheet down. - tapOn: "Library options" - extendedWaitUntil: visible: "(?s).*Refresh Metadata.*" timeout: 15000 - back - waitForAnimationToEnd: timeout: 3000 - extendedWaitUntil: visible: "Maestro Movies" timeout: 10000 - assertNotVisible: "(?s).*Refresh Metadata.*" # Back at the library list, one more Back leaves the sheet entirely. - back - waitForAnimationToEnd: timeout: 3000 - assertNotVisible: "Maestro Movies" - extendedWaitUntil: visible: "(?s)^Manage Libraries.*" timeout: 10000 - tapOn: "(?s)^Manage Libraries.*" - extendedWaitUntil: visible: "Maestro Movies" timeout: 15000 - back - waitForAnimationToEnd: timeout: 3000 - assertNotVisible: "Maestro Movies" - extendedWaitUntil: visible: "(?s)^Manage Libraries.*" timeout: 10000 # With no sheet open the host must let the route pop normally. - back - extendedWaitUntil: visible: "Discover" timeout: 15000 - assertNotVisible: "(?s)^Manage Libraries.*"