WPBP/WordPress-Plugin-Boilerplate-Powered

[BUG] WebDriver missing

webappick opened this issue · 3 comments

I am having the issue below for testing

Scenario --
WebDriver::debugWebDriverLogs method has been called when webDriver is not set
WebDriver::_saveScreenshot method has been called when webDriver is not set
WebDriver::_savePageSource method has been called when webDriver is not set
Screenshot and page source were saved into '/Users/webappick-imac-m1-pc1/Documents/sites/seoscore/wp-content/plugins/seoscore/tests/_output/' dir

Mte90 commented

Do you have chromedriver or something similar?

As https://codeception.com/docs/modules/WebDriver without many tests are not executed.

chromedriver is install.

Can you tell me where to configure or load webDriver?

this issue is only for acceptance testing

Mte90 commented

You need to execute it manually as codeception doesn't do it for you.

You can see how on https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/blob/master/plugin-name/tests.sh#L11