Skip to content

Commit

Permalink
skip Firefox test
Browse files Browse the repository at this point in the history
  • Loading branch information
a2937 committed Nov 1, 2024
1 parent b34e38b commit 8e671ff
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions cypress/e2e/play-button.cy.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
describe('Stop and play the music', () => {
beforeEach(() => {
cy.visit('http://localhost:3001');
});
it('Click play button', function () {

it('Click play button', () => {
// Endless test trying to load the Discord integration
// https://stackoverflow.com/questions/64673128/cypress-iframe-function-works-on-chrome-but-not-firefox
if (Cypress.browser.name === 'firefox') {
this.skip();
}

cy.visit('http://localhost:3001');
cy.get('audio')
.invoke('attr', 'src')
.should('contain', '.mp3')
Expand Down

0 comments on commit 8e671ff

Please sign in to comment.