Compare commits

..

1 commit

Author SHA1 Message Date
aa5018f77a
test: add event creation test
Some checks failed
container-scan / Container Scan (pull_request) Failing after 31s
docker-build / docker (pull_request) Failing after 2m9s
tests / Tests (pull_request) Failing after 2m27s
2025-07-01 09:47:54 +02:00
2 changed files with 3 additions and 2 deletions

View file

@ -27,6 +27,7 @@ describe('event creation', () => {
cy.getBySel('event-description-input').type(
'This is a test event created by Cypress.',
);
cy.getBySel('event-save-button').click();
});
cy.visit('http://127.0.0.1:3000/events');
cy.getBySel('events-page').should('exist');

View file

@ -41,9 +41,9 @@ export default function EventListEntry({
});
};
return (
<Link href={`/events/${id}`} className='block' data-cy='event-list-entry'>
<Link href={`/events/${id}`} className='block'>
<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'>
<Logo colorType='monochrome' logoType='submark' width={50} />
</div>