Skip to content

[$100] FIX Challenge Listing Issue - Community App #5220

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

Closed
drasticdpk opened this issue Dec 1, 2020 · 21 comments
Closed

[$100] FIX Challenge Listing Issue - Community App #5220

drasticdpk opened this issue Dec 1, 2020 · 21 comments

Comments

@drasticdpk
Copy link
Collaborator

Task Details
We have created Test case for Smoke Test (Build verification ).
https://docs.google.com/spreadsheets/d/1qFJgu1u0SXKAHKQEUlpKgttQ5rueFpQ5nYqiLM1lMSA/edit#gid=934379311

Now you have to fix the code those test case fail and update the automation script.

Working branch : community-app-tests-poc
Target Env : Develop

Reference Test case Result : https://snipboard.io/Dj2M1n.jpg

@drasticdpk drasticdpk changed the title [100] FIX Challenge Listing Issue - Community App [$100] FIX Challenge Listing Issue - Community App Dec 1, 2020
@drasticdpk
Copy link
Collaborator Author

@SathyaJayabal ,
For Test case TC_003, can you please confirm it. why footer is missing on dev env ?

Reference
https://www.topcoder.com/search/members?q=test1234
https://www.topcoder-dev.com/search/members?q=test1234
image

@nursoltan-s , please ask here if you have any confusion before making fixation of issue. cc @sushilshinde @lakshmiathreya

@SathyaJayabal
Copy link
Collaborator

@luizrrodrigues , seems like the search results is loading the legacy page in dev env. any quick fix?

@luizrrodrigues
Copy link
Collaborator

@SathyaJayabal checking.

@luizrrodrigues
Copy link
Collaborator

@drasticdpk
Copy link
Collaborator Author

@luizrrodrigues ,
FYI for automation we are using develop-test-poc-merge & community-app-tests-poc branch.
This branch are copied from dev branch itself.
So can you please confirm this issue exist on develop branch or not ?

@luizrrodrigues
Copy link
Collaborator

@drasticdpk This not happening in develop branch.

Deploying develop to Dev env.

@drasticdpk
Copy link
Collaborator Author

@luizrrodrigues develop branch with dev env having same issue . Please confirm @sushilshinde @SathyaJayabal
image

@nursoltan-s please let us know for anything.

@luizrrodrigues
Copy link
Collaborator

@drasticdpk I see, looks like this related with env issue / config.

if access with www. load old app and if access with community-app. load right.

https://www.topcoder-dev.com/search/members/?q=luizrrodrigues
https://community-app.topcoder-dev.com/search/members/?q=luizrrodrigues

@sushilshinde thoughts?

@drasticdpk
Copy link
Collaborator Author

@sushilshinde please confirm.

@nursoltan-s
Copy link
Collaborator

Screenshot (5)

In "dev" environment, when we change community type, getting this api error.

@drasticdpk
Copy link
Collaborator Author

@nursoltan-s for which test case are you facing this issue ?
Are you switching url from https://www.topcoder-dev.com/search/members/?q=luizrrodrigues to https://community-app.topcoder-dev.com/search/members/?q=luizrrodrigues

@nursoltan-s
Copy link
Collaborator

@drasticdpk it's happening in [TC-010] should verify that the "Filter" option "Sub Community" is working correctly
I think it's API issue:

GET https://api.topcoder-dev.com/v5/challenges/?status=Active&isLightweight=true&perPage=1&tracks[]=Dev&tracks[]=Des&tracks[]=DS&tracks[]=QA&events[]=tco20
giving error

@nursoltan-s
Copy link
Collaborator

@drasticdpk
Copy link
Collaborator Author

Ok @nursoltan-s , that fine that test case will fail in dev mode but it will pass on prod mode.
@SathyaJayabal @sushilshinde please ask to dev team to fix this issue.

@nursoltan-s
Copy link
Collaborator

@drasticdpk
These are bugs found from e2e testing:

  1. in challenge-api, events parameter validation was wrong.
    created issue: [$10] Challenge Search Api, events param validation error. challenge-api#346
    Affected tests in dev environment: [TC_010], [TC_015], [TC_016]

  2. [TC_014]: Community-app ui bug. Fixed with merge request

  3. [TC_017]: Community-app ui bug: Fixed with merge request. "Clear Filters" not disabled.

  4. In Local environment, Can't Load Sub Community. Didn't fixed this. https://monosnap.com/direct/c99qay7P3NHFVfwYnAvFhV6e0hBRK6

Now I'm facing this problem:

  • When testing in local environment with production build. User should login via "auth.topcoder.com" and redirect to home page. But due to security reason, "auth.topcoder.com" won't allow "localhost:3000" url. We need something to login locally. So In local test, "after login" describe block will fail.

screencapture-file-home-nurka-Desktop-test-results-TestResult-html-2020-12-02-23_30_13

@nursoltan-s
Copy link
Collaborator

@drasticdpk In order to verify, please follow this guide:

local-setup.txt
login-locally.zip

@nursoltan-s
Copy link
Collaborator

PR: #5230

@luizrrodrigues
Copy link
Collaborator

Contest https://www.topcoder.com/challenges/30155747 has been created for this ticket.

This is an automated message for luizrrodrigues via Topcoder X

@luizrrodrigues
Copy link
Collaborator

Contest https://www.topcoder.com/challenges/30155747 has been updated - it has been assigned to nursoltan-s.

This is an automated message for luizrrodrigues via Topcoder X

@drasticdpk
Copy link
Collaborator Author

Closing this ticket.
Thank you @nursoltan-s for your effort. cc @sushilshinde @lakshmiathreya

@luizrrodrigues
Copy link
Collaborator

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30155747

This is an automated message for luizrrodrigues via Topcoder X

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

No branches or pull requests

4 participants