Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use local "Published" version of the site for testing #86

Open
gasbi opened this issue Jul 3, 2019 · 4 comments
Open

Use local "Published" version of the site for testing #86

gasbi opened this issue Jul 3, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@gasbi
Copy link

gasbi commented Jul 3, 2019

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:

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

Thanks very much!

@stevesos
Copy link

stevesos commented Jul 3, 2019

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.

@tomenden tomenden added the enhancement New feature or request label Jul 14, 2019
@tomenden
Copy link
Collaborator

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?

@gasbi
Copy link
Author

gasbi commented Jul 14, 2019

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!

@TomsOverBaghdad
Copy link

TomsOverBaghdad commented Mar 23, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants