There's really only one set of personality traits (The Big 5) that has a strong scientific backing. Of those only being high in conscientiousness is a signal for being a good employee. Employers screen for that all the time via proxy, such as having a college degree. They don't need to test for it directly. There are however many not-big-5 popular personality tests that are sold to companies. I don't want to call out any specific one, but you should be highly skeptical of their validity.
At best these tests are management by covering your ass. At worst these tests are actively filtering against populations that it is illegal to filter for. For example, the IQ test was once given as part of the immigration process for the United States. Considering that the tests were administered in English they were mostly used as legal justification to turn away non-English speakers.