What is the test to determine forum shopping?

To determine whether a party violated the rule against forum shopping, the most important question to ask is whether the elements of litis pendentia are present or whether a final judgment in one case will result to res judicata in another. Thus, the test is whether in the two or more cases pending, there is identity of: [1] Parties; [2] Rights or causes of action; and [3] Reliefs sought. (G.R. No. 143721; August 31, 2005)