HollyAutomation / Holly

A reliable and simple automated testing framework built around playwright and mocha with Jest snapshots thrown in, running in parallel.
5 stars 1 forks source link

UI POC #23

Open lukeapage opened 4 years ago

lukeapage commented 4 years ago

Use playwright to open the browser or allow control from any other browser?

kubawolanin commented 4 years ago

test control

Just my 2c: I really like how majestic handles/presents that for Jest suites.

Use playwright to open the browser or allow control from any other browser?

I guess the latter would be more convenient.

lukeapage commented 4 years ago

It’s not actually that - I just had a look at majestic and I like the look of it, but actually for the poc I’m interested In a step through mode where you step through each command, to help debug without needing to add debugger statements.

When opening with playwright I noticed the following : 1. A url bar 2. Scroll doesn’t work 3. A banner saying “this is controlled by automation” 4. When multi browser I’m not sure how weird it is to have the control in a chrome window and the test in Firefox

So that’s why I thought either opening a browser or using electron - or maybe some other technology not requiring the browser to be downloaded because I don’t need a back end. For now whatever is simplest and works

lukeapage commented 4 years ago

So for the poc I was thinking of starting in the spec runner view (or individual test runner ?)

lukeapage commented 4 years ago

I think filtering the tests in a suite is super important