fix tests, refine headers

This commit is contained in:
Eero Antikainen
2024-09-25 15:48:13 +03:00
committed by Aaro Koivukangas
parent 37d4f37914
commit 89cd9fd5ec
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -61,10 +61,10 @@ describe('Button Tests', () => {
cy.visit('/')
cy.contains('Cross-Search').click()
cy.url().should('include', '/crosssearch')
cy.contains('Max age').should('be.visible')
cy.contains('Min age').should('be.visible')
cy.contains('Name').should('be.visible')
cy.contains('Order').should('be.visible')
cy.contains('Locality name').should('be.visible')
cy.contains('Country').should('be.visible')
cy.contains('Genus').should('be.visible')
cy.contains('Species').should('be.visible')
})
it('Map button works', () => {
@@ -16,7 +16,7 @@ export const CrossSearchTable = ({ selectorFn }: { selectorFn?: (newObject: Cros
},
{
accessorKey: 'loc_name',
header: 'Name',
header: 'Locality name',
},
{
accessorKey: 'country',