If you know your website traffic and your conversion rate, you can calculate the data point you need for a test from this link. Then divide by your web traffic to know how long you should run the test.
Our general rule of thumb is to at least have 5000 visitors and 100 orders in total.