Best PracticesBest Practices Prefer data-testid over other selectors Prefer byDataTestId() or byXyz() locator function over straight selector