Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
12a979a
[dockerized tests/wip] Selenium, Protractor and Webdriver tests OK
jploskonka Oct 10, 2017
b75bfa6
[docker-compose.yml] Don't run Appium tests
jploskonka Oct 17, 2017
10b1efc
[docker-compose.yml] Respect passed spec path
jploskonka Oct 17, 2017
dc82b4f
[TestHelper] Keep test configs in one place
jploskonka Oct 17, 2017
140e48d
[TestHelper] use default links friendly for Travis
jploskonka Oct 17, 2017
43eb1c4
[test/rest] Run in dockerized environment
jploskonka Oct 19, 2017
a46010d
dockerize WebDriverIO, Nightmare acceptance tests
jploskonka Oct 19, 2017
9a2f9aa
[docker-compose] move env variables to .env file
jploskonka Oct 19, 2017
1ab6f30
Move docker-compose.yml and .env to /test dir
jploskonka Oct 19, 2017
e877401
Merge branch 'master' of github.com:Codeception/CodeceptJS into docke…
jploskonka Oct 25, 2017
4c9f0be
[test/acceptance] Fix nightmare within tests
jploskonka Oct 25, 2017
801a7d3
[.travis.yml] Use dockerized helpers & rest tests
jploskonka Oct 25, 2017
7d1f5d0
[.travis.yml] Remove php5-cli
jploskonka Oct 25, 2017
27694c5
[test/docker-compose] Add `test-unit` service
jploskonka Oct 25, 2017
313d758
[Dockerfile] Various fixes
jploskonka Oct 25, 2017
f57892f
[.travis.yml] Fully dockerized tests
jploskonka Oct 25, 2017
1f81f26
[Docker & docker-compose] Optimizations & travisCI
jploskonka Oct 25, 2017
f7331fa
[test/acceptance] relative path to TestHelper
jploskonka Oct 27, 2017
26221da
Merge branch 'master' of github.com:Codeception/CodeceptJS into docke…
jploskonka Oct 27, 2017
4521a60
[CONTRIBUTING.md] Add info about dockerized tests
jploskonka Oct 27, 2017
8a89427
[.travis.yml] check-out from master :D
jploskonka Oct 27, 2017
3a04c01
wercker
jploskonka Nov 1, 2017
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
Prev Previous commit
Next Next commit
dockerize WebDriverIO, Nightmare acceptance tests
Nightmare still failing on iframe examples
  • Loading branch information
jploskonka committed Oct 19, 2017
commit a46010d41f7d4b0fadffa0b649a641563264be1a
26 changes: 26 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,32 @@ services:
volumes:
- .:/codecept

test-acceptance.webdriverio:
build: .
environment:
- CODECEPT_ARGS=-c codecept.WebDriverIO.js --grep @WebDriverIO
- SITE_URL=http://php:8000
- SELENIUM_HOST=selenium.chrome
- SELENIUM_PORT=4444
depends_on:
- php
- selenium.chrome
volumes:
- ./test/acceptance:/tests

test-acceptance.nightmare:
build: .
environment:
- CODECEPT_ARGS=-c codecept.Nightmare.js --grep @Nightmare
- SITE_URL=http://php:8000
- SELENIUM_HOST=selenium.chrome
- SELENIUM_PORT=4444
depends_on:
- php
- selenium.chrome
volumes:
- ./test/acceptance:/tests

selenium.chrome:
image: selenium/standalone-chrome:3.5.2-antimony
ports:
Expand Down
16 changes: 16 additions & 0 deletions test/acceptance/codecept.Nightmare.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const TestHelper = require('/test/support/TestHelper');

module.exports.config = {
tests: "./*_test.js",
timeout: 10000,
output: "./output",
helpers: {
Nightmare: {
url: TestHelper.siteUrl()
}
},
include: {},
bootstrap: false,
mocha: {},
name: "acceptance"
}
14 changes: 0 additions & 14 deletions test/acceptance/codecept.Nightmare.json

This file was deleted.

20 changes: 20 additions & 0 deletions test/acceptance/codecept.WebDriverIO.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
const TestHelper = require('/test/support/TestHelper');

module.exports.config = {
tests: "./*_test.js",
timeout: 10000,
output: "./output",
helpers: {
WebDriverIO: {
url: TestHelper.siteUrl(),
browser: "chrome",
host: TestHelper.seleniumHost(),
port: TestHelper.seleniumPort()
}

},
include: {},
bootstrap: false,
mocha: {},
name: "acceptance"
}
16 changes: 0 additions & 16 deletions test/acceptance/codecept.WebDriverIO.json

This file was deleted.

6 changes: 3 additions & 3 deletions test/acceptance/within_test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Feature('within');

Scenario('within on form @WebDriverIO @protractor @nightmare', (I) => {
Scenario('within on form @WebDriverIO @Protractor @Nightmare', (I) => {
I.amOnPage('/form/bug1467');
I.see('TEST TEST');
within({css: '[name=form2]'}, () => {
Expand All @@ -22,7 +22,7 @@ Scenario('within on iframe @WebDriverIO @Nightmare', (I) => {
I.dontSee('Email Address');
});

Scenario('within on nested iframe @nightmare', (I) => {
Scenario('within on nested iframe @Nightmare', (I) => {
I.amOnPage('/iframe');
within({frame: ['[name=content]']}, () => {
I.fillField('rus', 'Updated');
Expand All @@ -31,4 +31,4 @@ Scenario('within on nested iframe @nightmare', (I) => {
});
I.see('Iframe test');
I.dontSee('Email Address');
});
});