Giter Club home page Giter Club logo

Comments (5)

lucatume avatar lucatume commented on September 23, 2024

Ok,

Travis really not my plate so I can not answer most of your questions.

What I see is you are symlinking the WPBrowser command (here) in place of the wpcept one.

I will label the issue help wanted as I'm not the best person to answer.

from wp-browser.

atwellpub avatar atwellpub commented on September 23, 2024

Thank you for the attention @lucatume

I removed the symlink I was experimenting with. I tried loading WP Browser's autoload.php file in codeception's _bootstrap.php and the console log is giving me this error;

Fatal error: Cannot redeclare codecept_debug() (previously declared in phar:///usr/local/bin/codecept/autoload.php:12) in /var/www/inboundtesting.dev/wp-content/plugins/landing-pages/vendor/lucatume/wp-browser/autoload.php on line 15

Maybe you could help me understand if I'm not supposed to call WP Browser's autoload.php file from the bootstrap?

from wp-browser.

lucatume avatar lucatume commented on September 23, 2024

This still an issue? Care to share eventual solution?
Codeception should take care of loading the Modules autoload files and manual requirement should not be needed.

from wp-browser.

atwellpub avatar atwellpub commented on September 23, 2024

I've lost my understanding of what was going on, but I am using this component in my travis build successfully at the moment:

Here's my Travis file:
https://github.com/inboundnow/landing-pages/blob/master/.travis.yml

Here's my Composer file:
https://github.com/inboundnow/landing-pages/blob/master/composer.json

Here's my codeception yml:
https://github.com/inboundnow/landing-pages/blob/master/codeception.yml

Here's my Codeception bootstrap:
https://github.com/inboundnow/landing-pages/blob/master/assets/tests/codeception/_bootstrap.php

If you want I think it's ok to close issue. Thank you for the follow up and attention too.

from wp-browser.

lucatume avatar lucatume commented on September 23, 2024

Ok, I'm closing the issue but punting this for my reference about CI integration, thank YOU for your time and effort.

from wp-browser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.