2018-08-09 20:24:02 +00:00
|
|
|
require("chromedriver");
|
|
|
|
import Environment = require('../environment');
|
|
|
|
|
|
|
|
const includes = [
|
|
|
|
"docker-compose.minimal.yml",
|
|
|
|
"example/compose/docker-compose.base.yml",
|
|
|
|
"example/compose/nginx/minimal/docker-compose.yml",
|
|
|
|
"example/compose/ldap/docker-compose.yml"
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
before(function() {
|
|
|
|
this.timeout(20000);
|
2018-08-19 14:51:36 +00:00
|
|
|
this.environment = new Environment.Environment(includes);
|
|
|
|
return this.environment.setup(2000);
|
2018-08-09 20:24:02 +00:00
|
|
|
});
|
|
|
|
|
|
|
|
after(function() {
|
|
|
|
this.timeout(30000);
|
2018-08-19 14:51:36 +00:00
|
|
|
return this.environment.cleanup();
|
2018-08-09 20:24:02 +00:00
|
|
|
});
|