mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
fix tests, refine headers
This commit is contained in:
committed by
Aaro Koivukangas
parent
37d4f37914
commit
89cd9fd5ec
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user