2018-08-10 03:24:02 +07: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 21:51:36 +07:00
|
|
|
this.environment = new Environment.Environment(includes);
|
|
|
|
return this.environment.setup(2000);
|
2018-08-10 03:24:02 +07:00
|
|
|
});
|
|
|
|
|
|
|
|
after(function() {
|
|
|
|
this.timeout(30000);
|
2018-08-19 21:51:36 +07:00
|
|
|
return this.environment.cleanup();
|
2018-08-10 03:24:02 +07:00
|
|
|
});
|