responsively-app icon indicating copy to clipboard operation
responsively-app copied to clipboard

Build a test suite to cover the basic app workflow

Open manojVivek opened this issue 3 years ago • 3 comments

Specton seems to be promising.

Originally posted by @sidthesloth92 in https://github.com/responsively-org/responsively-app/pull/486#issuecomment-703212602

manojVivek avatar Oct 04 '20 14:10 manojVivek

I can take a stab at implementing Jest

lenmorld avatar Oct 07 '20 22:10 lenmorld

@lenmorld With this card we specifically wanted to use Spectron, as jest only covers the react side of it.

But that said, if you are interested in jest tests then you can take up the task of increasing the jest test coverage with issue #506.

Really appreciate your interest. :)

manojVivek avatar Oct 09 '20 04:10 manojVivek

Edit: I checked out the package.json and saw that this project already uses TestCafe for e2e tests. That probably means that the deprecation of Spectron doesn't really affect the project. ☺️

@lenmorld With this card we specifically wanted to use Spectron, as jest only covers the react side

@manojVivek Sad news about Spectron: about a month ago the Electron team decided to deprecate it. 😔

Beginning in February 2022, Spectron will be officially deprecated by the Electron team.

People are mentioning playwright as an alternative in the comments of the deprecation announcement, but that still has only experimental support for Electron automation as far as I know.

fulopkovacs avatar Dec 01 '21 11:12 fulopkovacs