Skip to content

Commit

Permalink
Include App component css statically inside the iframe for percy
Browse files Browse the repository at this point in the history
  • Loading branch information
dmtrKovalenko committed Feb 4, 2021
1 parent 03c0a81 commit bc0adea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runner-ct/cypress/component/App.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import React from 'react'
import { mount } from '@cypress/react'
import App from '../../src/app/app'
import State from '../../src/lib/state'
import '../../dist/cypress_runner.css'

class FakeEventManager {
start = () => { }
Expand All @@ -28,7 +29,6 @@ describe('App', () => {
eventManager={new FakeEventManager()}
config={{ projectName: 'Project', env: {} }}
/>,
{ stylesheets: ['/__cypress/runner/cypress_runner.css'] },
)

cy.percySnapshot()
Expand Down

0 comments on commit bc0adea

Please sign in to comment.