I have read, that using grid, we can distribute tests across multiple nodes.
Say I have 4 test cases and 2 nodes(both have same configuration, platform:window, browser:firefox and maxSession=1, maxInstances:1) I was expecting 2 test cases to run on node 1 and 2 on node 2.
But when I run I see all 4 test cases run on either node 1 or node 2, based on who registers last. I have both registered to bug on different ports.
Is my understanding correct of running 2 test per node, or is this not possible.?
How do you achieve distributed testing for WebDriver?