Git Product home page Git Product logo

htfw's People

Contributors

vladimirpodolian avatar

htfw's Issues

WG-7: Leaderboard page - table data and echelon titles inconsistent

Preconditions:

  • dev tools opened

Steps:

Actual result:

  • table data and echelon titles inconsistent

Expected result:

  • table data and echelon titles must point to the same event

Full info:

1. Seasons:

url: https://ru.wotblitz.com/ru/api/tournaments/seasons/
response:

0: {season_id: 1, lang: "ru", title: "Зимний сезон 2021", finish_at: "2021-03-01", season_tag: "winter_season", ...}
1: {season_id: 8, lang: "ru", title: "Spring Season 2021", finish_at: "2021-05-31", season_tag: "spring_season", ...}
2: {season_id: 15, lang: "ru", title: "Летний сезон 2021", finish_at: "2021-08-01", season_tag: "summer_season", …}
3: {season_id: 22, lang: "ru", title: "Autumn Season 2021", finish_at: "2021-12-01", season_tag: "autumn_season", …}

Explanation:

  • Latest season is Autumn Season 2021 with season_id=22 and season_tag="autumn_season"

2. Leagues(Echelons)

url: https://ru.wotblitz.com/ru/api/clans-leaderboard/seasons/1/leagues/
response:

0: {id: 135, title: "Высший эшелон (Зимний сезон)", lang: "ru", cup: "tournamentCupX", max_rating: 8,…}
1: {id: 142, title: "Средний эшелон (Зимний сезон)", lang: "ru", cup: "tournamentCupX", max_rating: 16,…}
2: {id: 149, title: "Нижний эшелон (Зимний сезон)", lang: "ru", cup: "tournamentCupX", max_rating: 32,…}

Explanation:

  • Leaderboard page echelons titles filled with (Зимний сезон) data due to season_id=1 in request url

3. Table data

url: https://ru.wotblitz.com/ru/api/clans-leaderboard/tournamentCupX/?page=1&page_size=10&rank__gte=17&rank__lte=32
response:

0: {rank: 17, reward_name: "tournamentCupX", tag: "autumn_season", …}
1: {rank: 18, reward_name: "tournamentCupX", tag: "autumn_season", …}
2: {rank: 19, reward_name: "tournamentCupX", tag: "autumn_season", …}
3: {rank: 20, reward_name: "tournamentCupX", tag: "autumn_season", …}
4: {rank: 21, reward_name: "tournamentCupX", tag: "autumn_season", …}
5: {rank: 22, reward_name: "tournamentCupX", tag: "autumn_season", …}
6: {rank: 23, reward_name: "tournamentCupX", tag: "autumn_season", …}
7: {rank: 24, reward_name: "tournamentCupX", tag: "autumn_season", …}
8: {rank: 25, reward_name: "tournamentCupX", tag: "autumn_season", …}
9: {rank: 26, reward_name: "tournamentCupX", tag: "autumn_season", …}

Explanation:

  • Leaderboard page table filled with data from latests (Autumn Season 2021) tournament due to tag: "autumn_season" in response

Total summary:

Leaderboard page header does not correspond to page table. Latest season is Autumn Season 2021 but header have different value.

WG-2: Leaderboard page - clan rewards contains empty team data in teams object

ENV:

  • MacOS
  • Chrome Version 98.0.4758.80

Preconditions:

Steps:

  • Click into first table row
  • Wait until popup with clan info opened
  • Check response for api/clans-leaderboard/tournamentCupX/clan_id/

Actual result:

  • Teams object contains empty data for some team info, but team_id present

