Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
a85c16d
Add plumbing for template explorer to modal plugin
Sep 8, 2025
cba3241
setup and state changes for template explorer modal
Sep 8, 2025
ddeb1ac
create template explorer modal. modify app context.
Sep 15, 2025
b978a39
rename plugin files appropriately.
Sep 16, 2025
07e8dbe
rename plugin file. Add ts compiler option
Sep 17, 2025
8f79174
fix styles. add logo update helpers.tsx
Sep 22, 2025
70855e8
fix search to filter and filter by tag. fix order of components
Sep 23, 2025
6b1803a
finished contract wizard screen
Sep 26, 2025
e3dde7a
update types. Working on miniFile Explorer and workspace details
Sep 29, 2025
52509fc
fix dom element nesting error
Sep 29, 2025
791aa0b
styling icons
Sep 29, 2025
52db1e7
fix styling of editor. fix styling of miniexplorer
Sep 30, 2025
575e2dd
connect screens statefully. update zeppelin wizard code
Oct 7, 2025
b625fcc
update types and the reducer
Oct 7, 2025
ef98b46
consolidate reducer and state. Add logic for workspace creation.
Oct 8, 2025
b976769
contract file changes
Oct 13, 2025
e475c0b
light up topcards. add behaviour to facade
Oct 16, 2025
9102942
load readme for template
Oct 17, 2025
d4386ee
reusable markdown component
Oct 17, 2025
3d554e0
final screen in wizard.
Oct 20, 2025
1b32f29
finish fixing workspace generation bug. Looking at tests
Oct 23, 2025
47041e1
Merge branch 'master' into extend-modal
joeizang Oct 24, 2025
d29fb1c
cleanup and fix imports
Oct 24, 2025
861149f
clean up and fix reading readme for blank template
Oct 24, 2025
aa41c0c
add e2e for template exp modal
Oct 24, 2025
24857cf
remove test button
Oct 24, 2025
cc1f43e
cleanup and fixes. Notification after AI workspace generation
Oct 24, 2025
b27f753
add more e2es. cleaning up contract wizard
Oct 27, 2025
f59c71f
add more tests
Oct 28, 2025
41598eb
Merge branch 'master' into extend-modal
joeizang Oct 28, 2025
cd7a9fa
create reusable md renderer to address @yann300 comments. fix height …
Oct 29, 2025
2e10fa8
fixed the preview editor breaking the main ide editor.
Oct 29, 2025
03862e5
handle scripts strategy
Oct 31, 2025
9573eef
fixed issues with scripts template
Oct 31, 2025
836fd78
fix finish screen to cater to 0xparc
Oct 31, 2025
276f985
import folder
Nov 3, 2025
8396897
fixes
Nov 3, 2025
5cc516b
fix home button
Nov 4, 2025
480d99d
Merge branch 'master' into extend-modal
joeizang Nov 4, 2025
242c868
Merge branch 'master' into extend-modal
joeizang Nov 4, 2025
b8e6140
updating wizard editor background
Nov 4, 2025
f56a1a0
fixed contract wizard editor theme
Nov 4, 2025
9898308
fixed workspace duplicate name
Nov 4, 2025
8f41796
Merge branch 'master' into extend-modal
joeizang Nov 4, 2025
ec0104d
fix unique names
Nov 4, 2025
066c1a5
fixed errornous workspace name for blank template
Nov 5, 2025
3c4f27f
fix styling issues
Nov 5, 2025
1aee93b
working on project upload
Nov 5, 2025
6419546
cleanup and handle import project.
Nov 5, 2025
48546f7
rm the code formater after generation
STetsing Nov 5, 2025
9a2bd04
fix ai generation of workspaces
Nov 5, 2025
39102c2
Merge branch 'master' into extend-modal
joeizang Nov 5, 2025
da648d0
fixed bug for OZ section of templates
Nov 6, 2025
d1739b8
fix editor for basic template
Nov 6, 2025
88aabf7
fixing e2e
Nov 6, 2025
8aa9ab3
Merge branch 'master' into extend-modal
joeizang Nov 6, 2025
dc9dd41
fix more e2e
Nov 7, 2025
6721b0c
updating more e2es
Nov 7, 2025
91b9f7f
cleanup and update e2es
Nov 7, 2025
88ab9ad
finish fixing e2es locally
Nov 10, 2025
39f5552
cleanup console logs
Nov 10, 2025
3432c62
fixed circom tests
Nov 10, 2025
886381e
Merge pull request #6512 from remix-project-org/no_code_formater
joeizang Nov 10, 2025
2a13c56
fix circle failed tests
Nov 10, 2025
0bb5d2e
fix circle ci e2e
Nov 10, 2025
7091504
Merge branch 'master' into extend-modal
joeizang Nov 10, 2025
7e06ce9
fixed more test on circleci
Nov 10, 2025
296ba71
Merge branch 'master' into extend-modal
joeizang Nov 10, 2025
901c16d
fix e2e
Nov 10, 2025
2e6f0c6
Merge branch 'master' into extend-modal
joeizang Nov 10, 2025
6166182
remove duplicate imports from conflict resolution with mcp pr
Nov 10, 2025
1eebbc8
fixed comments from @Aniket-Engg
Nov 11, 2025
6d699e6
fix comments from @yann300
Nov 11, 2025
ed74ab7
fix ai comment from @yann300
Nov 11, 2025
d840ca0
fix contract wizard select component
Nov 11, 2025
001248b
cleanup
Nov 11, 2025
f5d98d5
Merge branch 'master' into extend-modal
joeizang Nov 12, 2025
ca3297e
Merge branch 'master' into extend-modal
Aniket-Engg Nov 12, 2025
06ceb28
fixed ai tile as it broke with updates
Nov 12, 2025
c4bc847
fix the search logic
Nov 12, 2025
8aee63f
fixed ai autocomplete errors in generated code.
Nov 12, 2025
93ec7d3
fix import project to not flatten structure.
Nov 12, 2025
3226391
fix upload to exclude root folder
Nov 12, 2025
3b29c6f
cleanup
Nov 12, 2025
f607b8f
cleanup
Nov 12, 2025
841ee0f
remove unwanted readme in upload project
Nov 13, 2025
ec2f115
change text in script related tamplates
Nov 13, 2025
b3e9503
cleanup and fix
Nov 13, 2025
4f3095b
update behaviour
Nov 13, 2025
c5c3c70
cleanup
Nov 13, 2025
7fbb96f
fix project import
Nov 13, 2025
5fae389
responding to comments by @Aniket-Engg
Nov 13, 2025
69f664c
cleanup
Nov 13, 2025
f725e24
Merge branch 'master' into extend-modal
Aniket-Engg Nov 14, 2025
14d0c33
refactor as per @Aniket-Engg
Nov 14, 2025
93acce2
finish cleanup and refactors.
Nov 14, 2025
fc403c3
finish adding Matomo tracking
Nov 14, 2025
d787eb3
Merge branch 'master' into extend-modal
joeizang Nov 17, 2025
4b65376
fix basic template edit name
Nov 17, 2025
e5ea149
update workspace name edit
Nov 17, 2025
49f7561
Merge branch 'master' into extend-modal
joeizang Nov 17, 2025
c8660fe
fix state change
Nov 17, 2025
ad21b14
update e2e. fix workspace naming for oz templates
Nov 17, 2025
12d51a1
cleanup
Nov 17, 2025
c77291a
fix wrong state updates
Nov 17, 2025
c855f6f
fix bug in naming basic or default workspace
Nov 17, 2025
b1f2c18
clean up.
Nov 17, 2025
42e5523
fix e2e
Nov 17, 2025
7fea8f5
fix naming bug
Nov 17, 2025
987eb00
Merge branch 'master' into extend-modal
Aniket-Engg Nov 17, 2025
8039acb
update e2e
Nov 17, 2025
0d026c0
fix existing workspace creation error. Add e2e
Nov 17, 2025
7b483fe
fix erc721 test
Nov 17, 2025
577a9a6
fix e2e
Nov 17, 2025
47f8737
Merge branch 'master' into extend-modal
joeizang Nov 17, 2025
90d162f
fix e2e
Nov 17, 2025
922c577
fix flaky test
Nov 17, 2025
8f9083e
flaky prs fixed
Nov 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ parameters:
default: ""
run_file_tests_keyword:
type: enum
enum: ["", "ai_panel", "ballot", "ballot_0_4_14", "blockchain", "bottom-bar", "circom", "code_format", "compile_run_widget", "compiler_api", "contract_flattener", "contract_verification", "debugger", "defaultLayout", "deploy_vefiry", "dgit_github", "dgit_local", "editor", "editorHoverContext", "editorReferences", "editor_error_marker", "editor_line_text", "eip1153", "eip7702", "environment-account", "erc721", "etherscan_api", "expandAllFolders", "fileExplorer", "fileManager_api", "file_decorator", "file_explorer_context_menu", "file_explorer_dragdrop", "file_explorer_multiselect", "generalSettings", "gist", "homeTab", "importFromGithub", "layout", "learneth", "libraryDeployment", "matomo-bot-detection", "matomo-consent", "mcp_all_resources", "mcp_all_tools", "mcp_server_complete", "mcp_server_connection", "mcp_server_lifecycle", "mcp_workflow_integration", "metamask", "migrateFileSystem", "noir", "pinned_contracts", "pinned_plugin", "pluginManager", "plugin_api", "providers", "proxy_oz_v4", "proxy_oz_v5", "proxy_oz_v5_non_shanghai_runtime", "publishContract", "quickDapp_metamask", "recorder", "remixd", "runAndDeploy", "script-runner", "search", "signingMessage", "sol2uml", "solidityImport", "solidityUnittests", "specialFunctions", "staticAnalysis", "stressEditor", "templates", "terminal", "transactionExecution", "txListener", "uniswap_v4_core", "url", "usingWebWorker", "verticalIconsPanel", "vm_state", "vyper_api", "walkthrough", "workspace", "workspace_git"]
enum: ["", "ai_panel", "ballot", "ballot_0_4_14", "blockchain", "bottom-bar", "circom", "code_format", "compile_run_widget", "compiler_api", "contract_flattener", "contract_verification", "debugger", "defaultLayout", "deploy_vefiry", "dgit_github", "dgit_local", "editor", "editorHoverContext", "editorReferences", "editor_error_marker", "editor_line_text", "eip1153", "eip7702", "environment-account", "erc721", "etherscan_api", "expandAllFolders", "fileExplorer", "fileManager_api", "file_decorator", "file_explorer_context_menu", "file_explorer_dragdrop", "file_explorer_multiselect", "generalSettings", "gist", "homeTab", "importFromGithub", "layout", "learneth", "libraryDeployment", "matomo-bot-detection", "matomo-consent", "mcp_all_resources", "mcp_all_tools", "mcp_server_complete", "mcp_server_connection", "mcp_server_lifecycle", "mcp_workflow_integration", "metamask", "migrateFileSystem", "noir", "pinned_contracts", "pinned_plugin", "pluginManager", "plugin_api", "providers", "proxy_oz_v4", "proxy_oz_v5", "proxy_oz_v5_non_shanghai_runtime", "publishContract", "quickDapp_metamask", "recorder", "remixd", "runAndDeploy", "script-runner", "search", "signingMessage", "sol2uml", "solidityImport", "solidityUnittests", "specialFunctions", "staticAnalysis", "stressEditor", "template_exp_modal", "terminal", "transactionExecution", "txListener", "uniswap_v4_core", "url", "usingWebWorker", "verticalIconsPanel", "vm_state", "vyper_api", "walkthrough", "workspace", "workspace_git"]
default: ""
run_flaky_tests:
type: boolean
Expand Down
23 changes: 15 additions & 8 deletions apps/remix-ide-e2e/src/tests/ballot.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,23 @@ module.exports = {
browser
.clickLaunchIcon('filePanel')
.click('*[data-id="workspacesSelect"]')
.pause(2000)
.click('*[data-id="workspacecreate"]')
.waitForElementPresent('*[data-id="create-remixDefault"]')
.scrollAndClick('*[data-id="create-remixDefault"]')
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]')
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]')
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_remix_default')
// eslint-disable-next-line dot-notation
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_remix_default' })
.modalFooterOKClick('TemplatesSelection')
.waitForElementVisible('*[data-id="template-explorer-modal-react"]')
.waitForElementVisible('*[data-id="template-explorer-template-container"]')
.click('*[data-id="template-explorer-template-container"]')
.waitForElementPresent('*[data-id="template-card-remixDefault-0"]')
.click('*[data-id="template-card-remixDefault-0"]')
.waitForElementVisible('*[data-id="workspace-details-section"]')
.waitForElementVisible('*[data-id="default-workspace-name-edit-icon"]')
.click('*[data-id="default-workspace-name-edit-icon"]')
.waitForElementVisible('*[data-id="workspace-name-input"]')
.setValue('*[data-id="workspace-name-input"]', 'workspace_remix_default')
.click('*[data-id="default-workspace-name-edit-icon"]')
.waitForElementVisible('*[data-id="default-workspace-name-span"]')
.assert.textContains('*[data-id="default-workspace-name-span"]', 'WORKSPACE_REMIX_DEFAULT', 'Workspace name is correct')
.pause(1000)
.click('*[data-id="validateWorkspaceButton"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]')
.addFile('contracts/lib/storage/src/Storage.sol', { content: storageContract})
.addFile('remappings.txt', { content: 'storage=contracts/lib/storage/src' })
Expand Down
50 changes: 28 additions & 22 deletions apps/remix-ide-e2e/src/tests/circom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,16 @@ module.exports = {
browser
.clickLaunchIcon('filePanel')
.click('*[data-id="workspacesSelect"]')
.pause(2000)
.click('*[data-id="workspacecreate"]')
.waitForElementPresent('*[data-id="create-semaphore"]')
.scrollAndClick('*[data-id="create-semaphore"]')
.modalFooterOKClick('TemplatesSelection')
.waitForElementVisible('*[data-id="template-explorer-modal-react"]')
.waitForElementVisible('*[data-id="template-explorer-template-container"]')
.click('*[data-id="template-explorer-template-container"]')
.waitForElementVisible('*[data-id="template-explorer-template-container"]')
.scrollInto('*[data-id="template-category-Circom ZKP"]')
.waitForElementVisible('*[data-id="template-card-semaphore-0"]')
.click('*[data-id="template-card-semaphore-0"]')
.click('*[data-id="validate-semaphoreworkspace-button"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcircuits"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcircuits/semaphore.circom"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemscripts"]')
Expand All @@ -33,8 +39,8 @@ module.exports = {
'Should compile a simple circuit using editor play button #group1': function (browser: NightwatchBrowser) {
browser
.click('[data-id="treeViewLitreeViewItemcircuits/simple.circom"]')
.waitForElementPresent('[data-path="Semaphore - 1/circuits/simple.circom"]')
.waitForElementVisible('[data-path="Semaphore - 1/circuits/simple.circom"]')
.waitForElementPresent('[data-path="circuits/simple.circom"]')
.waitForElementVisible('[data-path="circuits/simple.circom"]')
.waitForElementPresent('[data-id="verticalIconsKindcircuit-compiler"]')
.waitForElementVisible('[data-id="verticalIconsKindcircuit-compiler"]')
.click('[data-id="compile-action"]')
Expand Down Expand Up @@ -65,8 +71,8 @@ module.exports = {
'Should compile a simple circuit using compile button in circom plugin #group2': function (browser: NightwatchBrowser) {
browser
.click('[data-id="treeViewLitreeViewItemcircuits/simple.circom"]')
.waitForElementPresent('[data-path="Semaphore - 1/circuits/simple.circom"]')
.waitForElementVisible('[data-path="Semaphore - 1/circuits/simple.circom"]')
.waitForElementPresent('[data-path="circuits/simple.circom"]')
.waitForElementVisible('[data-path="circuits/simple.circom"]')
.clickLaunchIcon('circuit-compiler')
.frame(0)
.waitForElementPresent('button[data-id="compile_circuit_btn"]')
Expand Down Expand Up @@ -114,8 +120,8 @@ module.exports = {
'Should compile a simple circuit using CTRL + S from the editor #group3': function (browser: NightwatchBrowser) {
browser
.click('[data-id="treeViewLitreeViewItemcircuits/simple.circom"]')
.waitForElementPresent('[data-path="Semaphore - 1/circuits/simple.circom"]')
.waitForElementVisible('[data-path="Semaphore - 1/circuits/simple.circom"]')
.waitForElementPresent('[data-path="circuits/simple.circom"]')
.waitForElementVisible('[data-path="circuits/simple.circom"]')
.waitForElementPresent('[data-id="verticalIconsKindcircuit-compiler"]')
.waitForElementVisible('[data-id="verticalIconsKindcircuit-compiler"]')
.perform(function () {
Expand All @@ -134,8 +140,8 @@ module.exports = {
'Should display warnings for compiled circuit without pragma version #group4': function (browser: NightwatchBrowser) {
browser
.click('[data-id="treeViewLitreeViewItemcircuits/simple.circom"]')
.waitForElementPresent('[data-path="Semaphore - 1/circuits/simple.circom"]')
.waitForElementVisible('[data-path="Semaphore - 1/circuits/simple.circom"]')
.waitForElementPresent('[data-path="circuits/simple.circom"]')
.waitForElementVisible('[data-path="circuits/simple.circom"]')
.setEditorValue(warningCircuit)
.clickLaunchIcon('circuit-compiler')
.frame(0)
Expand Down Expand Up @@ -184,9 +190,9 @@ module.exports = {
.clickLaunchIcon('filePanel')
.click('*[data-id="workspacesSelect"]')
.click('*[data-id="workspacecreate"]')
.waitForElementPresent('*[data-id="create-hashchecker"]')
.scrollAndClick('*[data-id="create-hashchecker"]')
.modalFooterOKClick('TemplatesSelection')
.waitForElementPresent('*[data-id="template-card-hashchecker-1"]')
.click('*[data-id="template-card-hashchecker-1"]')
.click('*[data-id="validate-hashcheckerworkspace-button"]')
.pause(100)
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcircuits"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcircuits/calculate_hash.circom"]')
Expand All @@ -204,8 +210,8 @@ module.exports = {
'Should run groth16 trusted setup script for hash checker #group5': function (browser: NightwatchBrowser) {
browser
.click('[data-id="treeViewLitreeViewItemscripts/groth16/groth16_trusted_setup.ts"]')
.waitForElementPresent('[data-path="Hash Checker - 1/scripts/groth16/groth16_trusted_setup.ts"]')
.waitForElementVisible('[data-path="Hash Checker - 1/scripts/groth16/groth16_trusted_setup.ts"]')
.waitForElementPresent('[data-path="scripts/groth16/groth16_trusted_setup.ts"]')
.waitForElementVisible('[data-path="scripts/groth16/groth16_trusted_setup.ts"]')
.waitForElementPresent('[data-id="verticalIconsKindcircuit-compiler"]')
.waitForElementVisible('[data-id="verticalIconsKindcircuit-compiler"]')
.click('[data-id="compile-action"]')
Expand All @@ -218,8 +224,8 @@ module.exports = {
'Should run groth16 zkproof script for hash checker #group5': function (browser: NightwatchBrowser) {
browser
.click('[data-id="treeViewLitreeViewItemscripts/groth16/groth16_zkproof.ts"]')
.waitForElementPresent('[data-path="Hash Checker - 1/scripts/groth16/groth16_zkproof.ts"]')
.waitForElementVisible('[data-path="Hash Checker - 1/scripts/groth16/groth16_zkproof.ts"]')
.waitForElementPresent('[data-path="scripts/groth16/groth16_zkproof.ts"]')
.waitForElementVisible('[data-path="scripts/groth16/groth16_zkproof.ts"]')
.waitForElementPresent('[data-id="verticalIconsKindcircuit-compiler"]')
.waitForElementVisible('[data-id="verticalIconsKindcircuit-compiler"]')
.click('[data-id="compile-action"]')
Expand All @@ -238,8 +244,8 @@ module.exports = {
'Should run plonk trusted setup script for hash checker #group6': function (browser: NightwatchBrowser) {
browser
.click('[data-id="treeViewLitreeViewItemscripts/plonk/plonk_trusted_setup.ts"]')
.waitForElementPresent('[data-path="Hash Checker - 1/scripts/plonk/plonk_trusted_setup.ts"]')
.waitForElementVisible('[data-path="Hash Checker - 1/scripts/plonk/plonk_trusted_setup.ts"]')
.waitForElementPresent('[data-path="scripts/plonk/plonk_trusted_setup.ts"]')
.waitForElementVisible('[data-path="scripts/plonk/plonk_trusted_setup.ts"]')
.waitForElementPresent('[data-id="verticalIconsKindcircuit-compiler"]')
.waitForElementVisible('[data-id="verticalIconsKindcircuit-compiler"]')
.click('[data-id="compile-action"]')
Expand All @@ -252,8 +258,8 @@ module.exports = {
'Should run plonk zkproof script for hash checker #group6': function (browser: NightwatchBrowser) {
browser
.click('[data-id="treeViewLitreeViewItemscripts/plonk/plonk_zkproof.ts"]')
.waitForElementPresent('[data-path="Hash Checker - 1/scripts/plonk/plonk_zkproof.ts"]')
.waitForElementVisible('[data-path="Hash Checker - 1/scripts/plonk/plonk_zkproof.ts"]')
.waitForElementPresent('[data-path="scripts/plonk/plonk_zkproof.ts"]')
.waitForElementVisible('[data-path="scripts/plonk/plonk_zkproof.ts"]')
.waitForElementPresent('[data-id="verticalIconsKindcircuit-compiler"]')
.waitForElementVisible('[data-id="verticalIconsKindcircuit-compiler"]')
.click('[data-id="compile-action"]')
Expand Down
20 changes: 11 additions & 9 deletions apps/remix-ide-e2e/src/tests/erc721.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ module.exports = {
'Deploy SampleERC721 whose bytecode is very similar to ERC721': function (browser: NightwatchBrowser) {
browser.clickLaunchIcon('filePanel')
.click('*[data-id="workspacesSelect"]')
.pause(2000)
.click('*[data-id="workspacecreate"]')
// create contract
.waitForElementPresent('*[data-id="create-hashchecker"]')
.scrollAndClick('*[data-id="create-ozerc721"]')
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]')
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]')
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_erc721')
// eslint-disable-next-line dot-notation
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_erc721' })
.modalFooterOKClick('TemplatesSelection')
.waitForElementVisible('*[data-id="template-explorer-modal-react"]')
.waitForElementVisible('*[data-id="template-explorer-template-container"]')
.click('*[data-id="template-explorer-template-container"]')
.waitForElementVisible('*[data-id="template-explorer-template-container"]')
.waitForElementVisible('*[data-id="contract-wizard-topcard"]')
.click('*[data-id="contract-wizard-topcard"]')
.waitForElementVisible('*[data-id="contract-wizard-container"]')
.click('*[data-id="contract-wizard-contract-type-dropdown"]')
.click('*[data-id="contract-wizard-contract-type-dropdown-item-erc721"]')
.click('*[data-id="contract-wizard-validate-workspace-button"]')
.pause(100)
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts/MyToken.sol"]')
Expand Down
6 changes: 3 additions & 3 deletions apps/remix-ide-e2e/src/tests/noir.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ module.exports = {
.clickLaunchIcon('filePanel')
.click('*[data-id="workspacesSelect"]')
.click('*[data-id="workspacecreate"]')
.waitForElementPresent('*[data-id="create-multNr"]')
.scrollAndClick('*[data-id="create-multNr"]')
.modalFooterOKClick('TemplatesSelection')
.waitForElementPresent('*[data-id="template-card-multNr-0"]')
.scrollAndClick('*[data-id="template-card-multNr-0"]')
.click('*[data-id="validate-multNrworkspace-button"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemsrc"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemsrc/main.nr"]')
.waitForElementVisible('*[data-id="treeViewLitreeViewItemtests"]')
Expand Down
24 changes: 16 additions & 8 deletions apps/remix-ide-e2e/src/tests/pinned_contracts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,23 @@ module.exports = {
browser
.clickLaunchIcon('filePanel')
.click('*[data-id="workspacesSelect"]')
.pause(2000)
.click('*[data-id="workspacecreate"]')
.waitForElementPresent('*[data-id="create-remixDefault"]')
.scrollAndClick('*[data-id="create-remixDefault"]')
.waitForElementVisible('*[data-id="modalDialogCustomPromptTextCreate"]')
.scrollAndClick('*[data-id="modalDialogCustomPromptTextCreate"]')
.setValue('*[data-id="modalDialogCustomPromptTextCreate"]', 'workspace_remix_default')
// eslint-disable-next-line dot-notation
.execute(function () { document.querySelector('*[data-id="modalDialogCustomPromptTextCreate"]')['value'] = 'workspace_remix_default' })
.modalFooterOKClick('TemplatesSelection')
.waitForElementVisible('*[data-id="template-explorer-modal-react"]')
.waitForElementVisible('*[data-id="template-explorer-template-container"]')
.click('*[data-id="template-explorer-template-container"]')
.waitForElementPresent('*[data-id="template-card-remixDefault-0"]')
.click('*[data-id="template-card-remixDefault-0"]')
.waitForElementVisible('*[data-id="workspace-details-section"]')
.waitForElementVisible('*[data-id="default-workspace-name-edit-icon"]')
.click('*[data-id="default-workspace-name-edit-icon"]')
.waitForElementVisible('*[data-id="workspace-name-input"]')
.setValue('*[data-id="workspace-name-input"]', 'workspace_remix_default')
.click('*[data-id="default-workspace-name-edit-icon"]')
.waitForElementVisible('*[data-id="default-workspace-name-span"]')
.assert.textContains('*[data-id="default-workspace-name-span"]', 'WORKSPACE_REMIX_DEFAULT', 'Workspace name is correct')
.pause(1000)
.click('*[data-id="validateWorkspaceButton"]')
.clickLaunchIcon('udapp')
.assert.elementPresent('*[data-id="deployedContracts"]')
.assert.textContains('*[data-id="deployedContractsBadge"]', '0')
Expand Down
22 changes: 14 additions & 8 deletions apps/remix-ide-e2e/src/tests/script-runner.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,16 @@ const tests = {
.pause(2000)
.waitForElementVisible('*[data-id="workspacesSelect"]')
.click('*[data-id="workspacesSelect"]')
.pause(2000)
.click('*[data-id="workspacecreate"]')
.waitForElementPresent('*[data-id="create-semaphore"]')
.scrollAndClick('*[data-id="create-semaphore"]')
.modalFooterOKClick('TemplatesSelection')
.waitForElementVisible('*[data-id="template-explorer-modal-react"]')
.waitForElementVisible('*[data-id="template-explorer-template-container"]')
.click('*[data-id="template-explorer-template-container"]')
.waitForElementVisible('*[data-id="template-explorer-template-container"]')
.scrollInto('*[data-id="template-category-Circom ZKP"]')
.waitForElementVisible('*[data-id="template-card-semaphore-0"]')
.click('*[data-id="template-card-semaphore-0"]')
.click('*[data-id="validate-semaphoreworkspace-button"]')
// .waitForElementVisible('*[data-id="treeViewLitreeViewItemcircuits/semaphore.circom"]')
.waitForElementVisible({
locateStrategy: 'xpath',
Expand All @@ -95,9 +101,9 @@ const tests = {
.click('*[data-id="workspacesSelect"]')
.click('*[data-id="workspacecreate"]')
// .click('*[data-id="workspacesSelect"]')
.waitForElementVisible('*[data-id="create-introToEIP7702"]')
.click('*[data-id="create-introToEIP7702"]')
.modalFooterOKClick('TemplatesSelection')
.waitForElementVisible('*[data-id="template-card-simpleEip7702-2"]')
.click('*[data-id="template-card-simpleEip7702-2"]')
.click('*[data-id="validate-simpleEip7702workspace-button"]')
// .waitForElementVisible('*[data-id="treeViewLitreeViewItemcontracts/Example7702.sol"]')
.waitForElementVisible({
locateStrategy: 'xpath',
Expand All @@ -107,8 +113,8 @@ const tests = {
locateStrategy: 'xpath',
selector: "//li[@data-id='UIScriptRunner' and @role='tab']"
})
.waitForElementVisible('[data-id="sr-notloaded-default"]')
.waitForElementVisible('[data-id="sr-loaded-ethers6"]')
.scrollAndClick('*[data-id="sr-notloaded-ethers6"]')
.scrollInto('[data-id="sr-notloaded-default"]')
},
'reset to default after template': function (browser: NightwatchBrowser) {
browser
Expand Down
Loading
Loading