-
Notifications
You must be signed in to change notification settings - Fork 43
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
Feat/cypress git action #75
Conversation
Oof there are some gnarly tests failing here. Can you take another look tobi? |
Yes, sure... I am working on it!! |
@ecurrencyhodler all the test are passing now |
Okay let's get a code review. |
@@ -59,6 +59,7 @@ export default function QR(props: QRProps) { | |||
justifyContent: 'center', | |||
alignItems: 'center' | |||
}} | |||
data-challenge={props.value} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this changed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to log in, and to log in we need to get the challenge
in Cypress.
This is to enable us to perform the log in function the app does.
@@ -3,7 +3,7 @@ import { EuiLoadingSpinner } from '@elastic/eui'; | |||
import styled from 'styled-components'; | |||
import { observer } from 'mobx-react-lite'; | |||
import { AuthProps } from 'people/interfaces'; | |||
import { formatRelayPerson } from 'helpers'; | |||
import { formatRelayPerson } from 'helpers/helpers-extended'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused why we need to make this change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will change it back!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just checked why I made this change, It's throwing a typescript error on my machine.
Module '"helpers"' has no exported member 'formatRelayPerson'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thats weird cause helpers exports everything in helpers-extended can you try using the relative path instead of the shortened path?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I figured the error was because we are importing a .txs
file inside a .ts
file, here
commit 21767f6 Merge: 7f239ae 1d41263 Author: Raphael Osaze Eyerin <[email protected]> Date: Thu Feb 1 13:08:01 2024 +0100 Merge pull request stakwork#102 from aliraza556/Hide-bounty-button-org-page Fix(hide-button): Fixed Post Bounty Button in an Organization Page commit 1d41263 Merge: 65df96b 7f239ae Author: Ali Raza <[email protected]> Date: Thu Feb 1 13:41:43 2024 +0500 Merge branch 'master' into Hide-bounty-button-org-page commit 7f239ae Merge: 1ae78c0 2fd656d Author: Raphael Osaze Eyerin <[email protected]> Date: Thu Feb 1 09:29:27 2024 +0100 Merge pull request stakwork#104 from stakwork/fix/re_enable_pagination fixed superadmin pagination commit 2fd656d Author: elraphty <[email protected]> Date: Thu Feb 1 09:20:46 2024 +0100 fixed failing test commit 36fb13b Merge: 89a41de 1ae78c0 Author: elraphty <[email protected]> Date: Thu Feb 1 08:40:35 2024 +0100 fixed merge conflicts commit 1ae78c0 Merge: 7ca294f a292c32 Author: Raphael Osaze Eyerin <[email protected]> Date: Thu Feb 1 08:32:30 2024 +0100 Merge pull request stakwork#93 from Vayras/fixedOrgScrolling Fixed org scrolling commit 7ca294f Merge: 562ec76 21975b9 Author: Bamidele Oluwatobi <[email protected]> Date: Wed Jan 31 22:13:56 2024 +0100 Merge pull request stakwork#75 from stakwork/feat/cypress-git-action Feat/cypress git action commit 562ec76 Merge: 76604f7 c07ec9f Author: Raphael Osaze Eyerin <[email protected]> Date: Wed Jan 31 21:00:15 2024 +0100 Merge pull request stakwork#76 from Gaurav-Gaikwad-1/ticketsTest Tickets.tsx Component Tests commit 21975b9 Author: Oluwatobi Bamidele <[email protected]> Date: Wed Jan 31 20:01:42 2024 +0100 update: handled error while creating user profile commit ba552df Author: Oluwatobi Bamidele <[email protected]> Date: Wed Jan 31 19:30:01 2024 +0100 update: changed localhost mode dispatch back to tribes from community commit 65df96b Author: aliraza556 <[email protected]> Date: Wed Jan 31 22:01:26 2024 +0500 fix(super-admin-unit-test): fixed the super-admin-header unit test and clean code commit 89a41de Author: elraphty <[email protected]> Date: Wed Jan 31 17:57:22 2024 +0100 fixed superadmin pagination commit 3e3bfbb Author: aliraza556 <[email protected]> Date: Wed Jan 31 18:34:17 2024 +0500 fix(super-admin-unit-test): fixed the super-admin-header unit test commit 55f92ff Author: aliraza556 <[email protected]> Date: Wed Jan 31 14:46:49 2024 +0500 fix(hide-button): fixed hide post bounty button in org page and also manage bounty role commit a292c32 Author: Tushar Vyas <[email protected]> Date: Wed Jan 31 02:13:06 2024 +0530 prettier commit 55e306f Author: Tushar Vyas <[email protected]> Date: Wed Jan 31 02:12:29 2024 +0530 update commit 5feb98f Author: Tushar Vyas <[email protected]> Date: Wed Jan 31 02:03:48 2024 +0530 test additon commit aa4c235 Author: Tushar Vyas <[email protected]> Date: Wed Jan 31 02:01:54 2024 +0530 org scrolling fix commit c07ec9f Merge: a605934 35e9d87 Author: Gaurav Gaikwad <[email protected]> Date: Wed Jan 31 00:14:00 2024 +0530 updated code commit a605934 Author: Gaurav Gaikwad <[email protected]> Date: Wed Jan 31 00:04:12 2024 +0530 updated Ticket.spec.tsx commit 7b1b958 Merge: 6f869da efcc7f6 Author: Tushar Vyas <[email protected]> Date: Tue Jan 30 23:50:05 2024 +0530 Merge branch 'master' of https://github.com/stakwork/sphinx-tribes-frontend commit 35e9d87 Author: Gaurav Gaikwad <[email protected]> Date: Tue Jan 30 19:57:16 2024 +0530 Update Tickets.spec.tsx commit 7af1868 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 01:25:56 2024 +0100 update: stop tracking screen shots commit be217f3 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 01:25:02 2024 +0100 correct part commit 866421c Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 01:24:11 2024 +0100 update: stop tracking nodes.json file commit 43480df Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:53:17 2024 +0100 update: cypress screenshot commit 72d3cab Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:51:37 2024 +0100 update: run prettier commit 31ade8d Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:51:03 2024 +0100 update: cypress should try to access port 3007 and not 3000 again commit a9a4003 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:50:29 2024 +0100 update: when frontend is running on 3007 backend host should be 13000 commit 46717f0 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:49:19 2024 +0100 update: changed port cypress test run on commit 8fa0be6 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:45:54 2024 +0100 when testing with cypress host url should be localhost:13007 commit 2955c7b Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:40:32 2024 +0100 update: updated spelling error in flow commit dfa9bcd Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:28:31 2024 +0100 update: ensured I can run another commad after yarn start commit 8ca26dd Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:07:01 2024 +0100 fix: use yarn instead of npm commit cc3a53d Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:56:48 2024 +0100 update: installed dependencies and start the server commit 6c9c1ea Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:42:23 2024 +0100 fix: trying to know what folders and file we have in our current directory commit fc43049 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:32:56 2024 +0100 fix: trying to get the present working directory commit 6a96a32 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:24:09 2024 +0100 update: changed copy part for fixtures commit cc5f438 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:16:10 2024 +0100 update: trying to add permissions to cypress commit 8199c1d Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:07:05 2024 +0100 getting correct write access commit 1ba5b9b Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 22:56:24 2024 +0100 fix: added write access to sphinx-tribes-frontend cypress folder commit c3e2ef8 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 22:35:06 2024 +0100 update: added some steps for docker config commit 5e31b94 Author: Gaurav Gaikwad <[email protected]> Date: Tue Jan 30 01:03:31 2024 +0530 Tickets.tsx Component Tests commit 73988a7 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 20:05:14 2024 +0100 update: changed the host port from 5001 to 13000 and change ModeDispatch to community commit 21e7f8b Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 19:57:31 2024 +0100 feat: add script for cypress run commit 01e8992 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 19:44:19 2024 +0100 feat: setup github workflow for cypress test commit 6f869da Merge: 9641e6e 1cc7208 Author: Tushar Vyas <[email protected]> Date: Mon Jan 29 19:31:56 2024 +0530 Merge branch 'master' of https://github.com/stakwork/sphinx-tribes-frontend commit 187a78f Merge: 14035f2 1cc7208 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 13:44:11 2024 +0100 Merge branch 'master' into feat/setup-cypress commit 14035f2 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 13:13:34 2024 +0100 update: fixed prettier commit 9641e6e Merge: a8934d2 8fabda3 Author: Tushar Vyas <[email protected]> Date: Sat Jan 27 20:55:29 2024 +0530 Merge branch 'master' of https://github.com/stakwork/sphinx-tribes-frontend commit 019e05f Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 02:42:58 2024 +0100 update: change details back to normal commit d67e0ec Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 02:03:48 2024 +0100 update: fixed config, jest test was failling commit c5c1053 Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 01:10:20 2024 +0100 feat: added a simple function to help post relay users to tribe server commit 9fb073e Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 00:55:43 2024 +0100 update: used dynamic user record from nodes array commit a49cf45 Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 00:20:33 2024 +0100 feat: cypress login test commit c438dbd Author: Oluwatobi Bamidele <[email protected]> Date: Fri Jan 26 19:42:40 2024 +0100 feat: cypress initial setup commit a8934d2 Merge: b0df733 a8cb8f5 Author: Tushar Vyas <[email protected]> Date: Fri Jan 26 10:44:20 2024 +0530 Merge branch 'master' of https://github.com/stakwork/sphinx-tribes-frontend
commit 21767f6 Merge: 7f239ae 1d41263 Author: Raphael Osaze Eyerin <[email protected]> Date: Thu Feb 1 13:08:01 2024 +0100 Merge pull request stakwork#102 from aliraza556/Hide-bounty-button-org-page Fix(hide-button): Fixed Post Bounty Button in an Organization Page commit 1d41263 Merge: 65df96b 7f239ae Author: Ali Raza <[email protected]> Date: Thu Feb 1 13:41:43 2024 +0500 Merge branch 'master' into Hide-bounty-button-org-page commit 7f239ae Merge: 1ae78c0 2fd656d Author: Raphael Osaze Eyerin <[email protected]> Date: Thu Feb 1 09:29:27 2024 +0100 Merge pull request stakwork#104 from stakwork/fix/re_enable_pagination fixed superadmin pagination commit 2fd656d Author: elraphty <[email protected]> Date: Thu Feb 1 09:20:46 2024 +0100 fixed failing test commit 36fb13b Merge: 89a41de 1ae78c0 Author: elraphty <[email protected]> Date: Thu Feb 1 08:40:35 2024 +0100 fixed merge conflicts commit 1ae78c0 Merge: 7ca294f a292c32 Author: Raphael Osaze Eyerin <[email protected]> Date: Thu Feb 1 08:32:30 2024 +0100 Merge pull request stakwork#93 from Vayras/fixedOrgScrolling Fixed org scrolling commit 7ca294f Merge: 562ec76 21975b9 Author: Bamidele Oluwatobi <[email protected]> Date: Wed Jan 31 22:13:56 2024 +0100 Merge pull request stakwork#75 from stakwork/feat/cypress-git-action Feat/cypress git action commit 562ec76 Merge: 76604f7 c07ec9f Author: Raphael Osaze Eyerin <[email protected]> Date: Wed Jan 31 21:00:15 2024 +0100 Merge pull request stakwork#76 from Gaurav-Gaikwad-1/ticketsTest Tickets.tsx Component Tests commit 21975b9 Author: Oluwatobi Bamidele <[email protected]> Date: Wed Jan 31 20:01:42 2024 +0100 update: handled error while creating user profile commit ba552df Author: Oluwatobi Bamidele <[email protected]> Date: Wed Jan 31 19:30:01 2024 +0100 update: changed localhost mode dispatch back to tribes from community commit 65df96b Author: aliraza556 <[email protected]> Date: Wed Jan 31 22:01:26 2024 +0500 fix(super-admin-unit-test): fixed the super-admin-header unit test and clean code commit 89a41de Author: elraphty <[email protected]> Date: Wed Jan 31 17:57:22 2024 +0100 fixed superadmin pagination commit 3e3bfbb Author: aliraza556 <[email protected]> Date: Wed Jan 31 18:34:17 2024 +0500 fix(super-admin-unit-test): fixed the super-admin-header unit test commit 55f92ff Author: aliraza556 <[email protected]> Date: Wed Jan 31 14:46:49 2024 +0500 fix(hide-button): fixed hide post bounty button in org page and also manage bounty role commit a292c32 Author: Tushar Vyas <[email protected]> Date: Wed Jan 31 02:13:06 2024 +0530 prettier commit 55e306f Author: Tushar Vyas <[email protected]> Date: Wed Jan 31 02:12:29 2024 +0530 update commit 5feb98f Author: Tushar Vyas <[email protected]> Date: Wed Jan 31 02:03:48 2024 +0530 test additon commit aa4c235 Author: Tushar Vyas <[email protected]> Date: Wed Jan 31 02:01:54 2024 +0530 org scrolling fix commit c07ec9f Merge: a605934 35e9d87 Author: Gaurav Gaikwad <[email protected]> Date: Wed Jan 31 00:14:00 2024 +0530 updated code commit a605934 Author: Gaurav Gaikwad <[email protected]> Date: Wed Jan 31 00:04:12 2024 +0530 updated Ticket.spec.tsx commit 7b1b958 Merge: 6f869da efcc7f6 Author: Tushar Vyas <[email protected]> Date: Tue Jan 30 23:50:05 2024 +0530 Merge branch 'master' of https://github.com/stakwork/sphinx-tribes-frontend commit 35e9d87 Author: Gaurav Gaikwad <[email protected]> Date: Tue Jan 30 19:57:16 2024 +0530 Update Tickets.spec.tsx commit 7af1868 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 01:25:56 2024 +0100 update: stop tracking screen shots commit be217f3 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 01:25:02 2024 +0100 correct part commit 866421c Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 01:24:11 2024 +0100 update: stop tracking nodes.json file commit 43480df Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:53:17 2024 +0100 update: cypress screenshot commit 72d3cab Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:51:37 2024 +0100 update: run prettier commit 31ade8d Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:51:03 2024 +0100 update: cypress should try to access port 3007 and not 3000 again commit a9a4003 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:50:29 2024 +0100 update: when frontend is running on 3007 backend host should be 13000 commit 46717f0 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:49:19 2024 +0100 update: changed port cypress test run on commit 8fa0be6 Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:45:54 2024 +0100 when testing with cypress host url should be localhost:13007 commit 2955c7b Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:40:32 2024 +0100 update: updated spelling error in flow commit dfa9bcd Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:28:31 2024 +0100 update: ensured I can run another commad after yarn start commit 8ca26dd Author: Oluwatobi Bamidele <[email protected]> Date: Tue Jan 30 00:07:01 2024 +0100 fix: use yarn instead of npm commit cc3a53d Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:56:48 2024 +0100 update: installed dependencies and start the server commit 6c9c1ea Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:42:23 2024 +0100 fix: trying to know what folders and file we have in our current directory commit fc43049 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:32:56 2024 +0100 fix: trying to get the present working directory commit 6a96a32 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:24:09 2024 +0100 update: changed copy part for fixtures commit cc5f438 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:16:10 2024 +0100 update: trying to add permissions to cypress commit 8199c1d Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 23:07:05 2024 +0100 getting correct write access commit 1ba5b9b Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 22:56:24 2024 +0100 fix: added write access to sphinx-tribes-frontend cypress folder commit c3e2ef8 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 22:35:06 2024 +0100 update: added some steps for docker config commit 5e31b94 Author: Gaurav Gaikwad <[email protected]> Date: Tue Jan 30 01:03:31 2024 +0530 Tickets.tsx Component Tests commit 73988a7 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 20:05:14 2024 +0100 update: changed the host port from 5001 to 13000 and change ModeDispatch to community commit 21e7f8b Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 19:57:31 2024 +0100 feat: add script for cypress run commit 01e8992 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 19:44:19 2024 +0100 feat: setup github workflow for cypress test commit 6f869da Merge: 9641e6e 1cc7208 Author: Tushar Vyas <[email protected]> Date: Mon Jan 29 19:31:56 2024 +0530 Merge branch 'master' of https://github.com/stakwork/sphinx-tribes-frontend commit 187a78f Merge: 14035f2 1cc7208 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 13:44:11 2024 +0100 Merge branch 'master' into feat/setup-cypress commit 14035f2 Author: Oluwatobi Bamidele <[email protected]> Date: Mon Jan 29 13:13:34 2024 +0100 update: fixed prettier commit 9641e6e Merge: a8934d2 8fabda3 Author: Tushar Vyas <[email protected]> Date: Sat Jan 27 20:55:29 2024 +0530 Merge branch 'master' of https://github.com/stakwork/sphinx-tribes-frontend commit 019e05f Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 02:42:58 2024 +0100 update: change details back to normal commit d67e0ec Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 02:03:48 2024 +0100 update: fixed config, jest test was failling commit c5c1053 Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 01:10:20 2024 +0100 feat: added a simple function to help post relay users to tribe server commit 9fb073e Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 00:55:43 2024 +0100 update: used dynamic user record from nodes array commit a49cf45 Author: Oluwatobi Bamidele <[email protected]> Date: Sat Jan 27 00:20:33 2024 +0100 feat: cypress login test commit c438dbd Author: Oluwatobi Bamidele <[email protected]> Date: Fri Jan 26 19:42:40 2024 +0100 feat: cypress initial setup commit a8934d2 Merge: b0df733 a8cb8f5 Author: Tushar Vyas <[email protected]> Date: Fri Jan 26 10:44:20 2024 +0530 Merge branch 'master' of https://github.com/stakwork/sphinx-tribes-frontend
Describe your changes
Issue ticket number and link
Type of change
Please delete options that are not relevant.
Checklist before requesting a review