Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
57877662
Commit
57877662
authored
Oct 19, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused emit
parent
81a75dc0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
solidityUnittests.spec.ts
apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts
+6
-0
workspace.ts
libs/remix-ui/workspace/src/lib/actions/workspace.ts
+0
-1
workspace.ts
libs/remix-ui/workspace/src/lib/reducers/workspace.ts
+2
-1
No files found.
apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts
View file @
57877662
...
...
@@ -167,6 +167,12 @@ module.exports = {
.
execute
(
function
()
{
document
.
querySelector
(
'*[data-id="modalDialogCustomPromptTextCreate"]'
)[
'value'
]
=
'workspace_new'
})
.
waitForElementVisible
(
'*[data-id="fileSystem-modal-footer-ok-react"]'
)
.
click
(
'*[data-id="fileSystem-modal-footer-ok-react"]'
)
.
getLog
(
'browser'
,
function
(
logEntriesArray
)
{
console
.
log
(
'Log length: '
+
logEntriesArray
.
length
)
logEntriesArray
.
forEach
(
function
(
log
)
{
console
.
log
(
'['
+
log
.
level
+
'] '
+
log
.
timestamp
+
' : '
+
log
.
message
)
})
})
.
waitForElementPresent
(
'*[data-id="workspacesSelect"] option[value="workspace_new"]'
)
// end of creating
.
clickLaunchIcon
(
'solidityUnitTesting'
)
...
...
libs/remix-ui/workspace/src/lib/actions/workspace.ts
View file @
57877662
...
...
@@ -185,7 +185,6 @@ export const renameWorkspaceFromProvider = async (oldName: string, workspaceName
const
workspacesPath
=
workspaceProvider
.
workspacesPath
browserProvider
.
rename
(
'browser/'
+
workspacesPath
+
'/'
+
oldName
,
'browser/'
+
workspacesPath
+
'/'
+
workspaceName
,
true
)
workspaceProvider
.
setWorkspace
(
workspaceName
)
plugin
.
emit
(
'renameWorkspace'
,
{
name
:
workspaceName
})
plugin
.
setWorkspaces
(
await
getWorkspaces
())
}
...
...
libs/remix-ui/workspace/src/lib/reducers/workspace.ts
View file @
57877662
...
...
@@ -450,7 +450,8 @@ export const browserReducer = (state = browserInitialState, action: Action) => {
browser
:
{
...
state
.
browser
,
currentWorkspace
:
payload
.
workspaceName
,
workspaces
:
[...
workspaces
,
payload
.
workspaceName
]
workspaces
:
[...
workspaces
,
payload
.
workspaceName
],
expandPath
:
[]
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment