mirror of
https://github.com/maputnik/editor.git
synced 2026-04-08 18:40:01 +00:00
Use driver pattern for e2e tests (#2)
* Initial commit * Fix spec * Move driver * Fix config location * Fix helper location * More usage of driver * Add click * Fix click * Migrate more tests * Add setValue to driver * Move more code to driver * add isExisting to driver * Change modal tests to use driver * Fix tests * Fix test * Fix invalid alert wait * Fix missing wd * Fix tests * Fix missing fs * Fix test * Fix path * Move screenshort to driver * Migrate keyboard * Migrate skiplinks to driver * Fix tests * Try fix skip-links * add config * Add helper * Fix driver? * remove helper * remove wd-helper * Remove redundant file * Remove webdriver extsions
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
var config = {};
|
||||
config.testNetwork = process.env.TEST_NETWORK || "localhost";
|
||||
config.port = 9001;
|
||||
config.baseUrl = "http://"+config.testNetwork+":"+config.port;
|
||||
|
||||
const testNetwork = process.env.TEST_NETWORK || "localhost";
|
||||
const port = 9001;
|
||||
const baseUrl = `http://${testNetwork}:${port}`;
|
||||
const config = {
|
||||
testNetwork,
|
||||
port,
|
||||
baseUrl
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Reference in New Issue
Block a user