fix: Update test harness and e2e tests
This commit is contained in:
parent
68542cd8ff
commit
a35f70ab3d
2 changed files with 3 additions and 3 deletions
|
|
@ -465,7 +465,7 @@ impl BotServerInstance {
|
|||
|
||||
pub async fn start_with_main_stack() -> Result<Self> {
|
||||
let port = 8080;
|
||||
let url = "https://localhost:8080".to_string();
|
||||
let url = "https://localhost:9000".to_string();
|
||||
|
||||
let botserver_bin = std::env::var("BOTSERVER_BIN")
|
||||
.unwrap_or_else(|_| "../botserver/target/debug/botserver".to_string());
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ async fn is_service_running(url: &str) -> bool {
|
|||
impl E2ETestContext {
|
||||
pub async fn setup() -> anyhow::Result<Self> {
|
||||
let botserver_url =
|
||||
std::env::var("BOTSERVER_URL").unwrap_or_else(|_| "https://localhost:8080".to_string());
|
||||
std::env::var("BOTSERVER_URL").unwrap_or_else(|_| "https://localhost:9000".to_string());
|
||||
let botui_url =
|
||||
std::env::var("BOTUI_URL").unwrap_or_else(|_| "http://localhost:3000".to_string());
|
||||
|
||||
|
|
@ -86,7 +86,7 @@ impl E2ETestContext {
|
|||
|
||||
pub async fn setup_with_browser() -> anyhow::Result<Self> {
|
||||
let botserver_url =
|
||||
std::env::var("BOTSERVER_URL").unwrap_or_else(|_| "https://localhost:8080".to_string());
|
||||
std::env::var("BOTSERVER_URL").unwrap_or_else(|_| "https://localhost:9000".to_string());
|
||||
let botui_url =
|
||||
std::env::var("BOTUI_URL").unwrap_or_else(|_| "http://localhost:3000".to_string());
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue