Skip to content
18 changes: 6 additions & 12 deletions arbiter-bridge/src/hand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ mod tests {
}

#[tokio::test]
#[ignore]
async fn wait_action_does_not_need_coordinates() {
let mut bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -203,6 +202,7 @@ mod tests {
}

#[tokio::test]

async fn coordinate_guard_accepts_boundary_values() {
let bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -211,6 +211,7 @@ mod tests {
}

#[tokio::test]

async fn coordinate_guard_rejects_negative_values() {
let bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -219,6 +220,7 @@ mod tests {
}

#[tokio::test]

async fn coordinate_guard_rejects_values_beyond_screen() {
let bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -227,7 +229,6 @@ mod tests {
}

#[tokio::test]
#[ignore]
async fn execute_rejects_invalid_coordinates_before_input_execution() {
let mut bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -243,7 +244,6 @@ mod tests {
}

#[tokio::test]
#[ignore]
async fn empty_type_action_returns_ok() {
let mut bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -258,7 +258,6 @@ mod tests {
// ---------------- NEW IPC STATE TRANSITION TESTS ----------------

#[tokio::test]
#[ignore]
async fn valid_ipc_click_flow_executes_successfully() {
let mut bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -272,7 +271,7 @@ mod tests {
}

#[tokio::test]
#[ignore]

async fn valid_ipc_navigation_flow_executes_successfully() {
let mut bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -286,7 +285,6 @@ mod tests {
}

#[tokio::test]
#[ignore]
async fn mixed_ipc_actions_work_correctly() {
let mut bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -312,8 +310,8 @@ mod tests {
assert!(bridge.execute(&action).await.is_ok());
}
}

#[tokio::test]
#[ignore]
async fn execute_fails_when_coordinates_are_invalid() {
let mut bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -324,15 +322,12 @@ mod tests {
};

let result = bridge.execute(&action).await;

assert!(result.is_err());

let err = result.unwrap_err();

assert!(err.contains("outside monitor bounds"));
}

#[tokio::test]
#[ignore]
async fn invalid_navigation_key_does_not_crash() {
let mut bridge = HardwareBridge::new(1920, 1080);

Expand All @@ -348,7 +343,6 @@ mod tests {
}

#[tokio::test]
#[ignore]
async fn type_action_with_special_characters_executes() {
let mut bridge = HardwareBridge::new(1920, 1080);

Expand Down
Loading