Skip to content

Commit

Permalink
remove firefox tests from ci (bugged as hell), cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
smastrom committed Apr 8, 2024
1 parent edecb33 commit a567cf2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/firefox-tests.yml

This file was deleted.

12 changes: 0 additions & 12 deletions packages/vue-collapsed/tests/Collapse.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@ import App from './App.vue'
import { getRandomIntInclusive, isFirefox } from '../cypress/support/component'

describe('Collapse', () => {
beforeEach(() => {
/**
* For some unknown reason on Cypress Firefox >=124 (only on CI) reduced motion is always set to 'reduce',
* using this stub to force it to return true.
*/
if (isFirefox) {
cy.stub(window, 'matchMedia').withArgs('(prefers-reduced-motion: reduce)').returns({
matches: false,
})
}
})

it('Should be able to set different tag name', () => {
cy.mount(App, {
props: {
Expand Down

0 comments on commit a567cf2

Please sign in to comment.