From 244c5e289df9d31f8a3e83d62dd74b7317737925 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Wed, 16 Mar 2022 16:02:27 +0100 Subject: [PATCH] rm grouping --- apps/remix-ide-e2e/src/tests/search.test.ts | 26 ++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/search.test.ts b/apps/remix-ide-e2e/src/tests/search.test.ts index 8e7c7b8ba9..ce754fc425 100644 --- a/apps/remix-ide-e2e/src/tests/search.test.ts +++ b/apps/remix-ide-e2e/src/tests/search.test.ts @@ -8,7 +8,7 @@ module.exports = { before: function (browser: NightwatchBrowser, done: VoidFunction) { init(browser, done, 'http://127.0.0.1:8080', true) }, - 'Should find text #group3': function (browser: NightwatchBrowser) { + 'Should find text': function (browser: NightwatchBrowser) { browser.waitForElementVisible('*[data-id="remixIdeSidePanel"]') .click('*[plugin="search"]').waitForElementVisible('*[id="search_input"]') .setValue('*[id="search_input"]', 'read').pause(1000) @@ -24,7 +24,7 @@ module.exports = { Array.isArray(res.value) && browser.assert.equal(res.value.length, 6) }) }, - 'Should find regex #group3': function (browser: NightwatchBrowser) { + 'Should find regex': function (browser: NightwatchBrowser) { browser .waitForElementVisible('*[data-id="search_use_regex"]').click('*[data-id="search_use_regex"]') .waitForElementVisible('*[id="search_input"]') @@ -39,7 +39,7 @@ module.exports = { Array.isArray(res.value) && browser.assert.equal(res.value.length, 4) }) }, - 'Should find matchcase #group3': function (browser: NightwatchBrowser) { + 'Should find matchcase': function (browser: NightwatchBrowser) { browser .waitForElementVisible('*[data-id="search_use_regex"]').click('*[data-id="search_use_regex"]') .waitForElementVisible('*[data-id="search_case_sensitive"]').click('*[data-id="search_case_sensitive"]') @@ -55,7 +55,7 @@ module.exports = { .waitForElementContainsText('*[data-id="search_results"]', 'DEPLOY_WEB3.JS', 60000) .waitForElementContainsText('*[data-id="search_results"]', 'scripts', 60000) }, - 'Should find matchword #group3': function (browser: NightwatchBrowser) { + 'Should find matchword': function (browser: NightwatchBrowser) { browser .waitForElementVisible('*[data-id="search_case_sensitive"]').click('*[data-id="search_case_sensitive"]') .waitForElementVisible('*[data-id="search_whole_word"]').click('*[data-id="search_whole_word"]') @@ -65,7 +65,7 @@ module.exports = { Array.isArray(res.value) && browser.assert.equal(res.value.length, 27) }) }, - 'Should replace text #group3': function (browser: NightwatchBrowser) { + 'Should replace text': function (browser: NightwatchBrowser) { browser .waitForElementVisible('*[data-id="toggle_replace"]').click('*[data-id="toggle_replace"]') .waitForElementVisible('*[id="search_replace"]') @@ -79,7 +79,7 @@ module.exports = { browser.assert.ok(content.includes('replacing deployer for a constructor'), 'should replace text ok') }) }, - 'Should replace text without confirmation #group3': function (browser: NightwatchBrowser) { + 'Should replace text without confirmation': function (browser: NightwatchBrowser) { browser.click('*[data-id="confirm_replace_label"]').pause(500) .clearValue('*[id="search_input"]') .setValue('*[id="search_input"]', 'replacing').pause(1000) @@ -92,7 +92,7 @@ module.exports = { browser.assert.ok(content.includes('replacing2 deployer for a constructor'), 'should replace text ok') }) }, - 'Should replace all & undo #group3': function (browser: NightwatchBrowser) { + 'Should replace all & undo': function (browser: NightwatchBrowser) { browser .clearValue('*[id="search_input"]') .setValue('*[id="search_input"]', 'storage') @@ -111,7 +111,7 @@ module.exports = { browser.assert.ok(content.includes('title Storage'), 'should undo text ok') }) }, - 'Should replace all & undo & switch between files #group3': function (browser: NightwatchBrowser) { + 'Should replace all & undo & switch between files': function (browser: NightwatchBrowser) { browser.waitForElementVisible('*[id="search_input"]') .clearValue('*[id="search_input"]') .setValue('*[id="search_input"]', 'storage') @@ -147,7 +147,7 @@ module.exports = { browser.assert.ok(content.includes("Storage' contract"), 'should replace text ok') }) }, - 'Should hide button when edited content is the same #group3': function (browser: NightwatchBrowser) { + 'Should hide button when edited content is the same': function (browser: NightwatchBrowser) { browser.waitForElementVisible('*[data-id="remixIdeSidePanel"]') .addFile('test.sol', { content: '123'}) .click('*[plugin="search"]').waitForElementVisible('*[id="search_input"]') @@ -168,7 +168,7 @@ module.exports = { ).pause(1000) .waitForElementNotPresent('*[data-id="undo-replace-test.sol"]') }, - 'Should disable/enable button when edited content changed #group3': function (browser: NightwatchBrowser) { + 'Should disable/enable button when edited content changed': function (browser: NightwatchBrowser) { browser .waitForElementVisible('*[id="search_input"]') .clearValue('*[id="search_input"]') @@ -205,7 +205,7 @@ module.exports = { }) .waitForElementNotPresent('*[data-id="undo-replace-test.sol"]') }, - 'Should find text with include #group3': function (browser: NightwatchBrowser) { + 'Should find text with include': function (browser: NightwatchBrowser) { browser .clearValue('*[id="search_input"]') .setValue('*[id="search_input"]', 'contract').pause(1000) @@ -214,7 +214,7 @@ module.exports = { Array.isArray(res.value) && browser.assert.equal(res.value.length, 4) }) }, - 'Should find text with exclude #group3': function (browser: NightwatchBrowser) { + 'Should find text with exclude': function (browser: NightwatchBrowser) { browser .clearValue('*[id="search_include"]').pause(2000) .setValue('*[id="search_include"]', '**').pause(2000) @@ -226,7 +226,7 @@ module.exports = { Array.isArray(res.value) && browser.assert.equal(res.value.length, 22) }) }, - 'should clear search #group3': function (browser: NightwatchBrowser) { + 'should clear search': function (browser: NightwatchBrowser) { browser .waitForElementVisible('*[id="search_input"]') .setValue('*[id="search_input"]', 'nodata').pause(1000)