mirror of
https://github.com/maputnik/editor.git
synced 2025-12-25 23:50:02 +00:00
Added new CI workflow using GitHub actions.
Also - Fixed screenshot tests - Fixed code coverage - Removed appveyor - Removed circleci - Updated wdio related dependencies - Added docker image deploy to the GitHub registry
This commit is contained in:
@@ -42,8 +42,8 @@ try {
|
||||
})
|
||||
|
||||
browser.addCommand('takeScreenShot', function(filepath) {
|
||||
var data = browser.takeScreenshot();
|
||||
fs.writeFileSync(path.join(SCREENSHOTS_PATH, filepath), data.value, 'base64');
|
||||
var savepath = path.join(SCREENSHOTS_PATH, filepath);
|
||||
browser.saveScreenshot(savepath);
|
||||
});
|
||||
|
||||
browser.addCommand('flushReactUpdates', function() {
|
||||
|
||||
Reference in New Issue
Block a user