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

Simplify confirm screen param validation #601

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

youngkidwarrior
Copy link
Collaborator

No description provided.

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @youngkidwarrior and the rest of your teammates on Graphite Graphite

@youngkidwarrior youngkidwarrior marked this pull request as ready for review July 17, 2024 16:26
Copy link

@youngkidwarrior youngkidwarrior merged commit 44ef187 into dev Jul 17, 2024
7 of 8 checks passed
@youngkidwarrior youngkidwarrior deleted the simplify_confirm_screen_param_validation branch July 17, 2024 16:41
Copy link

Playwright Report

Summary

Expected Skipped Unexpected Flaky Duration
78 0 2 2 326.49s

Suites

account-rewards.onboarded.spec.ts

can visit rewards page

  • chromium: ✅
  • firefox: ✅

account-sendtag-checkout.onboarded.spec.ts

can visit checkout page

  • chromium: ✅
  • firefox: ✅

can add a pending tag

  • chromium: ✅
  • firefox: ✅

cannot add an invalid tag name

  • chromium: ✅
  • firefox: ✅

can confirm a tag

  • chromium: ✅
  • firefox: ✅

can refer a tag

  • chromium: ✅
  • firefox: 🚨

cannot confirm a tag without paying

  • chromium: ✅
  • firefox: ✅

cannot add more than 5 tags

  • chromium: ✅
  • firefox: ✅

account-settings-backup.onboarded.spec.ts

can backup account

  • chromium: ✅
  • firefox: 🚨

can remove a signer

  • chromium: ✅
  • firefox: ✅

account.logged-in.spec.ts

can visit account page

  • chromium: ✅
  • firefox: ✅

can update profile

  • chromium: ✅
  • firefox: ✅

activity.onboarded.spec.ts

can visit activity page

  • chromium: ✅
  • firefox: ✅

can search on activity page

  • chromium: ✅
  • firefox: ✅

deposit.onboarded.spec.ts

can deposit USDC with web3 wallet

  • chromium: ✅
  • firefox: ✅

can deposit ETH with web3 wallet

  • chromium: ✅
  • firefox: ✅

home.onboarded.spec.ts

can visit token detail page

  • chromium: ✅
  • firefox: ✅

onboarding.logged-in.spec.ts

can visit onboarding page

  • chromium: ✅
  • firefox: ✅

profile.anon.spec.ts

anon user can visit public profile

  • chromium: ✅
  • firefox: ✅

anon user cannot visit private profile

  • chromium: ✅
  • firefox: ✅

profile.logged-in.spec.ts

logged in user needs onboarding before visiting profile

  • chromium: ✅
  • firefox: ✅

profile.onboarded.spec.ts

can visit other user profile and send by tag

  • chromium: ✅
  • firefox: ✅

can visit my own profile

  • chromium: ✅
  • firefox: ✅

can visit private profile

  • chromium: ✅
  • firefox: ✅

can view activities between another profile

  • chromium: ✅
  • firefox: ✅

send.onboarded.spec.ts

can send USDC starting from profile page

  • chromium: ✅
  • firefox: ✅

can send USDC using tag starting from send page

  • chromium: ✅
  • firefox: ✅

can send USDC using sendid starting from send page

  • chromium: ✅
  • firefox: ✅

can send USDC using address starting from send page

  • chromium: ✅
  • firefox: ✅

can send ETH starting from profile page

  • chromium: ✅
  • firefox: ✅

can send ETH using tag starting from send page

  • chromium: ✅
  • firefox: ✅

can send ETH using sendid starting from send page

  • chromium: ✅
  • firefox: ✅

can send ETH using address starting from send page

  • chromium: ✅
  • firefox: ✅

can send SEND starting from profile page

  • chromium: ✅
  • firefox: ✅

can send SEND using tag starting from send page

  • chromium: ✅
  • firefox: ✅

can send SEND using sendid starting from send page

  • chromium: ✅
  • firefox: ✅

can send SEND using address starting from send page

  • chromium: ✅
  • firefox: ✅

sign-in.anon.spec.ts

redirect on sign-in

  • chromium: ❌
    • Error: �[31mTimed out 5000ms waiting for �[39m�[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveURL�[2m(�[22m�[32mexpected�[39m�[2m)�[22m

Locator: locator(':root')
Expected string: �[32m"http://localhost:3000/auth/sign-in?redirectUri=�[7m/�[27msend"�[39m
Received string: �[31m"http://localhost:3000/auth/sign-in?redirectUri=�[7m%2F�[27msend"�[39m
Call log:
�[2m- expect.toHaveURL with timeout 5000ms�[22m
�[2m - waiting for locator(':root')�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m

�[0m �[90m 29 |�[39m �[36mawait�[39m page�[33m.�[39mgoto(�[32m'/send'�[39m)
�[90m 30 |�[39m �[90m// redirect to send after user is logged in�[39m
�[31m�[1m>�[22m�[39m�[90m 31 |�[39m �[36mawait�[39m expect(page)�[33m.�[39mtoHaveURL(�[32m'/auth/sign-in?redirectUri=/send'�[39m)
�[90m |�[39m �[31m�[1m^�[22m�[39m
�[90m 32 |�[39m �[36mconst�[39m signInButton �[33m=�[39m page�[33m.�[39mgetByRole(�[32m'button'�[39m�[33m,�[39m { name�[33m:�[39m �[32m'Sign In'�[39m })
�[90m 33 |�[39m �[36mawait�[39m expect(signInButton)�[33m.�[39mtoBeVisible()
�[90m 34 |�[39m �[36mawait�[39m signInButton�[33m.�[39mclick()�[0m

at /opt/actions_runner/_work/sendapp/sendapp/packages/playwright/tests/sign-in.anon.spec.ts:31:24
  • firefox: ❌
    • Error: �[31mTimed out 5000ms waiting for �[39m�[2mexpect(�[22m�[31mlocator�[39m�[2m).�[22mtoHaveURL�[2m(�[22m�[32mexpected�[39m�[2m)�[22m

Locator: locator(':root')
Expected string: �[32m"http://localhost:3000/auth/sign-in?redirectUri=�[7m/�[27msend"�[39m
Received string: �[31m"http://localhost:3000/auth/sign-in?redirectUri=�[7m%2F�[27msend"�[39m
Call log:
�[2m- expect.toHaveURL with timeout 5000ms�[22m
�[2m - waiting for locator(':root')�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m
�[2m - locator resolved to …�[22m
�[2m - unexpected value "http://localhost:3000/auth/sign-in?redirectUri=%2Fsend"�[22m

�[0m �[90m 29 |�[39m �[36mawait�[39m page�[33m.�[39mgoto(�[32m'/send'�[39m)
�[90m 30 |�[39m �[90m// redirect to send after user is logged in�[39m
�[31m�[1m>�[22m�[39m�[90m 31 |�[39m �[36mawait�[39m expect(page)�[33m.�[39mtoHaveURL(�[32m'/auth/sign-in?redirectUri=/send'�[39m)
�[90m |�[39m �[31m�[1m^�[22m�[39m
�[90m 32 |�[39m �[36mconst�[39m signInButton �[33m=�[39m page�[33m.�[39mgetByRole(�[32m'button'�[39m�[33m,�[39m { name�[33m:�[39m �[32m'Sign In'�[39m })
�[90m 33 |�[39m �[36mawait�[39m expect(signInButton)�[33m.�[39mtoBeVisible()
�[90m 34 |�[39m �[36mawait�[39m signInButton�[33m.�[39mclick()�[0m

at /opt/actions_runner/_work/sendapp/sendapp/packages/playwright/tests/sign-in.anon.spec.ts:31:24

redirect to send confirm page on sign-in

  • chromium: ✅
  • firefox: ✅

sign-up.anon.spec.ts

can sign up

  • chromium: ✅
  • firefox: ✅

country code is selected based on geoip

  • chromium: ✅
  • firefox: ✅

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

Successfully merging this pull request may close these issues.

1 participant