From a42b9d1a488262b0dec3ccc74f709a18599e4863 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Wed, 5 Jan 2022 13:07:03 +0200 Subject: [PATCH] all: fix uses of email.com email.com is not a domain that should be used for examples nor tests. Change-Id: I654d4287d02633d5ed9740e81a79150470eeaf25 --- satellite/overlay/service_test.go | 4 ++-- testsuite/ui/satellite/billing_coupon_test.go | 2 +- testsuite/ui/satellite/navigation_test.go | 2 +- testsuite/ui/satellite/onboarding_wizard_CLI_flow_test.go | 2 +- testsuite/ui/satellite/onboarding_wizard_browser_test.go | 2 +- .../onboarding_wizard_welcome_screen_encryption_test.go | 2 +- testsuite/ui/satellite/signup_business_user_test.go | 2 +- testsuite/ui/satellite/signup_personal_user_test.go | 2 +- testsuite/ui/satellite/util_test.go | 4 ++-- web/satellite/src/views/ActivateAccount.vue | 2 +- web/satellite/src/views/ForgotPassword.vue | 2 +- web/satellite/src/views/LoginArea.vue | 2 +- web/satellite/src/views/RegisterArea.vue | 2 +- web/satellite/tests/unit/store/users.spec.ts | 4 ++-- 14 files changed, 17 insertions(+), 17 deletions(-) diff --git a/satellite/overlay/service_test.go b/satellite/overlay/service_test.go index 5ab4381cd..dfd4ca1c9 100644 --- a/satellite/overlay/service_test.go +++ b/satellite/overlay/service_test.go @@ -456,7 +456,7 @@ func TestKnownReliable(t *testing.T) { func TestUpdateCheckIn(t *testing.T) { satellitedbtest.Run(t, func(ctx *testcontext.Context, t *testing.T, db satellite.DB) { // setup nodeID := storj.NodeID{1, 2, 3} - expectedEmail := "test@email.com" + expectedEmail := "test@email.test" expectedAddress := "1.2.4.4:8080" info := overlay.NodeCheckInInfo{ NodeID: nodeID, @@ -742,7 +742,7 @@ func getNodeInfo(nodeID storj.NodeID) overlay.NodeCheckInInfo { Address: "1.2.3.4", }, Operator: &pb.NodeOperator{ - Email: "test@email.com", + Email: "test@email.test", Wallet: "0x123", }, Version: &pb.NodeVersion{ diff --git a/testsuite/ui/satellite/billing_coupon_test.go b/testsuite/ui/satellite/billing_coupon_test.go index 6f1e2b727..c7a443689 100644 --- a/testsuite/ui/satellite/billing_coupon_test.go +++ b/testsuite/ui/satellite/billing_coupon_test.go @@ -19,7 +19,7 @@ func TestCouponCodes(t *testing.T) { uitest.Run(t, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, browser *rod.Browser) { signupPageURL := planet.Satellites[0].ConsoleURL() + "/signup" fullName := "John Doe" - emailAddress := "test@email.com" + emailAddress := "test@email.test" password := "qazwsx123" page := openPage(browser, signupPageURL) diff --git a/testsuite/ui/satellite/navigation_test.go b/testsuite/ui/satellite/navigation_test.go index 7908f61bc..83b8c5cdf 100644 --- a/testsuite/ui/satellite/navigation_test.go +++ b/testsuite/ui/satellite/navigation_test.go @@ -19,7 +19,7 @@ func TestNavigation(t *testing.T) { uitest.Run(t, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, browser *rod.Browser) { signupPageURL := planet.Satellites[0].ConsoleURL() + "/signup" fullName := "John Doe" - emailAddress := "test@email.com" + emailAddress := "test@email.test" password := "qazwsx123" page := openPage(browser, signupPageURL) diff --git a/testsuite/ui/satellite/onboarding_wizard_CLI_flow_test.go b/testsuite/ui/satellite/onboarding_wizard_CLI_flow_test.go index f9d2cc702..825dac2cc 100644 --- a/testsuite/ui/satellite/onboarding_wizard_CLI_flow_test.go +++ b/testsuite/ui/satellite/onboarding_wizard_CLI_flow_test.go @@ -19,7 +19,7 @@ func TestOnboardingWizardCLIFlow(t *testing.T) { uitest.Run(t, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, browser *rod.Browser) { signupPageURL := planet.Satellites[0].ConsoleURL() + "/signup" fullName := "John Doe" - emailAddress := "test@email.com" + emailAddress := "test@email.test" password := "qazwsx123" page := openPage(browser, signupPageURL) diff --git a/testsuite/ui/satellite/onboarding_wizard_browser_test.go b/testsuite/ui/satellite/onboarding_wizard_browser_test.go index 4cfdbf199..d3329f6f0 100644 --- a/testsuite/ui/satellite/onboarding_wizard_browser_test.go +++ b/testsuite/ui/satellite/onboarding_wizard_browser_test.go @@ -18,7 +18,7 @@ func TestOnboardingWizardBrowser(t *testing.T) { uitest.Edge(t, func(t *testing.T, ctx *testcontext.Context, planet *uitest.EdgePlanet, browser *rod.Browser) { signupPageURL := planet.Satellites[0].ConsoleURL() + "/signup" fullName := "John Doe" - emailAddress := "test@email.com" + emailAddress := "test@email.test" password := "qazwsx123" page := openPage(browser, signupPageURL) diff --git a/testsuite/ui/satellite/onboarding_wizard_welcome_screen_encryption_test.go b/testsuite/ui/satellite/onboarding_wizard_welcome_screen_encryption_test.go index d33f69a93..3998f0d13 100644 --- a/testsuite/ui/satellite/onboarding_wizard_welcome_screen_encryption_test.go +++ b/testsuite/ui/satellite/onboarding_wizard_welcome_screen_encryption_test.go @@ -19,7 +19,7 @@ func TestOnboardingWelcomeScreenEncryption(t *testing.T) { uitest.Run(t, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, browser *rod.Browser) { signupPageURL := planet.Satellites[0].ConsoleURL() + "/signup" fullName := "John Doe" - emailAddress := "test@email.com" + emailAddress := "test@email.test" password := "qazwsx123" page := openPage(browser, signupPageURL) diff --git a/testsuite/ui/satellite/signup_business_user_test.go b/testsuite/ui/satellite/signup_business_user_test.go index b3e483925..d7bb6400c 100644 --- a/testsuite/ui/satellite/signup_business_user_test.go +++ b/testsuite/ui/satellite/signup_business_user_test.go @@ -19,7 +19,7 @@ func TestBusinessUserCanSignUp(t *testing.T) { uitest.Run(t, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, browser *rod.Browser) { signupPageURL := planet.Satellites[0].ConsoleURL() + "/signup" fullName := "John Doe" - emailAddress := "test@email.com" + emailAddress := "test@email.test" password := "qazwsx123" companyName := "company" positionTitle := "tester" diff --git a/testsuite/ui/satellite/signup_personal_user_test.go b/testsuite/ui/satellite/signup_personal_user_test.go index 309aee72c..3ce5cce58 100644 --- a/testsuite/ui/satellite/signup_personal_user_test.go +++ b/testsuite/ui/satellite/signup_personal_user_test.go @@ -19,7 +19,7 @@ func TestPersonalUserCanSignUp(t *testing.T) { uitest.Run(t, func(t *testing.T, ctx *testcontext.Context, planet *testplanet.Planet, browser *rod.Browser) { signupPageURL := planet.Satellites[0].ConsoleURL() + "/signup" fullName := "John Doe" - emailAddress := "test@email.com" + emailAddress := "test@email.test" password := "qazwsx123" page := openPage(browser, signupPageURL) diff --git a/testsuite/ui/satellite/util_test.go b/testsuite/ui/satellite/util_test.go index c21cc6c96..dd4a1f3e2 100644 --- a/testsuite/ui/satellite/util_test.go +++ b/testsuite/ui/satellite/util_test.go @@ -30,7 +30,7 @@ func openPage(browser *rod.Browser, url string) *rod.Page { func signUpWithUser(t *testing.T, planet *uitest.EdgePlanet, page *rod.Page) { signupPageURL := planet.Satellites[0].ConsoleURL() + "/signup" fullName := "John Doe" - emailAddress := "test@email.com" + emailAddress := "test@email.test" password := "qazwsx123" // navigate to signup page @@ -49,7 +49,7 @@ func signUpWithUser(t *testing.T, planet *uitest.EdgePlanet, page *rod.Page) { func loginWithUser(t *testing.T, planet *uitest.EdgePlanet, page *rod.Page) { loginPageURL := planet.Satellites[0].ConsoleURL() + "/login" - emailAddress := "test@email.com" + emailAddress := "test@email.test" password := "qazwsx123" // navigate to login page diff --git a/web/satellite/src/views/ActivateAccount.vue b/web/satellite/src/views/ActivateAccount.vue index d5f0d67f1..4c811ee4d 100644 --- a/web/satellite/src/views/ActivateAccount.vue +++ b/web/satellite/src/views/ActivateAccount.vue @@ -13,7 +13,7 @@
diff --git a/web/satellite/src/views/LoginArea.vue b/web/satellite/src/views/LoginArea.vue index 7b2012e9b..fbad65fc3 100644 --- a/web/satellite/src/views/LoginArea.vue +++ b/web/satellite/src/views/LoginArea.vue @@ -44,7 +44,7 @@