all: fix uses of email.com

email.com is not a domain that should be used for examples
nor tests.

Change-Id: I654d4287d02633d5ed9740e81a79150470eeaf25
This commit is contained in:
Egon Elbre 2022-01-05 13:07:03 +02:00
parent 04d04c0306
commit a42b9d1a48
14 changed files with 17 additions and 17 deletions

View File

@ -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{

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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"

View File

@ -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)

View File

@ -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

View File

@ -13,7 +13,7 @@
<div class="activate-area__content-area__container__input-wrapper">
<HeaderlessInput
label="Email Address"
placeholder="example@email.com"
placeholder="user@example.com"
:error="emailError"
height="46px"
width="100%"

View File

@ -28,7 +28,7 @@
<div class="forgot-area__content-area__container__input-wrapper">
<HeaderlessInput
label="Email Address"
placeholder="example@email.com"
placeholder="user@example.com"
:error="emailError"
@setData="setEmail"
/>

View File

@ -44,7 +44,7 @@
<div class="login-area__input-wrapper">
<HeaderlessInput
label="Email Address"
placeholder="example@email.com"
placeholder="user@example.com"
:error="emailError"
role-description="email"
@setData="setEmail"

View File

@ -80,7 +80,7 @@
<div class="register-area__input-wrapper">
<HeaderlessInput
label="Email Address"
placeholder="example@email.com"
placeholder="user@example.com"
:error="emailError"
role-description="email"
@setData="setEmail"

View File

@ -22,7 +22,7 @@ describe('mutations', () => {
createLocalVue().use(Vuex);
});
it('Set user', () => {
const user = new User('1', 'fullName', 'shortName', 'example@email.com');
const user = new User('1', 'fullName', 'shortName', 'user@example.com');
store.commit(USER_MUTATIONS.SET_USER, user);
@ -93,7 +93,7 @@ describe('actions', () => {
});
it('success get user', async () => {
const user = new User('2', 'newFullName', 'newShortName', 'example2@email.com');
const user = new User('2', 'newFullName', 'newShortName', 'user2@example.com');
jest.spyOn(authApi, 'get').mockReturnValue(
Promise.resolve(user),