{"YOU WERE VISITED IN THE NIGHT BY:"}
-
diff --git a/werewolves/src/pages/role_page/mortician.rs b/werewolves/src/pages/role_page/mortician.rs
index ef85cf6..3008846 100644
--- a/werewolves/src/pages/role_page/mortician.rs
+++ b/werewolves/src/pages/role_page/mortician.rs
@@ -28,8 +28,8 @@ pub fn MorticianPage1() -> Html {
{"DEAD"}
{" PLAYER"}
-
-
+
+
{"YOU WILL LEARN THE CAUSE "}
@@ -70,12 +70,9 @@ pub fn MorticianResultPage(
{"MORTICIAN"}
diff --git a/werewolves/src/test_util/mod.rs b/werewolves/src/test_util/mod.rs
new file mode 100644
index 0000000..e67d664
--- /dev/null
+++ b/werewolves/src/test_util/mod.rs
@@ -0,0 +1,449 @@
+// Copyright (C) 2025 Emilis Bliūdžius
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program. If not, see
.
+mod prompt;
+mod result;
+use core::num::NonZeroU8;
+
+use werewolves_proto::{
+ character::CharacterId,
+ diedto::DiedToTitle,
+ message::{
+ CharacterIdentity,
+ host::{HostMessage, ServerToHostMessage},
+ night::{
+ ActionPrompt, ActionPromptTitle, ActionResult, ActionResultTitle, ActionType, Visits,
+ },
+ },
+ role::{Alignment, AlignmentEq, Killer, Powerful, RoleTitle},
+};
+use yew::prelude::*;
+
+use crate::{
+ components::Button,
+ test_util::{prompt::PromptScreenTest, result::ResultScreenTest},
+};
+
+#[derive(Debug, Clone, PartialEq, Properties)]
+pub struct TestScreensProps {
+ pub send: Callback
,
+}
+
+#[function_component]
+pub fn TestScreens(TestScreensProps { send }: &TestScreensProps) -> Html {
+ let screen: UseStateHandle