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
0d1954d7
Commit
0d1954d7
authored
Mar 01, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix e2e test
parent
b83bd26c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
workspace.test.ts
apps/remix-ide-e2e/src/tests/workspace.test.ts
+2
-0
remix-ui-workspace.tsx
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
+2
-2
No files found.
apps/remix-ide-e2e/src/tests/workspace.test.ts
View file @
0d1954d7
...
...
@@ -18,6 +18,8 @@ module.exports = {
'Editor should be focused on the 3_Ballot.sol'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
pause
(
5000
)
.
refresh
()
.
pause
(
2000
)
.
getEditorValue
((
content
)
=>
{
browser
.
assert
.
ok
(
content
.
indexOf
(
'contract Ballot {'
)
!==
-
1
,
'content doesn
\'
t include Ballot contract'
)
})
...
...
libs/remix-ui/workspace/src/lib/remix-ui-workspace.tsx
View file @
0d1954d7
...
...
@@ -259,7 +259,7 @@ export const Workspace = (props: WorkspaceProps) => {
return
(
<>
<
span
>
{
state
.
modal
.
message
}
</
span
>
<
input
placeholder=
{
`workspace_${Date.now()}`
}
ref=
{
workspaceCreateInput
}
className=
"form-control"
/>
<
input
data
-
id=
"modalDialogCustomPromptText"
placeholder=
{
`workspace_${Date.now()}`
}
ref=
{
workspaceCreateInput
}
className=
"form-control"
/>
</>
)
}
...
...
@@ -268,7 +268,7 @@ export const Workspace = (props: WorkspaceProps) => {
return
(
<>
<
span
>
{
state
.
modal
.
message
}
</
span
>
<
input
placeholder=
{
state
.
currentWorkspace
}
ref=
{
workspaceRenameInput
}
className=
"form-control"
/>
<
input
data
-
id=
"modalDialogCustomPromptText"
placeholder=
{
state
.
currentWorkspace
}
ref=
{
workspaceRenameInput
}
className=
"form-control"
/>
</>
)
}
...
...
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