Skip to content

Commit 85bb0ed

Browse files
committedMar 30, 2017
Add CI config and first Behat test
1 parent d2c5ca9 commit 85bb0ed

File tree

5 files changed

+45
-0
lines changed

5 files changed

+45
-0
lines changed
 

‎.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor/*

‎.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "victoire-test-suite"]
2+
path = victoire-test-suite
3+
url = git@github.com:Victoire/test-suite.git

‎Tests/Features/create.feature

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
@mink:selenium2 @alice(Page) @reset-schema
2+
Feature: Create a Button widget
3+
4+
Background:
5+
Given I maximize the window
6+
And I am on homepage
7+
8+
Scenario: I create a new Button widget
9+
When I switch to "layout" mode
10+
Then I should see "New content"
11+
When I select "Button" from the "1" select of "main_content" slot
12+
Then I should see "Widget (Button)"

‎circle.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
machine:
2+
timezone:
3+
Europe/Paris
4+
services:
5+
- redis
6+
php:
7+
version: 7.1.0
8+
9+
checkout:
10+
post:
11+
- git submodule sync
12+
- git submodule update --init
13+
14+
dependencies:
15+
override:
16+
- bash victoire-test-suite/dependencies.sh victoire/button-widget
17+
cache_directories:
18+
- ~/.composer/cache
19+
20+
test:
21+
override:
22+
- bash victoire-test-suite/circle.sh victoire/button-widget:
23+
parallel: true
24+
- bash victoire-test-suite/test.sh victoire/button-widget
25+
26+
general:
27+
artifacts:
28+
- "fails"

‎victoire-test-suite

Submodule victoire-test-suite added at 9eb4d61

0 commit comments

Comments
 (0)
Please sign in to comment.