DXgovernance / davi-monorepo

https://davi-monorepo-davi.vercel.app
8 stars 12 forks source link

Create Proposal mint rep test #327

Closed Filipv95 closed 1 year ago

Filipv95 commented 1 year ago

Description

Closes #276

Type of change

How Has This Been Tested?

ATM instructions from readme won't work so here is work-around

  1. run localhost separately (using 4 terminals described in README)
  2. go to apps/davi > package.json there you will find runRegressionLocal command
  3. at the end of the runRegressionLocal command instead of astrix (*) put name of the test you want to run in this case CreateMintRepProposal.spec.ts
  4. run pnpm runRegressionLocal in new terminal

That should run the test pointing to localhost URL

Checklist:

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
davi ❌ Failed (Inspect) Mar 22, 2023 at 9:56PM (UTC)
rulfo71 commented 1 year ago

hey @Filipv95, finally got to run this 😅. i haven't seen cypress running before, it's awesome, great work!

the testing worked fine but couldn't finish the run because it's actually failing on davi when minting rep. i tried it manually and i'm getting an error when clicking on Save Action on the mint rep action:

image

I think we had a fix for this so maybe you just have to merge develop to this branch.

Filipv95 commented 1 year ago

@rulfo71 Hey

hey @Filipv95, finally got to run this 😅. i haven't seen cypress running before, it's awesome, great work!

the testing worked fine but couldn't finish the run because it's actually failing on davi when minting rep. i tried it manually and i'm getting an error when clicking on Save Action on the mint rep action: image

I think we had a fix for this so maybe you just have to merge develop to this branch.

Hey, @rulfo71 the issue could be that I try to create proposal on Carrot Guild instead of Localhost, since I get transaction rejected. I can't create manually proposal on Carrot guild also.

Can we merge this now and I will fix that in another PR?

rulfo71 commented 1 year ago

Hey @Filipv95 ! i'm not sure i understand, why are you creating it in carrot guild instead of localhost? Sorry i missed to answer this today, maybe we can make a call on monday