Skip to content

feat(widget): defaultProps #16977

feat(widget): defaultProps

feat(widget): defaultProps #16977

GitHub Actions / Test Report failed Oct 15, 2024 in 0s

264 tests run, 253 passed, 0 skipped, 11 failed.

Annotations

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League dota2 smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-dota2"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div><div><div class="infobox-cell-2 infobox-description">Game:</div><div style="width:50%">[[Dota 2|Dota 2]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League valorant smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-valorant"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League counterstrike smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-counterstrike"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League rocketleague smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-rocketleague"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League mobilelegends smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-mobilelegends"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League leagueoflegends smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-leagueoflegends"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League apexlegends smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-apexlegends"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Platform:</div><div style="width:50%">[[PC Competitions|PC]][[Category:PC Competitions]]</div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League rainbowsix smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-rainbowsix"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div><div><div class="infobox-cell-2 infobox-description">Game:</div><div style="width:50%">Tom Clancy's Rainbow Six Siege</div></div><div><div class="infobox-cell-2 infobox-description">Platform:</div><div style="width:50%">[[:Category:PC|PC]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League overwatch smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-overwatch"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div><div><div class="infobox-cell-2 infobox-description">Game:</div><div style="width:50%">[[Overwatch 2|Overwatch 2]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:115

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:115.Infobox League starcraft2 smoke

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<span class="error show-when-logged-in">Unexpected Error, report this in #report-bugs on our [https://discord.gg/liquipedia Discord]. components/widget/html/widget_html_base.lua:44: bad argument #1 to 'concat' (table expected, got nil)</span>'
Expected:
(string) '<div class="fo-nttax-infobox-wrapper infobox-starcraft2"><div class="fo-nttax-infobox"><div><div class="infobox-header wiki-backgroundcolor-light"><span class="infobox-buttons navigation-not-searchable">&#91;[https://liquipedia.net/wiki/ e]&#93;&#91;[[lpcommons:|h]]&#93;</span>FakePage</div></div><div><div class="infobox-header wiki-backgroundcolor-light infobox-header-2">League Information</div></div><div><div class="infobox-cell-2 infobox-description">Game Version:</div><div style="width:50%">[[Wings of Liberty|Wings of Liberty]]<br></div></div><div><div class="infobox-cell-2 infobox-description">Location:</div><div style="width:50%">[[Template:Abbr/TBD]]</div></div></div><div class="fo-nttax-infobox-adbox"></div><div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/infobox_spec.lua:9: in function 'funcToRun'
	spec/test_helper.lua:117: in function <spec/test_helper.lua:115>

Check failure on line 1 in lua:97

See this annotation in the file changed.

@github-actions github-actions / Test Report

lua:97.prize pool prize pool is correct display

spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
Raw output
spec/test_helper.lua:146: Expected objects to be the same.
Passed in:
(string) '<div class="prizepool-section-wrapper"><span>$<abbr title="To Be Announced">TBA</abbr>&nbsp;<abbr title="United States Dollar">USD</abbr> are spread among the participants as seen below:<br></span><div class="prizepool-section-tables"><div style="overflow-x:auto"><div class="csstable-widget collapsed general-collapsible prizepooltable" style="width:max-content;grid-template-columns:repeat(8, auto)"><div class="csstable-widget-row prizepooltable-header" style="font-weight:bold"><div class="csstable-widget-cell" style="min-width:80px">Place</div><div class="csstable-widget-cell">$&nbsp;<abbr title="United States Dollar">USD</abbr></div><div class="csstable-widget-cell">€&nbsp;<abbr title="Euro">EUR</abbr></div><div class="csstable-widget-cell">&nbsp;kr&nbsp;<abbr title="Swedish krona">SEK</abbr></div><div class="csstable-widget-cell">Qualifies To</div><div class="csstable-widget-cell">[[A Page|Points]]</div><div class="csstable-widget-cell">A title</div><div class="csstable-widget-cell prizepooltable-col-team">Participant</div></div><div class="csstable-widget-row background-color-first-place"><div class="csstable-widget-cell prizepooltable-place" style="grid-row:span 1;font-weight:bolder"><span title="First">[[File:Gold.png|alt=]]</span>&nbsp;1st</div><div class="csstable-widget-cell">$970.973</div><div class="csstable-widget-cell">€1,000</div><div class="csstable-widget-cell">&#045;</div><div class="csstable-widget-cell">&#045;</div><div class="csstable-widget-cell">&#045;</div><div class="csstable-widget-cell">&#045;</div><div class="csstable-widget-cell" style="justify-content:start"><div class="block-players-wrapper"><div class="block-player has-team"><span class="flag">[[File:se_hd.png|36x24px|Sweden|link=]]</span><span class="name" style="overflow:hidden;text-overflow:ellipsis;white-space:pre">[[Rathoz|Rathoz]]</span></div></div></div></div></div></div></div></div>'
Expected:
(string) '<div class="prizepool-section-wrapper"><span>$<abbr title="To Be Announced">TBA</abbr>&nbsp;<abbr title="United States Dollar">USD</abbr> are spread among the participants as seen below:<br></span><div class="prizepool-section-tables"><div style="overflow-x:auto"><div class="csstable-widget collapsed general-collapsible prizepooltable" style="grid-template-columns:repeat(8, auto);width:max-content"><div class="csstable-widget-row prizepooltable-header" style="font-weight:bold"><div class="csstable-widget-cell" style="min-width:80px">Place</div><div class="csstable-widget-cell">$&nbsp;<abbr title="United States Dollar">USD</abbr></div><div class="csstable-widget-cell">€&nbsp;<abbr title="Euro">EUR</abbr></div><div class="csstable-widget-cell">&nbsp;kr&nbsp;<abbr title="Swedish krona">SEK</abbr></div><div class="csstable-widget-cell">Qualifies To</div><div class="csstable-widget-cell">[[A Page|Points]]</div><div class="csstable-widget-cell">A title</div><div class="csstable-widget-cell prizepooltable-col-team">Participant</div></div><div class="csstable-widget-row background-color-first-place"><div class="csstable-widget-cell prizepooltable-place" style="font-weight:bolder;grid-row:span 1"><span title="First">[[File:Gold.png|alt=]]</span>&nbsp;1st</div><div class="csstable-widget-cell">$970.973</div><div class="csstable-widget-cell">€1,000</div><div class="csstable-widget-cell">&#045;</div><div class="csstable-widget-cell">&#045;</div><div class="csstable-widget-cell">&#045;</div><div class="csstable-widget-cell">&#045;</div><div class="csstable-widget-cell" style="justify-content:start"><div class="block-players-wrapper"><div class="block-player has-team"><span class="flag">[[File:se_hd.png|36x24px|Sweden|link=]]</span><span class="name" style="overflow:hidden;text-overflow:ellipsis;white-space:pre">[[Rathoz|Rathoz]]</span></div></div></div></div></div></div></div></div>'
stack traceback:
	spec/test_helper.lua:146: in function 'GoldenTest'
	spec/prize_pool_spec.lua:98: in function <spec/prize_pool_spec.lua:97>