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
17a6463b
Commit
17a6463b
authored
Mar 17, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Publish all explorer files to gist
parent
71be5788
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
fileExplorer.js
test-browser/tests/fileExplorer.js
+16
-1
No files found.
test-browser/tests/fileExplorer.js
View file @
17a6463b
...
...
@@ -5,11 +5,12 @@ const sauce = require('./sauce')
module
.
exports
=
{
before
:
function
(
browser
,
done
)
{
init
(
browser
,
done
,
'http://127.0.0.1:8080'
,
false
)
init
(
browser
,
done
)
},
'Should create a new file `5_New_contract.sol` in file explorer'
:
function
(
browser
)
{
browser
.
waitForElementVisible
(
'div[data-id="remixIdeSidePanel"]'
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
assert
.
containsText
(
'h6[data-id="sidePanelSwapitTitle"]'
,
'FILE EXPLORERS'
)
.
click
(
'*[data-id="fileExplorerNewFilecreateNewFile"]'
)
.
waitForElementVisible
(
'*[data-id="modalDialogContainer"]'
)
...
...
@@ -72,6 +73,20 @@ module.exports = {
.
waitForElementVisible
(
'*[data-id="modalDialogContainer"]'
)
.
modalFooterOKClick
()
.
waitForElementNotPresent
(
'*[data-id="treeViewLibrowser/Browser_E2E_Tests"]'
)
},
'Should publish all explorer files to github gist'
:
function
(
browser
)
{
browser
.
waitForElementVisible
(
'*[data-id="fileExplorerNewFilepublishToGist"]'
)
.
click
(
'*[data-id="fileExplorerNewFilepublishToGist"]'
)
.
waitForElementVisible
(
'*[data-id="modalDialogContainer"]'
)
.
modalFooterOKClick
()
.
pause
(
10000
)
.
waitForElementVisible
(
'*[data-id="modalDialogContainer"]'
)
.
modalFooterOKClick
()
.
pause
(
2000
)
.
switchBrowserTab
(
1
)
.
assert
.
urlContains
(
'https://gist.github.com'
)
.
end
()
},
...
...
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