Q2Identifying and fixing a flaky test, and why blanket retrying is a bad fix
A flaky test passes and fails intermittently, so you diagnose the real cause, synchronization, locators, shared data, environment, races, network, order, or cleanup, and fix that, because blanket retrying only hides the defect and erodes trust in the suite.