Compare commits
1 commit
d621131d50
...
aa5018f77a
Author | SHA1 | Date | |
---|---|---|---|
aa5018f77a |
2 changed files with 3 additions and 2 deletions
|
@ -27,6 +27,7 @@ describe('event creation', () => {
|
||||||
cy.getBySel('event-description-input').type(
|
cy.getBySel('event-description-input').type(
|
||||||
'This is a test event created by Cypress.',
|
'This is a test event created by Cypress.',
|
||||||
);
|
);
|
||||||
|
cy.getBySel('event-save-button').click();
|
||||||
});
|
});
|
||||||
cy.visit('http://127.0.0.1:3000/events');
|
cy.visit('http://127.0.0.1:3000/events');
|
||||||
cy.getBySel('events-page').should('exist');
|
cy.getBySel('events-page').should('exist');
|
||||||
|
|
|
@ -41,9 +41,9 @@ export default function EventListEntry({
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<Link href={`/events/${id}`} className='block' data-cy='event-list-entry'>
|
<Link href={`/events/${id}`} className='block'>
|
||||||
<Card className='w-full'>
|
<Card className='w-full'>
|
||||||
<div className='grid grid-cols-1 gap-2 mx-auto md:mx-4 md:grid-cols-[80px_1fr_250px]'>
|
<div className='grid grid-cols-1 gap-2 mx-auto md:mx-4 md:grid-cols-[80px_1fr_250px]' data-cy='event-list-entry'>
|
||||||
<div className='w-full items-center justify-center grid'>
|
<div className='w-full items-center justify-center grid'>
|
||||||
<Logo colorType='monochrome' logoType='submark' width={50} />
|
<Logo colorType='monochrome' logoType='submark' width={50} />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue