cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

fix: city names were not showing in the options.

Open ShreyTanna29 opened this issue 1 year ago • 8 comments

What does this PR do?

While selecting timezones city options were not shown, this is being solved with this pr.

  • Fixes #17067
  • Fixes CAL-4503

Mandatory Tasks (DO NOT REMOVE)

  • [x] I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • [x] (N/A) I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • [x] I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

checkout any timezone drop down in the app, you should be getting options after searching for a city.

  • Are there environment variables that should be set?NO
  • What are the minimal test data to have?N/A
  • What is expected (happy path) to have (input and output)? to see cities as options in timezones dropdowns
  • Any other important info that could help to test that PR N/A

Images

brave_screenshot_localhost

ShreyTanna29 avatar Oct 11 '24 11:10 ShreyTanna29

@ShreyTanna29 is attempting to deploy a commit to the cal Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 11 '24 11:10 vercel[bot]

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (10/11/24)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add community label" took an action on this PR • (10/11/24)

1 label was added to this PR based on Keith Williams's automation.

"Add ready-for-e2e label" took an action on this PR • (10/14/24)

1 label was added to this PR based on Keith Williams's automation.

graphite-app[bot] avatar Oct 11 '24 11:10 graphite-app[bot]

hey @emrysal, may I know whats stopping this PR from getting merged, please let me know if any changes are required.

ShreyTanna29 avatar Oct 14 '24 05:10 ShreyTanna29

E2E results are ready!

github-actions[bot] avatar Oct 14 '24 19:10 github-actions[bot]

Hi @ShreyTanna29 - looks like the same test is failing as last time (but I'm sure it should find "Braz")

emrysal avatar Oct 14 '24 19:10 emrysal

Hi @ShreyTanna29 - looks like the same test is failing as last time (but I'm sure it should find "Braz")

Checking it.

ShreyTanna29 avatar Oct 15 '24 05:10 ShreyTanna29

@emrysal I dont know why but all tests are failing on my local enviroment even without making any changes, I also tried using github codespace but the issue continues, maybe there is an error with my system config, I think solution to the test "yarn e2e --shard=1/4" failing is to change its timeout from 60 seconds (60000 ms) to 90 seconds (90000 ms) , current is occuring because it may not be able to find and click on the element within 60 seconds, I haven't tested this solution due to above stated reason, Exact changes to be made are :

1.) go to apps/web/playwright/availiblity.e2e.ts 2.) got to line 183 where "await page.getByTestId("select-option-America/Sao_Paulo").click();" is written. 3.) change it to "await page.getByTestId("select-option-America/Sao_Paulo").click({ timeout: 90000 });"

@emrysal can you please check that is this solution working or not ?

ShreyTanna29 avatar Oct 15 '24 12:10 ShreyTanna29

hey @emrysal , I hope all issues of this PR are solved and is ready to merge but if this is not the case, I am happy to help, please let me know anything that can be improved in this PR.

ShreyTanna29 avatar Oct 18 '24 13:10 ShreyTanna29

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@gar/[email protected] None 0 4.2 kB gar
npm/@humanwhocodes/[email protected] unsafe 0 21.2 kB nzakas
npm/@nodelib/[email protected] filesystem 0 22.2 kB mrmlnc
npm/@nodelib/[email protected] filesystem 0 11.8 kB mrmlnc
npm/@nodelib/[email protected] None 0 26.4 kB mrmlnc
npm/@tootallnate/[email protected] None 0 16.3 kB tootallnate
npm/[email protected] None 0 4.78 kB isaacs
npm/[email protected] None 0 24.4 kB rreverser
npm/[email protected] None 0 6.69 kB sindresorhus
npm/[email protected] eval 0 929 kB esp
npm/[email protected] None 0 5.61 kB qix
npm/[email protected] None 0 17 kB sindresorhus
npm/[email protected] None 0 8.05 kB iarna
npm/[email protected] None 0 14.3 kB lukekarrys
npm/[email protected] None 0 3.17 kB sindresorhus
npm/[email protected] None 0 6.94 kB juliangruber
npm/[email protected] None 0 9.62 kB feross
npm/[email protected] None 0 64.4 kB matteo.collina
npm/[email protected] None 0 82.5 kB feross
npm/[email protected] None 0 6.33 kB sindresorhus
npm/[email protected] filesystem 0 5.75 kB isaacs
npm/[email protected] None 0 5.51 kB sindresorhus
npm/[email protected] None 0 27.2 kB qix
npm/[email protected] None 0 9.23 kB isaacs
npm/[email protected] None 0 4.86 kB substack
npm/[email protected] None 0 12.7 kB iarna
npm/[email protected] None 0 8.11 kB thlorenz
npm/[email protected] None 0 7.46 kB tjholowaychuk
npm/[email protected] None 0 9.68 kB sindresorhus
npm/[email protected] None 0 5.42 kB sindresorhus
npm/[email protected] None 0 106 kB eslint
npm/[email protected] None 0 742 kB cure53
npm/[email protected] None 0 48.3 kB mathias
npm/[email protected] None 0 10.2 kB sindresorhus
npm/[email protected] None 0 12.3 kB achingbrain
npm/[email protected] None 0 40.4 kB ljharb
npm/[email protected] filesystem 0 11.4 kB lukeed
npm/[email protected] None +1 383 kB mysticatea
npm/[email protected] None 0 50.6 kB michaelficarra
npm/[email protected] None 0 37.3 kB sssayegh
npm/[email protected] None 0 17 kB esp
npm/[email protected] None 0 9.44 kB hiddentao
npm/[email protected] filesystem 0 25.6 kB royriojas
npm/[email protected] None 0 11.8 kB sindresorhus
npm/[email protected] filesystem 0 30 kB royriojas
npm/[email protected] None 0 78.7 kB webreflection
npm/[email protected] filesystem 0 2.22 kB mafintosh
npm/[email protected] environment, filesystem 0 13.4 kB isaacs
npm/[email protected] None 0 16.7 kB ljharb
npm/[email protected] filesystem 0 21.8 kB sindresorhus
npm/[email protected] environment, filesystem 0 31.6 kB isaacs
npm/[email protected] None 0 12.8 kB ljharb
npm/[email protected] environment 0 3.44 kB iarna
npm/[email protected] None 0 2.77 kB ljharb
npm/[email protected] None 0 35.9 kB kornel
npm/[email protected] None 0 6.8 kB feross
npm/[email protected] None 0 48.9 kB kael
npm/[email protected] None 0 11.9 kB jensyt
npm/[email protected] None 0 4.4 kB sindresorhus
npm/[email protected] filesystem 0 4.29 kB isaacs
npm/[email protected] None 0 3.76 kB isaacs
npm/[email protected] None 0 3.96 kB isaacs
npm/[email protected] None 0 14.8 kB ljharb
npm/[email protected] None 0 22.1 kB ljharb
npm/[email protected] None 0 28.9 kB ljharb
npm/[email protected] None 0 20.8 kB ljharb
npm/[email protected] None 0 6.22 kB jonschlinkert
npm/[email protected] None 0 4.99 kB sindresorhus
npm/[email protected] None 0 2.94 kB watson
npm/[email protected] None 0 22 kB ljharb
npm/[email protected] None 0 22.2 kB ljharb
npm/[email protected] None 0 9.62 kB jonschlinkert
npm/[email protected] None 0 4.12 kB sindresorhus
npm/[email protected] None 0 30.1 kB ljharb
npm/[email protected] None 0 11.9 kB ljharb
npm/[email protected] None 0 19.1 kB ljharb
npm/[email protected] None 0 22 kB ljharb
npm/[email protected] None 0 12.1 kB ljharb
npm/[email protected] environment, filesystem 0 11 kB isaacs
npm/[email protected] network 0 549 kB panva
npm/[email protected] None 0 405 kB vitaly
npm/[email protected] None 0 14.2 kB samn
npm/[email protected] None 0 24.9 kB gkz
npm/[email protected] None 0 8.31 MB catamphetamine
npm/[email protected] filesystem 0 7.02 kB sindresorhus
npm/[email protected] None 0 54.1 kB jdalton
npm/[email protected] None 0 55.9 kB jonschlinkert
npm/[email protected] None 0 50.7 kB ljharb
npm/[email protected] None 0 4.87 kB isaacs
npm/[email protected] None 0 3.77 kB isaacs
npm/[email protected] None 0 7 kB isaacs
npm/[email protected] None 0 124 kB isaacs
npm/[email protected] None 0 17.3 kB isaacs
npm/[email protected] None 0 6.84 kB styfle
npm/[email protected] None 0 5.65 kB megawac
npm/[email protected] None 0 27.4 kB dougwilson
npm/[email protected] environment 0 23.9 kB gar
npm/[email protected] None 0 9.22 kB jonschlinkert
npm/[email protected] None 0 17.1 kB lukekarrys
npm/[email protected] None 0 26.5 kB ljharb
npm/[email protected] None 0 4.05 kB isaacs
npm/[email protected] None 0 7.75 kB sindresorhus
npm/[email protected] None 0 7.24 kB sindresorhus
npm/[email protected] None 0 3.92 kB sindresorhus
npm/[email protected] None 0 3.62 kB sindresorhus
npm/[email protected] None 0 4.55 kB sindresorhus
npm/[email protected] None 0 4.51 kB jbgutierrez
npm/[email protected] filesystem 0 5.41 kB sindresorhus
npm/[email protected] None 0 36.7 kB gkz
npm/[email protected] None 0 3.04 kB iarna
npm/[email protected] None 0 15.6 kB achingbrain
npm/[email protected] None 0 8.37 kB feross
npm/[email protected] None 0 302 kB mysticatea
npm/[email protected] filesystem 0 12.1 kB troygoode
npm/[email protected] filesystem, unsafe 0 4.64 kB sindresorhus
npm/[email protected] None 0 32.2 kB tim-kos
npm/[email protected] None 0 9.44 kB matteo.collina
npm/[email protected] filesystem 0 17.3 kB isaacs
npm/[email protected] None 0 6.56 kB feross
npm/[email protected] None 0 42.3 kB chalker
npm/[email protected] None 0 4.22 kB bcoe
npm/[email protected] None 0 2.56 kB kevva
npm/[email protected] None 0 2.83 kB sindresorhus
npm/[email protected] None 0 14.6 kB ljharb
npm/[email protected] None 0 3.51 kB sindresorhus
npm/[email protected] None 0 138 kB joshglazebrook
npm/[email protected] network 0 152 kB joshglazebrook
npm/[email protected] None 0 2.66 kB kemitchell
npm/[email protected] None 0 11.8 kB kemitchell
npm/[email protected] None 0 9.74 kB kemitchell
npm/[email protected] None 0 37.5 kB nlf
npm/[email protected] None 0 14.4 kB matteo.collina
npm/[email protected] None 0 3 kB sindresorhus
npm/[email protected] None 0 9.18 kB ljharb
npm/[email protected] filesystem 0 27.7 kB mafintosh
npm/[email protected] None 0 11 kB substack
npm/[email protected] None 0 22.9 kB jonschlinkert
npm/[email protected] environment, network 0 16.7 kB mikeal
npm/[email protected] None 0 111 kB sindresorhus
npm/[email protected] None 0 14.9 kB ljharb
npm/[email protected] None 0 470 kB garycourt
npm/[email protected] None 0 5.48 kB tootallnate
npm/[email protected] None 0 15 kB ljharb
npm/[email protected] environment 0 9.97 kB isaacs
npm/[email protected] None 0 4.47 kB iarna
npm/[email protected] None 0 10.6 kB sindresorhus
npm/[email protected] None 0 2.96 kB zkat
npm/[email protected] filesystem 0 23.4 kB oss-bot
npm/[email protected] None 0 667 kB colinmcd94

🚮 Removed packages: npm/[email protected]

View full report↗︎

socket-security[bot] avatar Oct 24 '24 11:10 socket-security[bot]