From 22e692254f17f04fae7521365efb1638a18d146f Mon Sep 17 00:00:00 2001 From: chris48s Date: Sat, 27 Jan 2024 20:59:37 +0000 Subject: [PATCH] update e2e test to use simpler example --- cypress/e2e/main-page.cy.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cypress/e2e/main-page.cy.js b/cypress/e2e/main-page.cy.js index ac3948a1cfb47..f695514356578 100644 --- a/cypress/e2e/main-page.cy.js +++ b/cypress/e2e/main-page.cy.js @@ -40,14 +40,14 @@ describe('Frontend', function () { }) it('Build a badge', function () { - visitAndWait('/badges/git-hub-issues') + visitAndWait('/badges/git-hub-license') - cy.contains('/github/issues/:user/:repo') + cy.contains('/github/license/:user/:repo') cy.get('input[placeholder="user"]').type('badges') cy.get('input[placeholder="repo"]').type('shields') - cy.intercept('GET', `${backendUrl}/github/issues/badges/shields`).as('get') + cy.intercept('GET', `${backendUrl}/github/license/badges/shields`).as('get') cy.contains('Execute').click() cy.wait('@get').its('response.statusCode').should('eq', 200) cy.get('img[id="badge-preview"]')