Add puppeteer back, update search test to search for a still existing note

This commit is contained in:
Jonny Barnes 2018-06-24 18:15:24 +01:00
parent 3965f16b1f
commit 54e21ee459
3 changed files with 3297 additions and 3160 deletions

6450
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -9,7 +9,8 @@
"alertify.js": "^1.0.12",
"mapbox-gl": "^0.44.2",
"marked": "^0.3.19",
"normalize.css": "^8.0.0"
"normalize.css": "^8.0.0",
"puppeteer": "^1.5.0"
},
"devDependencies": {
"@babel/core": "^7.0.0-beta.44",

View file

@ -9,7 +9,7 @@ class SearchControllerTest extends TestCase
{
public function test_search()
{
$response = $this->get('/search?terms=wedding');
$response->assertSee('#weddingfavour');
$response = $this->get('/search?terms=love');
$response->assertSee('duckduckgo.com');
}
}