octo-wam / moss-front

A polling app for Octo Technology
http://octo-moss.netlify.com
4 stars 1 forks source link

Issue 15 add local login page url #17

Open annemarie35 opened 4 years ago

cypress[bot] commented 4 years ago



Test summary

0 6 0 0


Run details

Project Moss
Status Failed
Commit 1a0e4cd442
Started Nov 15, 2020 10:37 AM
Ended Nov 15, 2020 10:38 AM
Duration 01:43 💡
OS Linux Ubuntu Linux - 16.04
Browser Electron 78

View run in Cypress Dashboard ➡️


Failures

create_question_page/create_question_page.spec.js Failed
1 Create question page > Renders a form to create the question
home_page/home_page.spec.js Failed
1 Home page > Displays a link to each question page
2 Home page > Displays a link to the create question form
question_page/question_page.spec.js Failed
1 Question page > Renders the question
2 When the user has already voted > Renders the results
3 When the user can vote > Renders the options

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

cypress[bot] commented 4 years ago



Test summary

0 6 0 0


Run details

Project Moss
Status Failed
Commit 481d8fcbc2 ℹ️
Started Nov 15, 2020 10:37 AM
Ended Nov 15, 2020 10:38 AM
Duration 01:35 💡
OS Linux Ubuntu Linux - 16.04
Browser Electron 78

View run in Cypress Dashboard ➡️


Failures

create_question_page/create_question_page.spec.js Failed
1 Create question page > Renders a form to create the question
home_page/home_page.spec.js Failed
1 Home page > Displays a link to each question page
2 Home page > Displays a link to the create question form
question_page/question_page.spec.js Failed
1 Question page > Renders the question
2 When the user has already voted > Renders the results
3 When the user can vote > Renders the options

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

annemarie35 commented 4 years ago

chez moi, deploy/netlify plante. J'arrive sur une page qui semble requetter en boucle.

Salut @gael-boyenval J'arrive pas trop à visualiser quel est ton problème. Est-ce que tu as pu lancer l'app en local avec le back qui tourne ? J'ai eu ce problème de page qui tourne en boucle, cela venant des variables d'environnement qui n'était pas à jour.

ArnoHolo commented 3 years ago

Hello !

J'ai fait une modif côté back pour que l'API soit sur le port 3001 en local afin qu'il n'y ait pas de redirections en boucle.

J'ai réussi à faire fonctionner cette branche (pas de redirections) côté front en renseignant cela dans .env :

REACT_APP_BACK_BASE_URL=http://localhost:3001
REACT_APP_API_PATH=/api/v1