Skip to content

Commit a567cf2

Browse files
committed
remove firefox tests from ci (bugged as hell), cleanup
1 parent edecb33 commit a567cf2

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

.github/workflows/firefox-tests.yml

-25
This file was deleted.

packages/vue-collapsed/tests/Collapse.cy.ts

-12
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,6 @@ import App from './App.vue'
22
import { getRandomIntInclusive, isFirefox } from '../cypress/support/component'
33

44
describe('Collapse', () => {
5-
beforeEach(() => {
6-
/**
7-
* For some unknown reason on Cypress Firefox >=124 (only on CI) reduced motion is always set to 'reduce',
8-
* using this stub to force it to return true.
9-
*/
10-
if (isFirefox) {
11-
cy.stub(window, 'matchMedia').withArgs('(prefers-reduced-motion: reduce)').returns({
12-
matches: false,
13-
})
14-
}
15-
})
16-
175
it('Should be able to set different tag name', () => {
186
cy.mount(App, {
197
props: {

0 commit comments

Comments
 (0)