You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
obws/tests/integration/transitions.rs

34 lines
789 B
Rust

use anyhow::Result;
use crate::common::{self, TEST_TRANSITION};
#[tokio::test]
async fn transitions() -> Result<()> {
let client = common::new_client().await?;
let ui = client.ui();
let client = client.transitions();
client.list_kinds().await?;
client.list().await?;
client.set_current(TEST_TRANSITION).await?;
let transition = client.current().await?;
client
.set_current_duration(transition.duration.unwrap())
.await?;
client
.set_current_settings(transition.settings.unwrap(), None)
.await?;
client.current_cursor().await?;
ui.set_studio_mode_enabled(true).await?;
client.trigger().await?;
client.set_tbar_position(0.5, None).await?;
ui.set_studio_mode_enabled(false).await?;
Ok(())
}