diff --git a/.gitignore b/.gitignore index 2d1ac8b..ef23389 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/README.md b/README.md index 5016915..30de2e8 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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 diff --git a/tests/coverage.xml b/tests/coverage.xml index 6d550c0..0857edb 100644 --- a/tests/coverage.xml +++ b/tests/coverage.xml @@ -1,6 +1,6 @@ - - + + @@ -11,14 +11,14 @@ - - - - - - - - + + + + + + + + diff --git a/tests/tests/Functional/Ui/screenshots/collection_item_gets_added.png b/tests/tests/Functional/Ui/screenshots/collection_item_gets_added.png deleted file mode 100644 index 0a71b85..0000000 Binary files a/tests/tests/Functional/Ui/screenshots/collection_item_gets_added.png and /dev/null differ diff --git a/tests/tests/Functional/Ui/screenshots/empty_form.png b/tests/tests/Functional/Ui/screenshots/empty_form.png deleted file mode 100644 index 292db04..0000000 Binary files a/tests/tests/Functional/Ui/screenshots/empty_form.png and /dev/null differ diff --git a/tests/tests/Functional/Ui/screenshots/image_preview.png b/tests/tests/Functional/Ui/screenshots/image_preview.png deleted file mode 100644 index 350636f..0000000 Binary files a/tests/tests/Functional/Ui/screenshots/image_preview.png and /dev/null differ diff --git a/tests/tests/Functional/Ui/screenshots/max_items_option_hides_add_button.png b/tests/tests/Functional/Ui/screenshots/max_items_option_hides_add_button.png deleted file mode 100644 index ace5bdc..0000000 Binary files a/tests/tests/Functional/Ui/screenshots/max_items_option_hides_add_button.png and /dev/null differ