forge
Explore
Log in

Don't you dare go Hollow

Ci_e2e reads the registration token from the copy box

Browse files at this commit

71b8f6252348ad6a7d5e28c5ee71bbae134780d3Ahmet Kaan GümüşParent: 297bb1b
  • test
    • ci_e2e reads the registration token from the copy box
Show full message
✅ test: ci_e2e reads the registration token from the copy box
crates/forge-web/tests/ci_e2e.rsmodified+1 -1
@@ -452,7 +452,7 @@ async fn register_runner(b: &Booted, admin_session: &str, name: &str) -> Worker
452 )452 )
453 .await;453 .await;
454 assert_eq!(res.status, 200, "create registration token: {}", res.body);454 assert_eq!(res.status, 200, "create registration token: {}", res.body);
455- let token = first_text(&res.body, "pre code");455+ let token = first_text(&res.body, "#reg-token");
456 456
457 let client = ForgeClient::new(&b.base_url).expect("runner client");457 let client = ForgeClient::new(&b.base_url).expect("runner client");
458 let registered = client458 let registered = client