Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor/*
/composer.lock
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "victoire-test-suite"]
path = victoire-test-suite
url = git@github.com:Victoire/test-suite.git
6 changes: 3 additions & 3 deletions Resources/translations/victoire.en.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
</trans-unit>
<trans-unit id="8f6caaaec2b6fdd2111187773c70685075d64b67" resname="widget.articlelist.new.action.label">
<source>widget.articlelist.new.action.label</source>
<target>List articles</target>
<target>Articles list</target>
</trans-unit>
<trans-unit resname="modal.form.widget.type.articlelist.label">
<trans-unit id="8f6caaaec2b6fdd2111187773c70685075d64b68" resname="modal.form.widget.type.articlelist.label">
<source>modal.form.widget.type.articlelist.label</source>
<target>List articles</target>
<target>Articles list</target>
</trans-unit>
</body>
</file>
Expand Down
2 changes: 1 addition & 1 deletion Resources/translations/victoire.es.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<source>widget.articlelist.new.action.label</source>
<target>Lista de artículos</target>
</trans-unit>
<trans-unit resname="modal.form.widget.type.articlelist.label">
<trans-unit id="8f6caaaec2b6fdd2111187773c70685075d64b68" resname="modal.form.widget.type.articlelist.label">
<source>modal.form.widget.type.articlelist.label</source>
<target>Lista de artículos</target>
</trans-unit>
Expand Down
2 changes: 1 addition & 1 deletion Resources/translations/victoire.fr.xliff
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<source>widget.articlelist.new.action.label</source>
<target>Liste d'articles</target>
</trans-unit>
<trans-unit resname="modal.form.widget.type.articlelist.label">
<trans-unit id="8f6caaaec2b6fdd2111187773c70685075d64b68" resname="modal.form.widget.type.articlelist.label">
<source>modal.form.widget.type.articlelist.label</source>
<target>Liste d'articles</target>
</trans-unit>
Expand Down
7 changes: 7 additions & 0 deletions Tests/Bundles.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php

$victoireTestBundles = [
new Victoire\Widget\ArticleListBundle\VictoireWidgetArticleListBundle(),
new Victoire\Widget\ListingBundle\VictoireWidgetListingBundle(),
new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle
];
13 changes: 13 additions & 0 deletions Tests/Features/create.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@mink:selenium2 @alice(Page) @reset-schema
Feature: Create a ArticleList widget

Background:
Given I maximize the window
And I am on homepage

Scenario: I create a new ArticleList widget
When I switch to "layout" mode
Then I should see "New content"
When I select "Articles list" from the "1" select of "main_content" slot
Then I should see "Widget (Articles list)"
And I should see "1" quantum
31 changes: 31 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
machine:
timezone:
Europe/Paris
hosts:
fr.victoire.io: 127.0.0.1
en.victoire.io: 127.0.0.1
services:
- redis
php:
version: 7.1.0

checkout:
post:
- git submodule sync
- git submodule update --init

dependencies:
override:
- bash victoire-test-suite/dependencies.sh friendsofvictoire/articlelist-widget
cache_directories:
- ~/.composer/cache

test:
override:
- bash victoire-test-suite/circle.sh friendsofvictoire/articlelist-widget:
parallel: true
- bash victoire-test-suite/test.sh friendsofvictoire/articlelist-widget

general:
artifacts:
- "fails"
1 change: 1 addition & 0 deletions victoire-test-suite
Submodule victoire-test-suite added at 1b688b