fix: keep watcher save state visible (#2037)

This commit is contained in:
Carlos Florêncio
2026-07-29 14:05:38 +01:00
committed by GitHub
parent c96b893174
commit 1f19dbe6d5
11 changed files with 557 additions and 10 deletions
@@ -210,6 +210,7 @@ test.describe("Mobile GitLab parity", () => {
testPage,
apiClient,
seedData,
prCapture,
}) => {
test.setTimeout(120_000);
await apiClient.configureGitLab(seedData.workspaceId);
@@ -269,6 +270,9 @@ test.describe("Mobile GitLab parity", () => {
await save.tap();
await expect(mobileList.getByText("Paused", { exact: true })).toBeVisible();
await expect(check).toBeDisabled();
await prCapture.screenshot("mobile-review-watch-paused", {
caption: "Mobile review watch remains paused after saving",
});
await assertLocatorWithinViewportX(mobileList, "mobile watch list");
await assertNoDocumentHorizontalOverflow(testPage, "GitLab mobile watch settings");
});