Which test for traveling to Spain?

At Coronalab we get questions regarding which Corona test is now valid to fly to the Canary Islands. According to the rules of the Canary Islands, you can come to the island with an antigen or PCR test from 14 November. In addition, Spain has announced as a country...