eliminate dead code in e2e tests (#3220)

* reduce shared testing dependency

* dead code cleanup

* eliminate dead code

* fix export
This commit is contained in:
Denys Vuika
2023-05-23 09:27:08 +01:00
committed by GitHub
parent 51a8908ecc
commit def6ddeaa7
36 changed files with 22 additions and 380 deletions

View File

@@ -22,7 +22,7 @@
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/
import { browser, protractor, ElementFinder, ExpectedConditions as EC, by, logging, until, WebElement } from 'protractor';
import { browser, protractor, ElementFinder, ExpectedConditions as EC, by, until, WebElement } from 'protractor';
import { BrowserVisibility, Logger } from '@alfresco/adf-testing';
import { BROWSER_WAIT_TIMEOUT } from '../configs';
import * as path from 'path';
@@ -187,10 +187,6 @@ export class Utils {
await browser.actions().sendKeys(protractor.Key.NULL).perform();
}
static async getBrowserLog(): Promise<logging.Entry[]> {
return browser.manage().logs().get('browser');
}
static formatDate(date: string): string {
return new Date(date).toLocaleDateString('en-US');
}