diff --git a/cypress/e2e/tests/pages/global-settings/branding.spec.ts b/cypress/e2e/tests/pages/global-settings/branding.spec.ts index 5bc949bbc6a..2601b2d2f2f 100644 --- a/cypress/e2e/tests/pages/global-settings/branding.spec.ts +++ b/cypress/e2e/tests/pages/global-settings/branding.spec.ts @@ -165,12 +165,12 @@ describe('Branding', { testIsolation: 'off' }, () => { HomePagePo.navTo(); burgerMenu.headerBrandLogoImage().should('be.visible').then((el) => { - expect(el).to.have.attr('src').includes('/img/rancher-logo.66cf5910.svg'); + expect(el).to.have.attr('src').includes('/img/rancher-logo'); }); BurgerMenuPo.toggle(); burgerMenu.brandLogoImage().should('be.visible').then((el) => { - expect(el).to.have.attr('src').includes('/img/rancher-logo.66cf5910.svg'); + expect(el).to.have.attr('src').includes('/img/rancher-logo'); }); }); @@ -236,7 +236,7 @@ describe('Branding', { testIsolation: 'off' }, () => { homePage.goTo(); homePage.getBrandBannerImage().should('be.visible').then((el) => { - expect(el).to.have.attr('src').includes('/img/banner.b321f7eb.svg'); + expect(el).to.have.attr('src').includes('/img/banner'); }); }); @@ -309,7 +309,7 @@ describe('Branding', { testIsolation: 'off' }, () => { loginPage.goTo(); loginPage.loginBackgroundImage().should('be.visible').then((el) => { - expect(el).to.have.attr('src').includes('/img/login-landscape.911b980e.svg'); + expect(el).to.have.attr('src').includes('/img/login-landscape'); }); cy.login();