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
b3fcb2ed
Commit
b3fcb2ed
authored
Oct 18, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed failing workspace test
parent
33588ae0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
workspace.test.ts
apps/remix-ide-e2e/src/tests/workspace.test.ts
+4
-3
No files found.
apps/remix-ide-e2e/src/tests/workspace.test.ts
View file @
b3fcb2ed
...
@@ -35,7 +35,7 @@ module.exports = {
...
@@ -35,7 +35,7 @@ module.exports = {
.
clickLaunchIcon
(
'filePanel'
)
.
clickLaunchIcon
(
'filePanel'
)
.
click
(
'*[data-id="workspaceCreate"]'
)
// create workspace_name
.
click
(
'*[data-id="workspaceCreate"]'
)
// create workspace_name
.
waitForElementVisible
(
'*[data-id="modalDialogCustomPromptTextCreate"]'
)
.
waitForElementVisible
(
'*[data-id="modalDialogCustomPromptTextCreate"]'
)
.
waitForElementVisible
(
'[data-id="
workspacesModalDialog
ModalDialogModalFooter-react"] > span'
)
.
waitForElementVisible
(
'[data-id="
fileSystem
ModalDialogModalFooter-react"] > span'
)
// eslint-disable-next-line dot-notation
// eslint-disable-next-line dot-notation
.
execute
(
function
()
{
document
.
querySelector
(
'*[data-id="modalDialogCustomPromptTextCreate"]'
)[
'value'
]
=
'workspace_name'
})
.
execute
(
function
()
{
document
.
querySelector
(
'*[data-id="modalDialogCustomPromptTextCreate"]'
)[
'value'
]
=
'workspace_name'
})
.
waitForElementVisible
(
'[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok'
)
.
waitForElementVisible
(
'[data-id="fileSystemModalDialogModalFooter-react"] .modal-ok'
)
...
@@ -46,10 +46,11 @@ module.exports = {
...
@@ -46,10 +46,11 @@ module.exports = {
.
waitForElementVisible
(
'*[data-id="treeViewLitreeViewItemtest.sol"]'
)
.
waitForElementVisible
(
'*[data-id="treeViewLitreeViewItemtest.sol"]'
)
.
click
(
'*[data-id="workspaceCreate"]'
)
// create workspace_name_1
.
click
(
'*[data-id="workspaceCreate"]'
)
// create workspace_name_1
.
waitForElementVisible
(
'*[data-id="modalDialogCustomPromptTextCreate"]'
)
.
waitForElementVisible
(
'*[data-id="modalDialogCustomPromptTextCreate"]'
)
.
waitForElementVisible
(
'[data-id="fileSystemModalDialogModalFooter-react"] > span'
)
// eslint-disable-next-line dot-notation
// eslint-disable-next-line dot-notation
.
execute
(
function
()
{
document
.
querySelector
(
'*[data-id="modalDialogCustomPromptTextCreate"]'
)[
'value'
]
=
'workspace_name_1'
})
.
execute
(
function
()
{
document
.
querySelector
(
'*[data-id="modalDialogCustomPromptTextCreate"]'
)[
'value'
]
=
'workspace_name_1'
})
.
waitForElementVisible
(
'[data-id="fileSystem
ModalDialogModalFooter-react"] .modal-ok
]'
)
.
waitForElementVisible
(
'[data-id="fileSystem
-modal-footer-ok-react"
]'
)
.
click
(
'[data-id="fileSystem
ModalDialogModalFooter-react"] .modal-ok
'
)
.
click
(
'[data-id="fileSystem
-modal-footer-ok-react"]
'
)
.
waitForElementVisible
(
'*[data-id="treeViewLitreeViewItemtests"]'
)
.
waitForElementVisible
(
'*[data-id="treeViewLitreeViewItemtests"]'
)
.
pause
(
2000
)
.
pause
(
2000
)
.
waitForElementNotPresent
(
'*[data-id="treeViewLitreeViewItemtest.sol"]'
)
.
waitForElementNotPresent
(
'*[data-id="treeViewLitreeViewItemtest.sol"]'
)
...
...
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