corvid icon indicating copy to clipboard operation
corvid copied to clipboard

Use local "Published" version of the site for testing

Open gasbi opened this issue 5 years ago • 4 comments

Is your feature request related to a problem? Please describe. When using the local editor npx corvid open-editor, it is not possible to see the "Published" version of the site. Wix has some limitation to this version when using some Corvid APIs, like wix-users or wix-pay, which do not allow to test their functionalities on "Preview" mode.

Therefore, when using the local editor, it is not possible for us to test such important parts of the site like the use of another User with other roles than 'Admin'. To do that, you must Push your site, with all problems that implies in the development workflow that accounts on the local revisioning of the site.

Describe the solution you'd like The expected behavior would be to be able to see a local version of the "Published" site under a local server on your machine, without the necessity to Push the local changes. And therefore be able to use the functionalities of wix-users locally as well.

Describe alternatives you've considered This might end up with us to stop using the local editor.

Screenshots corvid-cli_published-error

Desktop info:

  • OS: macOS Mojave 10.14.5 (18F132)
  • Version: Corvid CLI v0.1.76
  • Site URL: https://eparelllc.wixsite.com/mysite

Additional context We are aware Corvid CLI is in Alpha, and would appreciate any help the Corvid team can provide.

Thanks very much!

gasbi avatar Jul 03 '19 11:07 gasbi

A necessary requirement. Since the Editor is already essentially proxying some authentication services (npx corvid login & logout) from the Wix Editor and BI system. It should be feasible to proxy BI User and CRM services to imitate a published site from Electron.

stevesos avatar Jul 03 '19 14:07 stevesos

It sounds like you are describing a feature which is not available on the online editor as well. When you say you would like to "use local Published version" - are you referring to the actual published site, or the local version of your site running on production servers?

tomenden avatar Jul 14 '19 18:07 tomenden

Hi @tomenden, Exactly. I am referring to be able to see the local version of my site running on the servers, as if it were the Published version of the site, but without pushing the changes to the online editor, so that you can test the site with a user different from yours. Let me know if I can do any further clarification, or help!

Thank you very much for your replies!

gasbi avatar Jul 14 '19 21:07 gasbi

Plus one on this question. As our site gets user ready, we need a way to test our sign up flow locally, reliably, and easily. Pushing the changes can't happen, we don't want to release bugs to our users.

TomsOverBaghdad avatar Mar 23 '20 15:03 TomsOverBaghdad