Expected result:

  • Teams should contains all available data
  • Frontend fails [#3 related]

Attachments:
image


Note:

  • Reproduced with different clans. Info above is a just example to reproduce

WG-4: Leaderboard page - language/region switching cache isn’t dropped

ENV:

  • MacOS
  • Chrome Version 98.0.4758.80

Preconditions:

Steps:

  • Scroll down to bottom menu footer
  • Toggler caption should be “СНГ (Русский)”
  • Switch language or region
  • Wait until page reloaded with new data
  • Go back by browser button
  • Scroll down and check ‘switching’ state

Actual result:

  • Switching state and toggler caption isn’t rolled back as of previous state
    (isn’t equal to “СНГ (Русский)”)
  • Page info correspond previous state

Expected result:

  • Switching state and toggler caption rolled back as of previous state
    (should equal to “СНГ (Русский)”)
  • Page info correspond previous state

Attachments:

SM.mp4

WG-5: Leaderboard page - page freezes after switch language with connected page translator

ENV:

  • MacOS
  • Chrome Version 98.0.4758.80

Case 1:

Preconditions:

Steps:

  • scroll down to bottom menu footer
  • switch language to French or German

Actual result:

  • empty layout loaded

Expected result:

  • page loaded with selected language

Case 2:

Steps:

Actual result:

  • empty layout loaded

Expected result:

  • page loaded with German language

Attachments:

diffrenet_language_bug.mp4

Note: An error in DevTools console: Uncaught TypeError: Cannot assign to read only property 'pushState' of object '#' . Someone after the navigation page opened, but with a different language (due to cache issue I guess). Be accurate!

WG-3: Leaderboard page - clan popup - can’t expand teams rewards

ENV:

  • MacOS
  • Chrome Version 98.0.4758.80

Preconditions:

Steps:

  • Click into table row with clan name = “[WR-T] Warrior Team”
  • Wait until popup with clan info opened
  • Click into “Больше” button

Actual result:

  • Nothing happened

Expected result:

  • Available teams expanded

Attachments:

  • sentry event_id 1: 9e3b09ae93324efa84795bd9fd55f1a3
  • sentry event_id 2: d6205a0cc10e4332b79dd0b7089a74f2
expand_button_bug.mp4

Related:


Note:

  • Reproduced with different clans. Info above is a just example to reproduce
  • This issue can happened due to empty ‘team’ info in api request (see WG-2), but frontend should handle that cases

WG-1: Leaderboard page - Can't switch season

ENV:

  • MacOS
  • Chrome Version 98.0.4758.80

Preconditions:

Steps:

  • Click into arrow at top left corner of page

Actual result:

  • Opened empty popup

Expected result:

  • Popup should have selecting options with different seasons

Attachments:
image


Note:

Request :

Request URL: https://eu.wotblitz.com/en/api/tournaments/seasons/
Request Method: GET
Status Code: 200

Response:

{count: 4, has_next: false,…}
count: 4
has_next: false
results: [{season_id: 1, lang: "en", title: "Winter Season 2021", description: {time: 1610617235543,…},…},…]
0: {season_id: 1, lang: "en", title: "Winter Season 2021", description: {time: 1610617235543,…},…}
1: {season_id: 8, lang: "en", title: "Spring Season 2021",…}
2: {season_id: 15, lang: "en", title: "Summer Season 2021",…}
3: {season_id: 22, lang: "en", title: "Autumn Season 2021",…}

WG-6: Leaderboard page - 500 error after send code injection in searching input

ENV:

  • MacOS
  • Chrome Version 98.0.4758.80

Preconditions:

Steps:

  • type “<script>alert('Executing JS')</script>” into clan searching form
  • check request in DevTools

Actual result:

  • 500 error status code for request

Expected result:

  • 200 status code
  • Backed should cover that cases

Attachments:
SM


Note: Frontend does not failed on this case, but it’s better to resolve this

WG-8: Leaderboard page - searching does not notice to '_' value

Preconditions:

Steps:

  • type text _1L_ into searching input
  • wait until search complete

Actual result:

  • clan with tag _1L_ does not displayed in search result

Expected result:

  • clan with tag _1L_ displayed in search result

Attachments:
SM


Note:
Seems like backend parsed '_' value like a length of given value (placeholder).

Request:
Request URL: https://ru.wotblitz.com/ru/api/clans-leaderboard/search/?query=_1L_
Request Method: GET
Status Code: 200 OK

Response:

0: {id: 243586, name: "H1L", tag: "H1L", status: "active",…}
1: {id: 263000, name: "Jék", tag: "1L10", status: "active",…}
2: {id: 484373, name: "Rtt", tag: "AP1LL", status: "active",…}
3: {id: 510396, name: "JlL", tag: "1LIH", status: "active",…}
4: {id: 183059, name: "M1lk", tag: "M1LK2", status: "active",…}
5: {id: 294918, name: "L1L9", tag: "L1L9_", status: "active",…}
6: {id: 305671, name: "Asik", tag: "K1LAN", status: "active",…}
7: {id: 336268, name: "R0cK", tag: "M1LLY", status: "active",…}
8: {id: 403117, name: "MILL", tag: "M1LL", status: "active",…}
9: {id: 410431, name: "дюха", tag: "V1L2D", status: "active",…}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.