phpunit-mink icon indicating copy to clipboard operation
phpunit-mink copied to clipboard

Added PhantomJsDriverFactory to project

Open mablae opened this issue 9 years ago • 14 comments

Hello,

Based on the discussion in #74 I tried to make it work. It works for me so far, but I only tested taking screenshots and getStatusCode(). But as I asume the mink driver is already tested itself, everything should work.

This implemenation asumes phantom.js is already running.

I also added the new Factory to the DriverFactoryRegistry in DIContainer to make it useable out of-the-box. If there is anything I missed or misunderstood please let me know.

mablae avatar Feb 01 '16 03:02 mablae

Gosh this scruntnizer doesn't like me. :fire:

mablae avatar Feb 01 '16 04:02 mablae

Today’s review completed.

aik099 avatar Feb 01 '16 07:02 aik099

Gosh this scruntnizer doesn't like me.

You can configure coding style checks in your IDE to detect CS issues before making a commit.

aik099 avatar Feb 01 '16 07:02 aik099

Please reply with inline comment to each fixed thing, because GitHub doesn't send notifications when you've add new commits.

aik099 avatar Feb 01 '16 09:02 aik099

Another solution is to post a single comment saying you have updated the PR (this sends us a single notif)

stof avatar Feb 01 '16 10:02 stof

Another solution is to post a single comment saying you have updated the PR (this sends us a single notif)

Ha. The inline comments replies have hidden purpose: this way PR author knows what has been addressed and what wasn't. I've seen several times, that when multiple things needs to be done some of them can be forgotten.

aik099 avatar Feb 01 '16 10:02 aik099

Thank you for you valuable feedback @stof and @aik099. I'll do my best to clean the coding style.

mablae avatar Feb 01 '16 14:02 mablae

@mablae , any update?

aik099 avatar Mar 02 '16 10:03 aik099

Sorry, no time. It's just code style missing. I am not aware of which style it is. I guess PEAR ?

mablae avatar Mar 02 '16 13:03 mablae

See https://github.com/minkphp/phpunit-mink/blob/master/CONTRIBUTING.md#checking-coding-standard-violations for instructions how to configure code style checks using code style used by this library.

aik099 avatar Mar 02 '16 14:03 aik099

@mablae , any updates?

aik099 avatar May 22 '16 10:05 aik099

Any update on this? I would really appreciate having the phantomJS driver available.

murphy83 avatar Mar 17 '17 15:03 murphy83

Just waiting for the moment, when PR author's will have time to spare to address all review comments.

aik099 avatar Mar 17 '17 15:03 aik099

I quickly fixed CS and rebased.

Ping @aik099, @murphy83

mablae avatar Mar 17 '17 20:03 mablae

Closing, because PhantomJS development has stopped.

aik099 avatar Mar 16 '24 16:03 aik099