Skip to content

Commit 8e671ff

Browse files
committed
skip Firefox test
1 parent b34e38b commit 8e671ff

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

cypress/e2e/play-button.cy.ts

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
describe('Stop and play the music', () => {
2-
beforeEach(() => {
3-
cy.visit('http://localhost:3001');
4-
});
2+
it('Click play button', function () {
53

6-
it('Click play button', () => {
4+
// Endless test trying to load the Discord integration
5+
// https://stackoverflow.com/questions/64673128/cypress-iframe-function-works-on-chrome-but-not-firefox
6+
if (Cypress.browser.name === 'firefox') {
7+
this.skip();
8+
}
9+
10+
cy.visit('http://localhost:3001');
711
cy.get('audio')
812
.invoke('attr', 'src')
913
.should('contain', '.mp3')

0 commit comments

Comments
 (0)