Loading project_browser.libraries.yml +1 −0 Original line number Diff line number Diff line Loading @@ -9,3 +9,4 @@ svelte: dependencies: - core/drupalSettings - core/drupal - core/drupal.debounce sveltejs/public/build/bundle.js +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file sveltejs/public/build/bundle.js.map +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file sveltejs/src/Search.svelte +1 −1 Original line number Diff line number Diff line Loading @@ -189,7 +189,7 @@ id="pb-text" name="text" bind:value={text} on:keyup={onSearch} on:keyup={Drupal.debounce(onSearch, 250, false)} /> <img id="search-icon" Loading tests/src/FunctionalJavascript/ProjectBrowserUiTest.php +8 −0 Original line number Diff line number Diff line Loading @@ -403,6 +403,8 @@ class ProjectBrowserUiTest extends WebDriverTestBase { $search_field = $page->find('css', '#pb-text'); // Fill in the search field. $search_field->setValue('&'); // Wait just slightly longer because of debouncing. $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', 'Unwritten&:/', Loading @@ -411,6 +413,7 @@ class ProjectBrowserUiTest extends WebDriverTestBase { // Fill in the search field. $search_field->setValue(''); $search_field->setValue('n&'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', 'Unwritten&:/', Loading @@ -418,30 +421,35 @@ class ProjectBrowserUiTest extends WebDriverTestBase { $search_field->setValue(''); $search_field->setValue('$'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', ]); $search_field->setValue(''); $search_field->setValue('?'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', ]); $search_field->setValue(''); $search_field->setValue('/'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Unwritten&:/', ]); $search_field->setValue(''); $search_field->setValue(':'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Unwritten&:/', ]); $search_field->setValue(''); $search_field->setValue(';'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', ]); Loading Loading
project_browser.libraries.yml +1 −0 Original line number Diff line number Diff line Loading @@ -9,3 +9,4 @@ svelte: dependencies: - core/drupalSettings - core/drupal - core/drupal.debounce
sveltejs/public/build/bundle.js +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file
sveltejs/public/build/bundle.js.map +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file
sveltejs/src/Search.svelte +1 −1 Original line number Diff line number Diff line Loading @@ -189,7 +189,7 @@ id="pb-text" name="text" bind:value={text} on:keyup={onSearch} on:keyup={Drupal.debounce(onSearch, 250, false)} /> <img id="search-icon" Loading
tests/src/FunctionalJavascript/ProjectBrowserUiTest.php +8 −0 Original line number Diff line number Diff line Loading @@ -403,6 +403,8 @@ class ProjectBrowserUiTest extends WebDriverTestBase { $search_field = $page->find('css', '#pb-text'); // Fill in the search field. $search_field->setValue('&'); // Wait just slightly longer because of debouncing. $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', 'Unwritten&:/', Loading @@ -411,6 +413,7 @@ class ProjectBrowserUiTest extends WebDriverTestBase { // Fill in the search field. $search_field->setValue(''); $search_field->setValue('n&'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', 'Unwritten&:/', Loading @@ -418,30 +421,35 @@ class ProjectBrowserUiTest extends WebDriverTestBase { $search_field->setValue(''); $search_field->setValue('$'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', ]); $search_field->setValue(''); $search_field->setValue('?'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', ]); $search_field->setValue(''); $search_field->setValue('/'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Unwritten&:/', ]); $search_field->setValue(''); $search_field->setValue(':'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Unwritten&:/', ]); $search_field->setValue(''); $search_field->setValue(';'); $this->getSession()->wait(500); $this->assertProjectsVisible([ 'Vitamin&C;$?', ]); Loading