diff --git a/cypress-custom/integration/fee.test.ts b/cypress-custom/integration/fee.test.ts index 914649e70e..df336221c8 100644 --- a/cypress-custom/integration/fee.test.ts +++ b/cypress-custom/integration/fee.test.ts @@ -128,7 +128,6 @@ describe('Fee: Complex fetch and persist fee', () => { // GIVEN: user visits app, selects 0.1 WETH as sell, DAI as buy // and goes AFK cy.visit('/swap') - cy.get('#anniversary-banner > svg').click() cy.swapSelectOutput(DAI) cy.swapEnterInputAmount(DEFAULT_SELL_TOKEN.address, INPUT_AMOUNT) @@ -173,7 +172,6 @@ describe('Fee: simple checks it exists', () => { // GIVEN: A user loads the swap page // WHEN: Select DAI token as output and sells 0.1 WETH cy.visit('/swap') - cy.get('#anniversary-banner > svg').click() cy.swapSelectOutput(DAI) cy.swapEnterInputAmount(DEFAULT_SELL_TOKEN.address, INPUT_AMOUNT) @@ -186,7 +184,6 @@ describe('Swap: Considering fee', () => { beforeEach(() => { // GIVEN: an initial selection of WETH-DAI cy.visit('/swap') - cy.get('#anniversary-banner > svg').click() }) it("Uses Uniswap price, if there's no tip", () => { diff --git a/cypress-custom/integration/swapMod.ts b/cypress-custom/integration/swapMod.ts index 5f477270c0..99da529221 100644 --- a/cypress-custom/integration/swapMod.ts +++ b/cypress-custom/integration/swapMod.ts @@ -1,7 +1,6 @@ describe('Swap (mod)', () => { beforeEach(() => { cy.visit('/swap') - cy.get('#anniversary-banner > svg').click() }) it('starts with an Native/USDC swap and quotes it', () => { diff --git a/cypress/integration/lists.test.ts b/cypress/integration/lists.test.ts index 791c103951..5d83e2d878 100644 --- a/cypress/integration/lists.test.ts +++ b/cypress/integration/lists.test.ts @@ -1,7 +1,6 @@ describe('Lists', () => { beforeEach(() => { cy.visit('/swap') - cy.get('#anniversary-banner > svg').click() }) // @TODO check if default lists are active when we have them diff --git a/package.json b/package.json index b0eda2fa77..c527184316 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ }, "types": "./dist/widgets.d.ts", "private": true, - "version": "1.13.3", + "version": "1.13.4", "engines": { "node": ">=14.0.0" }, diff --git a/public/audio/success-alex.mp3 b/public/audio/success-alex.mp3 deleted file mode 100644 index a53f8f9b9f..0000000000 Binary files a/public/audio/success-alex.mp3 and /dev/null differ diff --git a/public/audio/success-martin.mp3 b/public/audio/success-martin.mp3 deleted file mode 100644 index 926e63b68d..0000000000 Binary files a/public/audio/success-martin.mp3 and /dev/null differ diff --git a/src/custom/components/SideBanner/index.tsx b/src/custom/components/SideBanner/index.tsx index c5885c3cc1..99ba8de174 100644 --- a/src/custom/components/SideBanner/index.tsx +++ b/src/custom/components/SideBanner/index.tsx @@ -7,7 +7,6 @@ import { transparentize } from 'polished' import SVG from 'react-inlinesvg' import { CloseIcon, ExternalLink } from 'theme' import { IS_SIDE_BANNER_VISIBLE_KEY } from '@src/constants/misc' -import { getCowSoundAnniversary } from 'utils/sound' const WIDTH = 440 const HEIGHT = 440 @@ -22,14 +21,6 @@ export interface BannerProps { type: BannerType } -function playAnniversarySound() { - getCowSoundAnniversary() - .play() - .catch((e) => { - console.error('🐮 [SideBanner] Celebration sound cannot be played', e) - }) -} - const Banner = styled.div<{ isActive: boolean }>` position: fixed; width: ${`${WIDTH}px`}; @@ -172,7 +163,7 @@ export default function SideBanner({ type }: BannerProps) { }, [isActive]) return ( - + {type === 'anniversary' && ( @@ -184,10 +175,7 @@ export default function SideBanner({ type }: BannerProps) { CowSwap evolving icons

Share and be eligible for a celebratory NFT!

- +