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 1b361b3591e..f8ecfe6062c 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 8a3861a1c80..7a8f4c4a78b 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 f4d21d6cbd5..3ee0ad5d3a3 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') }, @@ -342,4 +342,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 dbe0052e731..68c23f35371 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,7 +22,7 @@ module.exports = { .addFile('myTokenV1.sol', sources[0]['myTokenV1.sol']) .clickLaunchIcon('solidity') .pause(2000) - // 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 .click('[data-id="compilerContainerCompileBtn"]') .clickLaunchIcon('filePanel') .isVisible({ @@ -344,4 +344,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 fa2545c4e03..7b567ea958b 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,7 +28,7 @@ module.exports = { .addFile('myTokenV1.sol', sources[0]['myTokenV1.sol']) .clickLaunchIcon('solidity') .pause(2000) - // 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 .click('[data-id="compilerContainerCompileBtn"]') .clickLaunchIcon('filePanel') .isVisible({ @@ -350,4 +350,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')