Add +1 to email at each test performing

Hi guys.

How it can be done? I need to add +1 to email in requred field each time test running. So it should look like test1@test.com at first running, test2@test.com at second running, test3 at third running, etc.

Thanks.

I truly recommand that you use a know environment, that you way you dont need to change the mail after a run. This also will not fill your database with useless accounts.
But if you can’t do that, you can use something like:

const number = Date.now()
const email = ‘test’+number+’@test.com