Skip to content

Commit

Permalink
chore: update conference details (#2762)
Browse files Browse the repository at this point in the history
Co-authored-by: Ansh Goyal <[email protected]>
  • Loading branch information
devilkiller-ag and anshgoyalevil authored Mar 13, 2024
1 parent 5ee3910 commit 8aac7ec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions cypress/test/pages/community/events/index.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,26 @@ describe('CommunityIndexPage', () => {

it('displays recording card', () => {
cy.get('[data-testid="RecordingsCard-img"]').should('exist');
cy.get('[data-testid="Recordings-Link"]').should('have.attr', 'href', 'https://www.youtube.com/playlist?list=PLbi1gRlP7pijRiA32SU36hD_FW-2qyPhl')
cy.get('[data-testid="Recordings-Link"]').should('have.attr', 'href', 'https://www.youtube.com/playlist?list=PLbi1gRlP7pijHAnmN-n_OiTH6CAXxGthw&si=st3gY7Ri5uzhechB')
cy.get('[data-testid="Recordings-text"]').should('exist');
});

it('check for Events Filters', () => {
cy.get('[data-testid="EventFilters-main"]').should('exist');
cy.get('[data-testid="EventFilter-click"]').contains('All').click({ force: true });

meetings.forEach((event) => {
cy.contains(event.title).should('be.visible');
});
cy.get('[data-testid="EventFilter-click"]').contains('Upcoming').click({ force: true });

const currentDate = moment().format('YYYY-MM-DD');
meetings.forEach((event) => {
if (moment(event.date).isAfter(currentDate)) {
cy.contains(event.title).should('be.visible');
}
});

cy.get('[data-testid="EventFilter-click"]').contains('Recorded').click({ force: true });
const currentDate1 = moment().format('YYYY-MM-DD');
meetings.forEach((event) => {
Expand Down Expand Up @@ -67,4 +67,4 @@ describe('CommunityIndexPage', () => {
cy.get('[ data-testid="Meeting-host"]').should('exist')
cy.get('[ data-testid="Meeting-link"]').should('exist')
});
});
});
6 changes: 3 additions & 3 deletions pages/community/events/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ function Eventindex() {
<div className="mt-24 w-full h-auto sm:h-[400px]">
<div className="w-full h-full bg-confBg rounded-md bg-cover bg-center p-10 flex flex-col justify-between text-white">
<img data-testid="RecordingsCard-img"
src="/img/logos/confLogo.webp"
src="/img/logos/confLogo.png"
alt="conf-logo"
className="w-[100px] sm:w-[150px]"
/>
Expand All @@ -74,11 +74,11 @@ function Eventindex() {
typeStyle="heading-sm-semibold"
className="mt-10 lg:text-2xl"
>
Watch the AsyncAPI 2022 conference recordings from anywhere around
Watch the AsyncAPI 2023 conference recordings from anywhere around
the world for free
</Heading>
<a data-testid="Recordings-Link"
href="https://www.youtube.com/playlist?list=PLbi1gRlP7pijRiA32SU36hD_FW-2qyPhl"
href="https://www.youtube.com/playlist?list=PLbi1gRlP7pijHAnmN-n_OiTH6CAXxGthw&si=st3gY7Ri5uzhechB"
target="_blank"
rel="noreferrer"
>
Expand Down
Binary file added public/img/logos/confLogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/img/logos/confLogo.webp
Binary file not shown.

0 comments on commit 8aac7ec

Please sign in to comment.