feat: add SearchBar to Leaderboard #174
integration.yml
on: pull_request
build
18s
chromatic
1m 0s
Annotations
2 errors
src/components/Leaderboard/Leaderboard.test.tsx > render the search bar:
src/components/Leaderboard/Leaderboard.test.tsx#L140
TestingLibraryElementError: Unable to find an accessible element with the role "searchbox" and name "Search Bar"
Here are the accessible roles:
main:
Name "":
<main
class="_leaderboard_acb05c"
/>
--------------------------------------------------
banner:
Name "":
<header />
Name "":
<header />
--------------------------------------------------
link:
Name "Go to the homepage":
<a
aria-label="Go to the homepage"
class="_logoLink_63c2ea"
href="http://www.dalestudy.com"
/>
Name "풀이 보기":
<a
href="/progress?member=function(...s) {
let r = T(t);
r.called = !0, r.callCount++, r.calls.push(s);
let S = r.next.shift();
if (S) {
r.results.push(S);
let [o, g] = S;
if (o === \"ok\")
return g;
throw g;
}
let p, c = \"ok\", a = r.results.length;
if (r.impl)
try {
new.target ? p = Reflect.construct(r.impl, s, new.target) : p = r.impl.apply(this, s), c = \"ok\";
} catch (o) {
throw p = o, c = \"error\", r.results.push([c, o]), o;
}
let R = [c, p];
return w(p) && p.then(
(o) => r.resolves[a] = [\"ok\", o],
(o) => r.resolves[a] = [\"error\", o]
), r.results.push(R), p;
}"
/>
Name "수료증 보기":
<a
href="/certificate?member=function(...s) {
let r = T(t);
r.called = !0, r.callCount++, r.calls.push(s);
let S = r.next.shift();
if (S) {
r.results.push(S);
let [o, g] = S;
if (o === \"ok\")
return g;
throw g;
}
let p, c = \"ok\", a = r.results.length;
if (r.impl)
try {
new.target ? p = Reflect.construct(r.impl, s, new.target) : p = r.impl.apply(this, s), c = \"ok\";
} catch (o) {
throw p = o, c = \"error\", r.results.push([c, o]), o;
}
let R = [c, p];
return w(p) && p.then(
(o) => r.resolves[a] = [\"ok\", o],
(o) => r.resolves[a] = [\"error\", o]
), r.results.push(R), p;
}"
/>
Name "FAQ":
<a
aria-label="FAQ"
href="https://github.com/DaleStudy/leetcode-study/discussions"
target="_blank"
/>
Name "Apply":
<a
aria-label="Apply"
href="https://github.com/DaleStudy/leetcode-study/discussions/209"
target="_blank"
/>
Name "Guide":
<a
aria-label="Guide"
href="https://github.com/DaleStudy/leetcode-study/blob/main/CONTRIBUTING.md"
target="_blank"
/>
Name "Blog":
<a
aria-label="Blog"
href="https://www.algodale.com"
target="_blank"
/>
Name "LinkedIn":
<a
aria-label="LinkedIn"
href="https://www.linkedin.com/in/daleseo"
target="_blank"
/>
Name "Github":
<a
aria-label="Github"
href="https://github.com/DaleStudy/leetcode-study"
target="_blank"
/>
Name "Youtube":
<a
aria-label="Youtube"
href="https://www.youtube.com/@DaleSeo"
target="_blank"
/>
--------------------------------------------------
heading:
Name "리더보드":
<h1 />
Name "Amelia Lemke":
<h2 />
--------------------------------------------------
region:
Name "Search Bar":
<section
aria-label="Search Bar"
class="_searchBar_ea9aeb"
/>
--------------------------------------------------
img:
Name "검색 아이콘":
<img
alt="검색 아이콘"
src="/search-icon.svg"
/>
--------------------------------------------------
searchbox:
Name "이름 검색":
<input
aria-label="이름 검색"
placeholder="검색"
type="search"
value=""
/>
--------------------------------------------------
separator:
Name "":
<div
class="separator"
role="separator"
/>
--------------------------------------------------
combobox:
Name "기수 선택":
<select
aria-label="기수 선택"
/>
--------------------------------------------------
option:
Name "기수":
<option
value=""
/>
--------------------------------------------------
list:
Name "":
<ul />
Name "":
<ul
class="_leftMenu_eb428f"
/>
Name "":
<ul
class="_
|
build
Process completed with exit code 1.
|