feat(web): dashboard session deletion and E2E coverage for issue #150
Deploy Telegram Bot / build-and-push (push) Failing after 28m28s
Deploy Telegram Bot / scan-images (push) Has been skipped
Deploy Telegram Bot / deploy (push) Has been skipped

- Add DeleteSessionAsync to ISessionStore/SessionService (unpublish portfolio card,
  remove bot-created empty forum topic, update batch message).
- Add DeleteSessionForCurrentUserAsync to AuthorizedSessionService with audit log.
- Add delete button + confirmation dialog to GroupDetails.razor.
- Extend dashboard Playwright tests with edit persistence and delete verification.
- Update AuthorizedSessionServiceTests with delete authorization coverage.
- Mark issue #150 as done in tests/e2e/README.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-16 13:05:48 +03:00
parent 892f39401c
commit 40fc435bda
14 changed files with 1140 additions and 28 deletions
+6 -1
View File
@@ -10,6 +10,7 @@ var config = new RunnerConfig
PhoneNumber = Environment.GetEnvironmentVariable("phone_number")!,
BotUsername = Environment.GetEnvironmentVariable("TELEGRAM_BOT_USERNAME")!,
BotToken = Environment.GetEnvironmentVariable("TELEGRAM_BOT_TOKEN")!,
DatabaseUrl = Environment.GetEnvironmentVariable("GMRELAY_E2E_DATABASE_URL")!,
};
using var client = new TelegramUserClient(config);
@@ -30,7 +31,11 @@ try
JoinLink: "https://example.com/join-e2e");
await newSession.RunAsync(result.Group, inputs);
Console.WriteLine("Full scenario completed successfully.");
Console.WriteLine("Wizard scenario completed successfully.");
var lifecycle = new JoinLeaveWaitlistRescheduleScenario(client, config);
await lifecycle.RunAsync(result.Group);
Console.WriteLine("Lifecycle scenario completed successfully.");
}
catch (Exception ex)
{