From 2d73fa90139ed9806a3184b47daf869e4aab965b Mon Sep 17 00:00:00 2001 From: Hidde Wieringa Date: Fri, 20 Dec 2024 19:32:23 +0100 Subject: [PATCH] add test for news popup --- proxy/test/ui/cypress/e2e/home.cy.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/proxy/test/ui/cypress/e2e/home.cy.js b/proxy/test/ui/cypress/e2e/home.cy.js index 25a87e95..4a298f11 100644 --- a/proxy/test/ui/cypress/e2e/home.cy.js +++ b/proxy/test/ui/cypress/e2e/home.cy.js @@ -146,4 +146,13 @@ describe('home page', () => { cy.contains('Map configuration').should('be.visible') cy.screenshot() }) + + it('news', () => { + cy.visit('/#view=9.88/52.5134/13.4024&') + + cy.get('.maplibregl-ctrl-news').click() + + cy.contains('News').should('be.visible') + cy.screenshot() + }) })