design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Engineers should be able to run tests in a browser (34)

Open arunjeetsingh opened this issue 10 years ago • 6 comments

Acceptance criteria:

  • Review all automated tests and ensure they run successfully
  • Fix the tests that are broken
  • Remove tests that are not valuable

arunjeetsingh avatar Mar 17 '16 03:03 arunjeetsingh

@tweettypography This might be a good place to add the browser testing environment I've been using, so others don't have to use the console when contributing, except right before they submit.

interactivellama avatar Apr 28 '16 20:04 interactivellama

we have CI running there: https://travis-ci.com/salesforce-ux/design-system-react

@interactivellama @tweettypography I think right now tests are running in phantomjs but they can be configured to run in any installed browser ()

ivanbogdanov avatar Apr 28 '16 20:04 ivanbogdanov

@madpotato I think @interactivellama meant he'd added a little bit of configuration to set up running the tests in the browser so it'd be easier to test the tests while writing them. The CI works great as is.

tweettypography avatar Apr 28 '16 22:04 tweettypography

Sample screenshot from a webpack dev server (not using Karma)

screen_shot_2016-04-28_at_6 23 58_pm_720

interactivellama avatar Apr 29 '16 01:04 interactivellama

I'm currently auditing all the tests to run in the browser. Should have something by EOD.

interactivellama avatar Apr 29 '16 14:04 interactivellama

cool!

ivanbogdanov avatar Apr 29 '16 21:04 ivanbogdanov