Skip to content

Commit

Permalink
Add testing screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
AchillesKal committed Apr 16, 2024
1 parent 5ced343 commit 3f43d4d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

/assets/styles/app.tailwind.css
/public/uploads/
/tests/Screenshots/

###> liip/imagine-bundle ###
/public/media/cache/
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
<server name="SYMFONY_PHPUNIT_REMOVE" value="" />
<server name="SYMFONY_PHPUNIT_VERSION" value="9.6" />
<server name="PANTHER_BROWSER_CLASS" value="Tests\AppBrowser" />

<!-- remove for deprecation warnings -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" />
<env name="BROWSER_SCREENSHOT_DIR" value="./tests/Screenshots"/>
</php>

<testsuites>
Expand Down
6 changes: 0 additions & 6 deletions tests/Functional/Blog/CreateBlogPostTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,6 @@ public function testItWorks(): void
{
UserFactory::createOne();

// test there are no articles
$this->browser()
->visit('/')
->assertSee('No Articles found 😞')
;

// login user
$this->pantherBrowser()
->loginAs('[email protected]', '1234')
Expand Down

0 comments on commit 3f43d4d

Please sign in to comment.