From fc63ee3466ed5088cedb278d2b56a989668f273c Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Thu, 15 Feb 2024 10:21:09 +0000 Subject: fix: improve 'searching for profile updates' msg it wasn't clear why no results were coming back from relays or why it is needs (added reference to relay updates) --- tests/login.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tests/login.rs') diff --git a/tests/login.rs b/tests/login.rs index 7fc9356..351d099 100644 --- a/tests/login.rs +++ b/tests/login.rs @@ -60,7 +60,7 @@ mod with_relays { .with_confirmation(EXPECTED_SET_PASSWORD_CONFIRM_PROMPT)? .succeeds_with(TEST_PASSWORD)?; - p.expect("searching for your details...\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; // p.expect_end_with( @@ -101,7 +101,7 @@ mod with_relays { .with_confirmation(EXPECTED_SET_PASSWORD_CONFIRM_PROMPT)? .succeeds_with(TEST_PASSWORD)?; - p.expect("searching for your details...\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; p.expect_end_with( @@ -418,7 +418,7 @@ mod with_relays { with_fresh_config(|| { let mut p = CliTester::new(["login", "--nsec", TEST_KEY_1_NSEC]); - p.expect("searching for your details...\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; p.expect_end_with("logged in as fred\r\n")?; @@ -481,7 +481,7 @@ mod with_relays { let mut p = CliTester::new(["login", "--password", TEST_PASSWORD]); - p.expect("searching for your details...\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; p.expect_end_with("logged in as fred\r\n")?; @@ -540,7 +540,7 @@ mod with_relays { TEST_PASSWORD, ]); - p.expect("searching for your details...\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; p.expect_end_with("logged in as fred\r\n")?; @@ -589,7 +589,7 @@ mod with_relays { .with_confirmation(EXPECTED_SET_PASSWORD_CONFIRM_PROMPT)? .succeeds_with(TEST_PASSWORD)?; - p.expect("searching for your details...\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; p.expect( "cannot find your account metadata (name, etc) on relays\r\n", @@ -653,7 +653,7 @@ mod with_relays { .with_confirmation(EXPECTED_SET_PASSWORD_CONFIRM_PROMPT)? .succeeds_with(TEST_PASSWORD)?; - p.expect("searching for your details...\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; p.expect("cannot find your relay list. consider using another nostr client to create one to enhance your nostr experience.\r\n")?; @@ -729,7 +729,7 @@ mod with_relays { let mut p = CliTester::new(["login", "--password", TEST_PASSWORD]); - p.expect("searching for your details...\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; p.expect_end_eventually_with("logged in as fred\r\n")?; @@ -774,7 +774,7 @@ mod with_relays { .with_confirmation(EXPECTED_SET_PASSWORD_CONFIRM_PROMPT)? .succeeds_with(TEST_PASSWORD)?; - p.expect("searching for your details...\r\n")?; + p.expect("searching for profile and relay updates...\r\n")?; p.expect("\r")?; p.expect_end_with("logged in as fred\r\n")?; -- cgit v1.2.3