There are many stages, and the order of them may vary, typically at Shopify you start talking to your HR contact about your life, a no complex interview, that may indicate red flags about your personality easily in case you're not prepared to be opened.
Next round is telling about your previous jobs, your achievements, your immediate professional goals, so if you have a nice project, there is your chance to shine.
Next round is very similar, more on the context of the actual position that is about to be fulfilled.
Next round is a peer programming exercise, that in my opinion is fair easy, also they don't evaluate your speed, your knowledge, your capacity to react to immediate problems only. They evaluate your approaches, they compare your approach with similar ones available, it's also an space to speak about what you're good at.
There is a problem solving stage, which is purely talking and describing scenarios on how to resolve a problem. That is more to see how easy you can picture a solution in a problem, how you control the stressing variables and also your personality towards the actual problem, not the result.
At the end you meet the director/manager in which you'll be reporting and you get an answer via the HR