generator-jhipster-svelte icon indicating copy to clipboard operation
generator-jhipster-svelte copied to clipboard

Support playwright as an alternative e2e test framework

Open vishal423 opened this issue 1 year ago • 9 comments

vishal423 avatar Apr 19 '23 18:04 vishal423

@pascalgrimaud, can we add some bounty on this ticket?

vishal423 avatar Oct 01 '23 04:10 vishal423

@vishal423 : done, but I don't know the amount of work so don't hesite to ping me if it's not enough :-)

pascalgrimaud avatar Oct 01 '23 08:10 pascalgrimaud

Hi there, I am new to this repository but would like to work on this.

c0d33ngr avatar Nov 09 '23 13:11 c0d33ngr

Feel free to grab. You can refer existing cypress tests and create equivalent in playwright. I suggest to start small, may be few specific flows (login/logout/registration) and then expand to cover all flows.

On Thu, 9 Nov, 2023, 7:03 pm c0d33ngr, @.***> wrote:

Hi there, I am new to this repository but would like to work on this.

— Reply to this email directly, view it on GitHub https://github.com/jhipster/generator-jhipster-svelte/issues/1650#issuecomment-1803841813, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD2BV4NXA5UYUEWHQVEFC33YDTLS7AVCNFSM6AAAAAAXENVSFOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBTHA2DCOBRGM . You are receiving this because you were mentioned.Message ID: @.***>

vishal423 avatar Nov 09 '23 15:11 vishal423

Hi @vishal423 , I want to ask a question about development environment and running the tests. I setup playwright in my branch and added some test spec files to test. Before doing this, I followed the steps below

  • Clone the repo, create my own branch and checkout into it.
  • cd generator-jhipster-svelte
  • npm link
  • cd ..
  • mkdir my-app && cd my-app
  • npm link generator-jhipster-svelte

Now when I ran jsvelte command, do I need to use the sample jdl in the repo to create spin up an app running in localhost in order to run my tests against or what exactly?

c0d33ngr avatar Nov 13 '23 16:11 c0d33ngr

I understand what to do

c0d33ngr avatar Nov 13 '23 21:11 c0d33ngr

@c0d33ngr, shall I assign the issue to you?

vishal423 avatar Nov 21 '23 17:11 vishal423

hey @vishal423 , is this issue open to work?

Pavan-Nambi avatar Dec 09 '23 07:12 Pavan-Nambi

Hi @vishal423 apologies for not keeping you posted on progress being made. I had power blackout that lasted for more than a week with power supply after the fixing.

I have worked on 6 test files remaining about 10 or so. I'll send draft PR when on PC later today(am on phone)

c0d33ngr avatar Dec 09 '23 15:12 c0d33ngr