Skip to content

Commit e9e3e81

Browse files
committed
renaming for e2e
1 parent f823260 commit e9e3e81

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ parameters:
1414
default: ""
1515
run_file_tests_keyword:
1616
type: enum
17-
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"]
17+
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", "toggle_panels", "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"]
1818
default: ""
1919
run_flaky_tests:
2020
type: boolean

apps/remix-ide-e2e/src/tests/pinned_plugin.test.ts renamed to apps/remix-ide-e2e/src/tests/toggle_panels.test.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module.exports = {
88
init(browser, done)
99
},
1010

11-
'Check if RemixAI plugin is pinned #group1': function (browser: NightwatchBrowser) {
11+
'Check if RemixAI plugin is pinned to right side panel on load #group1': function (browser: NightwatchBrowser) {
1212
browser
1313
.waitForElementVisible('*[data-id="movePluginToLeft"]')
1414
.waitForElementVisible('*[data-id="remix-ai-assistant-starter-beginner-0"]')
@@ -17,7 +17,7 @@ module.exports = {
1717
.click('*[data-id="movePluginToLeft"]')
1818
.waitForElementVisible('*[data-pinnedPlugin="movePluginToRight-remixaiassistant"]')
1919
},
20-
'Pin Solidity Compiler plugin #group1': function (browser: NightwatchBrowser) {
20+
'Pin Solidity Compiler plugin to right side panel #group1': function (browser: NightwatchBrowser) {
2121
browser
2222
.clickLaunchIcon('solidity')
2323
.pause(2000)
@@ -26,32 +26,32 @@ module.exports = {
2626
.waitForElementVisible('*[data-pinnedPlugin="movePluginToLeft-solidity"]')
2727
.clickLaunchIcon('filePanel')
2828
},
29-
'Close Solidity Compiler Plugin and restore it #group1': function (browser: NightwatchBrowser) {
29+
'Toggle right side panel to hide pinned plugin and restore it #group1': function (browser: NightwatchBrowser) {
3030
browser
31-
.waitForElementVisible('*[data-id="closePinnedPlugin"]')
32-
.click('*[data-id="closePinnedPlugin"]')
31+
.waitForElementVisible('*[data-id="hideRightSidePanel"]')
32+
.click('*[data-id="hideRightSidePanel"]')
3333
.waitForElementNotVisible('*[data-pinnedplugin="movePluginToLeft-solidity"]')
3434
.waitForElementVisible('*[data-id="restoreClosedPlugin"')
3535
.click('*[data-id="restoreClosedPlugin"]')
3636
.waitForElementVisible('*[data-pinnedplugin="movePluginToLeft-solidity"]')
3737
},
38-
'Close Solidity Compiler Plugin, reload IDE, it should be closed and restore it #group1': function (browser: NightwatchBrowser) {
38+
'Toggle right side panel, reload IDE, panel state should persist #group1': function (browser: NightwatchBrowser) {
3939
browser
40-
.waitForElementVisible('*[data-id="closePinnedPlugin"]')
41-
.click('*[data-id="closePinnedPlugin"]')
40+
.waitForElementVisible('*[data-id="hideRightSidePanel"]')
41+
.click('*[data-id="hideRightSidePanel"]')
4242
.waitForElementNotVisible('*[data-pinnedplugin="movePluginToLeft-solidity"]')
4343
.waitForElementVisible('*[data-id="restoreClosedPlugin"')
4444
.refresh()
4545
.waitForElementVisible('*[data-id="restoreClosedPlugin"')
4646
.click('*[data-id="restoreClosedPlugin"]')
4747
.waitForElementVisible('*[data-pinnedplugin="movePluginToLeft-solidity"]')
4848
},
49-
'Swap pinned Solidity Compiler Plugin with RemixAI Assistant when pinned plugin is closed #group1': function (browser: NightwatchBrowser) {
49+
'Swap pinned plugin from right side panel when panel is hidden #group1': function (browser: NightwatchBrowser) {
5050
browser
5151
.refreshPage()
5252
.waitForElementVisible('*[data-pinnedplugin="movePluginToLeft-solidity"]')
53-
.waitForElementVisible('*[data-id="closePinnedPlugin"]')
54-
.click('*[data-id="closePinnedPlugin"]')
53+
.waitForElementVisible('*[data-id="hideRightSidePanel"]')
54+
.click('*[data-id="hideRightSidePanel"]')
5555
.waitForElementVisible('*[data-id="restoreClosedPlugin"]')
5656
.clickLaunchIcon('udapp')
5757
.waitForElementVisible('*[data-pinnedplugin="movePluginToRight-udapp"]')
@@ -61,7 +61,7 @@ module.exports = {
6161
.click('*[data-pinnedplugin="movePluginToLeft-udapp"]')
6262
.end()
6363
},
64-
'Check if pannel is gone when the app is in destop client mode #group1': function (browser: NightwatchBrowser) {
64+
'Check if right side panel is hidden when app is in desktop client mode #group1': function (browser: NightwatchBrowser) {
6565
browser
6666
.url('http://127.0.0.1:8080/?#activate=udapp,desktopClient')
6767
.waitForElementNotPresent('#right-side-panel')

libs/remix-ui/panel/src/lib/plugins/panel-header.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ const RemixUIPanelHeader = (props: RemixPanelProps) => {
8484
<i aria-hidden="true" className="mt-1 px-2 fak fa-fa-dock-l"></i>
8585
</CustomTooltip>
8686
</div>
87-
<CustomTooltip placement="bottom-end" tooltipText="Hide pinned Plugin">
87+
<CustomTooltip placement="bottom-end" tooltipText="Hide Panel">
8888
<div
8989
className="codicon codicon-close ms-1 fs-5 fw-bold"
9090
onClick={togglePanelHandler}
91-
data-id="closePinnedPlugin"
91+
data-id="hideRightSidePanel"
9292
></div>
9393
</CustomTooltip>
9494
</>

0 commit comments

Comments
 (0)