From b579eee9b27f58e3150a1c0fa97932b031c76373 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Tue, 20 Sep 2022 17:26:06 +0200 Subject: [PATCH] rm screens --- apps/remix-ide-e2e/src/commands/addFile.ts | 7 ------- apps/remix-ide-e2e/src/tests/url.test.ts | 1 - 2 files changed, 8 deletions(-) diff --git a/apps/remix-ide-e2e/src/commands/addFile.ts b/apps/remix-ide-e2e/src/commands/addFile.ts index 24fc8417be..9d8b724ca4 100644 --- a/apps/remix-ide-e2e/src/commands/addFile.ts +++ b/apps/remix-ide-e2e/src/commands/addFile.ts @@ -15,7 +15,6 @@ class AddFile extends EventEmitter { function addFile(browser: NightwatchBrowser, name: string, content: NightwatchContractContent, done: VoidFunction) { browser - .saveScreenshot('./reports/screenshots/addFile.png') .isVisible({ selector: "//*[@data-id='sidePanelSwapitTitle' and contains(.,'File explorer')]", locateStrategy: 'xpath', @@ -24,11 +23,9 @@ function addFile(browser: NightwatchBrowser, name: string, content: NightwatchCo }, (okVisible) => { if (!okVisible.value) { browser.clickLaunchIcon('filePanel') - .saveScreenshot('./reports/screenshots/addFile2.png') } }) .scrollInto('li[data-id="treeViewLitreeViewItemREADME.txt"]') - .saveScreenshot('./reports/screenshots/addFile3.png') .waitForElementVisible('li[data-id="treeViewLitreeViewItemREADME.txt"]') .click('li[data-id="treeViewLitreeViewItemREADME.txt"]').pause(1000) // focus on root directory .isVisible({ @@ -47,11 +44,8 @@ function addFile(browser: NightwatchBrowser, name: string, content: NightwatchCo } else { browser.click('[data-id="fileExplorerNewFilecreateNewFile"]') .waitForElementContainsText('*[data-id$="/blank"]', '', 60000) - .saveScreenshot('./reports/screenshots/addFile4.png') .sendKeys('*[data-id$="/blank"] .remixui_items', name) - .saveScreenshot('./reports/screenshots/addFile5.png') .sendKeys('*[data-id$="/blank"] .remixui_items', browser.Keys.ENTER) - .saveScreenshot('./reports/screenshots/addFile6.png') .isVisible({ selector: `li[data-id="treeViewLitreeViewItem${name}"]`, abortOnFailure: false, @@ -59,7 +53,6 @@ function addFile(browser: NightwatchBrowser, name: string, content: NightwatchCo }) .waitForElementVisible(`li[data-id="treeViewLitreeViewItem${name}"]`) .setEditorValue(content.content) - .saveScreenshot('./reports/screenshots/addFile7.png') .perform(function () { done() }) diff --git a/apps/remix-ide-e2e/src/tests/url.test.ts b/apps/remix-ide-e2e/src/tests/url.test.ts index bfc70ac57c..d1d4ea084c 100644 --- a/apps/remix-ide-e2e/src/tests/url.test.ts +++ b/apps/remix-ide-e2e/src/tests/url.test.ts @@ -125,7 +125,6 @@ module.exports = { .refreshPage() // we do one reload for making sure we already have the default workspace .waitForElementVisible('[data-id="compilerContainerCompileBtn"]') - .saveScreenshot('./reports/screenshots/should-load-the-code-from-url-code-params.png') .clickLaunchIcon('filePanel') .waitForElementVisible({ selector: `//li[@data-id="treeViewLitreeViewItemethereum/remix-project/apps/remix-ide/contracts/app/solidity/mode.sol"]`,