To prevent a soggy pasta salad, cook pasta until al dente- or firm to the bite.