use crate::common;
use ig_client::prelude::*;
use tracing::info;
#[test]
#[ignore]
fn test_login() {
setup_logger();
let session = common::login_with_account_switch();
assert!(session.cst.is_some(), "CST token should be present");
assert!(
session.x_security_token.is_some(),
"Security token should be present"
);
assert!(
!session.account_id.is_empty(),
"Account ID should not be empty"
);
info!("Login successful. Account ID: {}", session.account_id);
}