From e7aa268c88f2dab41909ea1a132287615831d865 Mon Sep 17 00:00:00 2001 From: Devanjoy Das <123098732+DevanjoyDas@users.noreply.github.com> Date: Fri, 17 Jan 2025 12:03:08 +0530 Subject: [PATCH 1/2] fixes cypress landing page test error for every new PR in 2025 (#506) Co-authored-by: Ashmit Jagtap --- cypress/e2e/Landing.cy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/e2e/Landing.cy.js b/cypress/e2e/Landing.cy.js index 65e82f4d..4e834aee 100644 --- a/cypress/e2e/Landing.cy.js +++ b/cypress/e2e/Landing.cy.js @@ -7,7 +7,7 @@ describe("Landing Page Tests", () => { }); it("Contains correct heading", () => { const Year = new Date().getFullYear(); - cy.getTestData("landing-heading").contains(`AsyncAPI Conf On Tour ${Year}`); + cy.getTestData("landing-heading").contains(new RegExp(`AsyncAPI Conf On Tour (${Year}|${Year-1})`)); }); it("Should contain About Section", () => { From 0cb527b582758d00c91551641a47de0b5ff9fff5 Mon Sep 17 00:00:00 2001 From: TenzDelek <122612557+TenzDelek@users.noreply.github.com> Date: Fri, 17 Jan 2025 12:07:24 +0530 Subject: [PATCH 2/2] fix: cutoff at mobilescreen (#518) Co-authored-by: Ashmit Jagtap --- pages/venue/[id].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/venue/[id].js b/pages/venue/[id].js index a20dcdc5..385725c0 100644 --- a/pages/venue/[id].js +++ b/pages/venue/[id].js @@ -43,7 +43,7 @@ function Venue({ city }) {
-
+
{city.name == 'Online' ? {city.name} {city.country} :