Whilst you do have a dropdown, and the tests could be rewritten to account for the method you have used to create one, there are a few issues with the method you have, and it does not fall under best-practices.
I suggest you have a look at Mozilla Docs for more information. Essentially, it boils down to how the data is passed to the server, as well as accessibility.
Following the above link will help you create a dropdown conforming to best-practices as well as passing the test.