diff --git a/apps/remix-ide-e2e/src/tests/dgit_github.test.ts b/apps/remix-ide-e2e/src/tests/dgit_github.test.ts index 8756cb89747..4d706f5db5b 100644 --- a/apps/remix-ide-e2e/src/tests/dgit_github.test.ts +++ b/apps/remix-ide-e2e/src/tests/dgit_github.test.ts @@ -31,10 +31,10 @@ module.exports = { 'login to github #group1 #group2': function (browser: NightwatchBrowser) { browser .waitForElementVisible('*[data-id="github-panel"]') - .waitForElementVisible('*[data-id="gitubUsername"]') + .waitForElementVisible('*[data-id="githubUsername"]') .setValue('*[data-id="githubToken"]', process.env.dgit_token) .pause(1000) - .setValue('*[data-id="gitubUsername"]', 'git') + .setValue('*[data-id="githubUsername"]', 'git') .pause(1000) .setValue('*[data-id="githubEmail"]', 'git@example.com') .pause(1000) @@ -376,7 +376,7 @@ module.exports = { .pause(1000) .setValue('*[data-id="githubToken"]', 'invalidtoken') .pause(1000) - .setValue('*[data-id="gitubUsername"]', 'git') + .setValue('*[data-id="githubUsername"]', 'git') .pause(1000) .setValue('*[data-id="githubEmail"]', 'git@example.com') .pause(1000) diff --git a/apps/remix-ide-e2e/src/tests/dgit_local.test.ts b/apps/remix-ide-e2e/src/tests/dgit_local.test.ts index f77f3e46384..09e012f0256 100644 --- a/apps/remix-ide-e2e/src/tests/dgit_local.test.ts +++ b/apps/remix-ide-e2e/src/tests/dgit_local.test.ts @@ -39,8 +39,8 @@ module.exports = { .waitForElementVisible('*[data-id="github-panel"]') .pause(1000) .click('*[data-id="github-panel"]') - .waitForElementVisible('*[data-id="gitubUsername"]') - .setValue('*[data-id="gitubUsername"]', 'git') + .waitForElementVisible('*[data-id="githubUsername"]') + .setValue('*[data-id="githubUsername"]', 'git') .setValue('*[data-id="githubEmail"]', 'git@example.com') .click('*[data-id="saveGitHubCredentials"]') .modalFooterOKClick('github-credentials-error') @@ -634,4 +634,4 @@ async function spawnGitServer(path: string): Promise { } catch (e) { console.log(e) } -} \ No newline at end of file +} diff --git a/apps/remix-ide-e2e/src/tests/erc721.test.ts b/apps/remix-ide-e2e/src/tests/erc721.test.ts index 570d83a731d..d1762e53c6b 100644 --- a/apps/remix-ide-e2e/src/tests/erc721.test.ts +++ b/apps/remix-ide-e2e/src/tests/erc721.test.ts @@ -29,7 +29,7 @@ module.exports = { .waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]') .waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts/MyToken.sol"]') .openFile('contracts/MyToken.sol') - // because the compilatiom imports are slow and sometimes stop loading (not sure why, it's bug) we need to recompile and check to see if the files are really in de FS + // because the compilation imports are slow and sometimes stop loading (not sure why, it's bug) we need to recompile and check to see if the files are really in de FS .clickLaunchIcon('solidity') .pause(2000) .click('[data-id="compilerContainerCompileBtn"]') diff --git a/apps/remix-ide-e2e/src/tests/generalSettings.test.ts b/apps/remix-ide-e2e/src/tests/generalSettings.test.ts index 4714be10f2d..3a629e92711 100644 --- a/apps/remix-ide-e2e/src/tests/generalSettings.test.ts +++ b/apps/remix-ide-e2e/src/tests/generalSettings.test.ts @@ -91,12 +91,12 @@ module.exports = { browser.waitForElementVisible('*[data-id="verticalIconsKindsettings"]', 5000) .scrollAndClick('*[data-id="settingsTabThemeLabelCerulean"]') .pause(5000) - .checkElementStyle(':root', '--primary', remixIdeThemes.curelean.primary) - .checkElementStyle(':root', '--secondary', remixIdeThemes.curelean.secondary) - .checkElementStyle(':root', '--success', remixIdeThemes.curelean.success) - .checkElementStyle(':root', '--info', remixIdeThemes.curelean.info) - .checkElementStyle(':root', '--warning', remixIdeThemes.curelean.warning) - .checkElementStyle(':root', '--danger', remixIdeThemes.curelean.danger) + .checkElementStyle(':root', '--primary', remixIdeThemes.cerulean.primary) + .checkElementStyle(':root', '--secondary', remixIdeThemes.cerulean.secondary) + .checkElementStyle(':root', '--success', remixIdeThemes.cerulean.success) + .checkElementStyle(':root', '--info', remixIdeThemes.cerulean.info) + .checkElementStyle(':root', '--warning', remixIdeThemes.cerulean.warning) + .checkElementStyle(':root', '--danger', remixIdeThemes.cerulean.danger) }, 'Should load Flatly theme ': function (browser: NightwatchBrowser) { @@ -177,7 +177,7 @@ const remixIdeThemes = { warning: '#c97539', danger: '#b84040' }, - curelean: { + cerulean: { primary: '#2FA4E7', secondary: '#e9ecef', success: '#73A839', diff --git a/apps/remix-ide-e2e/src/tests/homeTab.test.ts b/apps/remix-ide-e2e/src/tests/homeTab.test.ts index 810ae1d2cdb..1b4b94ba342 100644 --- a/apps/remix-ide-e2e/src/tests/homeTab.test.ts +++ b/apps/remix-ide-e2e/src/tests/homeTab.test.ts @@ -13,7 +13,7 @@ module.exports = { .waitForElementVisible('*[data-id="homeTabGetStartedremixDefault"]') .click('*[data-id="homeTabGetStartedremixDefault"]') .waitForElementVisible('*[data-id="treeViewDivtreeViewItemcontracts/1_Storage.sol"]') - .waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts/2_Owner.sol"') + .waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts/2_Owner.sol"]') .waitForElementVisible('*[data-id="treeViewDivDraggableItemREADME.txt"') .click('*[data-id="treeViewDivtreeViewItemcontracts/1_Storage.sol"]') .waitForElementPresent({ diff --git a/apps/remix-ide-e2e/src/tests/importFromGithub.test.ts b/apps/remix-ide-e2e/src/tests/importFromGithub.test.ts index d2dbe89f21a..cb23f7f3e3f 100644 --- a/apps/remix-ide-e2e/src/tests/importFromGithub.test.ts +++ b/apps/remix-ide-e2e/src/tests/importFromGithub.test.ts @@ -68,7 +68,7 @@ module.exports = { browser .click('div[data-id="verticalIconsHomeIcon"]') .openFile('package.json') - .waitForElementVisible("*[data-path='git-hometab-test.git/package.json'") + .waitForElementVisible("*[data-path='git-hometab-test.git/package.json']") .getEditorValue((content) => { browser.assert.ok(content.indexOf('"name": "remix-project",') !== -1, 'content does contain "name": "remix-project"') }) diff --git a/apps/remix-ide-e2e/src/tests/proxy_oz_v4.test.ts b/apps/remix-ide-e2e/src/tests/proxy_oz_v4.test.ts index 85db4793b37..69a4b925eb2 100644 --- a/apps/remix-ide-e2e/src/tests/proxy_oz_v4.test.ts +++ b/apps/remix-ide-e2e/src/tests/proxy_oz_v4.test.ts @@ -16,7 +16,7 @@ module.exports = { return sources }, - 'Should set the compiler version to 8.19': function(browser: NightwatchBrowser) { + 'Should set the compiler version to v0.8.19': function(browser: NightwatchBrowser) { browser.setSolidityCompilerVersion('soljson-v0.8.19+commit.7dd6d404.js') }, @@ -322,4 +322,4 @@ const sources = [ ` } } -] \ No newline at end of file +] diff --git a/apps/remix-ide-e2e/src/tests/proxy_oz_v5.test.ts b/apps/remix-ide-e2e/src/tests/proxy_oz_v5.test.ts index 99b9c0dc974..fd30b22f7f8 100644 --- a/apps/remix-ide-e2e/src/tests/proxy_oz_v5.test.ts +++ b/apps/remix-ide-e2e/src/tests/proxy_oz_v5.test.ts @@ -22,6 +22,7 @@ module.exports = { .addFile('myTokenV1.sol', sources[0]['myTokenV1.sol']) .clickLaunchIcon('solidity') .pause(2000) + // because the compilation imports are slow and sometimes stop loading (not sure why, it's bug) we need to recompile and check to see if the files are really in de FS .click('[data-id="compilerContainerCompileBtn"]') .clickLaunchIcon('filePanel') .clickLaunchIcon('solidity') @@ -323,4 +324,4 @@ const sources = [ ` } } -] \ No newline at end of file +] diff --git a/apps/remix-ide-e2e/src/tests/proxy_oz_v5_non_shanghai_runtime.test.ts b/apps/remix-ide-e2e/src/tests/proxy_oz_v5_non_shanghai_runtime.test.ts index 0fcfe6931bc..8ed97747f3a 100644 --- a/apps/remix-ide-e2e/src/tests/proxy_oz_v5_non_shanghai_runtime.test.ts +++ b/apps/remix-ide-e2e/src/tests/proxy_oz_v5_non_shanghai_runtime.test.ts @@ -28,6 +28,7 @@ module.exports = { .addFile('myTokenV1.sol', sources[0]['myTokenV1.sol']) .clickLaunchIcon('solidity') .pause(2000) + // because the compilation imports are slow and sometimes stop loading (not sure why, it's bug) we need to recompile and check to see if the files are really in de FS .click('[data-id="compilerContainerCompileBtn"]') .clickLaunchIcon('solidity') .waitForElementPresent('select[id="compiledContracts"] option[value=MyToken]', 60000) @@ -328,4 +329,4 @@ const sources = [ ` } } -] \ No newline at end of file +] diff --git a/apps/remix-ide-e2e/src/tests/signingMessage.test.ts b/apps/remix-ide-e2e/src/tests/signingMessage.test.ts index 53edec78880..15a8e1ebe9c 100644 --- a/apps/remix-ide-e2e/src/tests/signingMessage.test.ts +++ b/apps/remix-ide-e2e/src/tests/signingMessage.test.ts @@ -26,8 +26,8 @@ module.exports = { // we check here that the input is strictly "test message" browser.assert.equal(signature.value, '0xaa8873317ebf3f34fbcc0eab3e9808d851352674c28a3d6b88dc84db6e10fc183a45bcec983a105964a13b54f18e43eceae29d982bf379826fb7ecfe0d42c6ba1b', 'signature should be tied to the input "test message"') }) - .addFile('signMassage.sol', sources[0]['signMassage.sol']) - .openFile('signMassage.sol') + .addFile('signMessage.sol', sources[0]['signMessage.sol']) + .openFile('signMessage.sol') .clickLaunchIcon('solidity') .click('*[data-id="compilerContainerCompileBtn"]') .clickLaunchIcon('udapp')