Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Commit

Permalink
Adjust HTML structure to pass Behat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbager committed Sep 26, 2017
1 parent 6a7a902 commit d71800e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ before_script:
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1680x1050x16
- export DISPLAY=:99

- curl http://chromedriver.storage.googleapis.com/2.30/chromedriver_linux64.zip > chromedriver.zip && unzip chromedriver.zip
- curl http://chromedriver.storage.googleapis.com/2.12/chromedriver_linux64.zip > chromedriver.zip && unzip chromedriver.zip

- cp .travis/behat.yml ./behat.yml
- bin/selenium-server-standalone -Dwebdriver.chrome.driver=chromedriver > /dev/null 2>&1 &
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{% import '@SyliusShop/Ui/Macro/buttons.html.twig' as buttons %}

<div class="address">
<div>

{% include '@SyliusShop/Common/_address.html.twig' with {'address': address} %}


<div style="margin: 400px;">
{{ buttons.edit(path('sylius_shop_account_address_book_update', {'id': address.id})) }}
{{ render(path('sylius_shop_account_address_book_set_as_default', {'id': address.id})) }}
{{ buttons.delete(path('sylius_shop_account_address_book_delete', {'id': address.id}), null, true, address.id) }}
</div>
<br/>
<div>
{% include '@SyliusShop/Common/_address.html.twig' with {'address': address} %}
</div>
</div>

0 comments on commit d71800e

Please sign in to comment.