Copy screenshots to env (#1508)

* add screenshots

* Fix protractor file

* make 1 test to fail

* remove method

* fix build number

* add log

* fix folder path

* fix test

* fix test

* Move saving screenshots to separate file

* Remove failing tests
This commit is contained in:
Cristina Jalba
2020-07-10 15:08:37 +03:00
committed by GitHub
parent c74eb55653
commit cf9e3180c9
4 changed files with 104 additions and 1 deletions

View File

@@ -1,9 +1,11 @@
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts
const AlfrescoApi = require('@alfresco/js-api').AlfrescoApiCompatibility;
const path = require('path');
const { SpecReporter } = require('jasmine-spec-reporter');
const CDP = require('chrome-remote-interface');
const afterLaunch = require('./e2e/e2e-config/hooks/after-launch');
const fs = require('fs');
require('dotenv').config();
@@ -198,5 +200,6 @@ exports.config = {
.catch(err => {
console.log(err);
});
}
},
afterLaunch
};