In sPvP, meaning in the Heart of the Mists, you are automatically set to level 80 and get max equipment, as well as all skills and trait points and you can set your traits any way you like as long as you are not in the game.
In WvW, you are also set to level 80, but only as far as the attributes go (all attributes scale with level). Your armor, weapons, skills and traits are the same as in PvE and you have to pay to reset your traits, just like you have to in PvE.