vladimirpodolian / htfw Goto Github PK
View Code? Open in Web Editor NEWHome Test From Wargaming
Home Page: https://ru.wotblitz.com/ru/clans-leaderboard
Home Test From Wargaming
Home Page: https://ru.wotblitz.com/ru/clans-leaderboard
Preconditions:
Steps:
Actual result:
Expected result:
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:
Autumn Season 2021
with season_id=22
and season_tag="autumn_season"
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:
(Зимний сезон)
data due to season_id=1
in request urlurl: 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:
Autumn Season 2021
) tournament due to tag: "autumn_season"
in responseLeaderboard page header does not correspond to page table. Latest season is Autumn Season 2021
but header have different value.
ENV:
Preconditions:
Steps:
Actual result:
Expected result:
Note:
ENV:
Preconditions:
Steps:
Actual result:
Expected result:
Attachments:
ENV:
Preconditions:
Steps:
Actual result:
Expected result:
Steps:
Actual result:
Expected result:
Attachments:
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!
ENV:
Preconditions:
Steps:
Actual result:
Expected result:
Attachments:
Related:
Note:
ENV:
Preconditions:
Steps:
Actual result:
Expected result:
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",…}
ENV:
Preconditions:
Steps:
Actual result:
Expected result:
Note: Frontend does not failed on this case, but it’s better to resolve this
Preconditions:
Steps:
_1L_
into searching inputActual result:
_1L_
does not displayed in search resultExpected result:
_1L_
displayed in search resultNote:
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",…}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.