Target the dropdown and click to open it
cy.get('[data-cy=dropdown-country]').find('.p-dropdown').click();
Select the option from the dropdown menu
cy.contains('France').click();
"cypress": "^13.17.0",