Skip to content

Commit

Permalink
Remove screenshots adjust readme and .gitignore.
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelBrauner committed Aug 22, 2022
1 parent b933c54 commit 7825dc5
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ composer.lock
src/Resources/public/build/manifest.json
src/Resources/public/build/entrypoints.json
src/Resources/assets/node_modules
tests/tests/Functional/Ui/screenshots
tests/app/node_modules
tests/app/public/build
tests/app/public/tests
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ This will give you a nice UI. This is a screenshot of a simple blanc form:
![blank UI](tests/tests/Functional/Ui/screenshots/empty_form.png)

All screenshots (made automatically by [panther](https://github.com/symfony/panther)) are available inside the
folder: [tests/tests/Functional/Ui/screenshots](/tests/tests/Functional/Ui/screenshots)
folder: `tests/tests/Functional/Ui/screenshots` after you [ran the testsuite](#testing).

> `choose_file` is the translation string of the file-input button.
> You can translate it by creating a translation file in the media namespace (e.g. media.fr.yaml)
Expand Down Expand Up @@ -253,6 +253,8 @@ properly on your machine.
Then your tests should work fine performing a simple:

```shell
composer install
vendor/bin/bdi detect drivers
yarn --cwd ./src/Resources/assets install --force
yarn --cwd ./tests/app install --force
yarn --cwd ./src/Resources/assets dev
Expand Down
20 changes: 10 additions & 10 deletions tests/coverage.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<coverage generated="1661066686">
<project timestamp="1661066686">
<coverage generated="1661173092">
<project timestamp="1661173092">
<file name="/Users/michaelbrauner/Bundles/Symfony/MediaBundle/Bundle/src/Contracts/FileInterface.php">
<metrics loc="24" ncloc="24" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="0" coveredstatements="0" elements="0" coveredelements="0"/>
</file>
Expand All @@ -11,14 +11,14 @@
<class name="Braunstetter\MediaBundle\DependencyInjection\MediaBundleExtension" namespace="global">
<metrics complexity="4" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="9" coveredelements="9"/>
</class>
<line num="18" type="method" name="load" visibility="public" complexity="1" crap="1" count="2"/>
<line num="20" type="stmt" count="2"/>
<line num="21" type="stmt" count="2"/>
<line num="27" type="method" name="prepend" visibility="public" complexity="3" crap="3" count="2"/>
<line num="29" type="stmt" count="2"/>
<line num="31" type="stmt" count="2"/>
<line num="32" type="stmt" count="2"/>
<line num="35" type="stmt" count="2"/>
<line num="18" type="method" name="load" visibility="public" complexity="1" crap="1" count="1"/>
<line num="20" type="stmt" count="1"/>
<line num="21" type="stmt" count="1"/>
<line num="27" type="method" name="prepend" visibility="public" complexity="3" crap="3" count="1"/>
<line num="29" type="stmt" count="1"/>
<line num="31" type="stmt" count="1"/>
<line num="32" type="stmt" count="1"/>
<line num="35" type="stmt" count="1"/>
<line num="36" type="stmt" count="1"/>
<metrics loc="39" ncloc="32" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="7" elements="9" coveredelements="9"/>
</file>
Expand Down
Binary file not shown.
Binary file removed tests/tests/Functional/Ui/screenshots/empty_form.png
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 7825dc5

Please sign in to comment.