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
d344e5e4
Commit
d344e5e4
authored
Sep 06, 2021
by
filip mertens
Committed by
davidzagi93@gmail.com
Sep 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e
parent
35f8e223
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
dgitprovider.test.ts
apps/remix-ide-e2e/src/tests/dgitprovider.test.ts
+28
-0
No files found.
apps/remix-ide-e2e/src/tests/dgitprovider.test.ts
0 → 100644
View file @
d344e5e4
'use strict'
import
{
NightwatchBrowser
}
from
'nightwatch'
import
init
from
'../helpers/init'
import
sauce
from
'./sauce'
module
.
exports
=
{
before
:
function
(
browser
:
NightwatchBrowser
,
done
:
VoidFunction
)
{
init
(
browser
,
done
,
'http://127.0.0.1:8080'
,
false
)
},
'Should stage README.txt'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
waitForElementVisible
(
'*[data-id="remixIdeSidePanel"]'
)
.
pause
(
3000
)
.
click
(
'*[plugin="pluginManager"]'
)
.
pause
(
3000
)
.
waitForElementVisible
(
'*[data-id="pluginManagerComponentPluginManager"]'
)
.
scrollAndClick
(
'*[data-id="pluginManagerComponentActivateButton11111"]'
)
.
waitForElementVisible
(
'*[data-id="pluginManagerComponentDeactivateButton11111"]'
,
70000
)
.
pause
(
3000
)
.
clickLaunchIcon
(
'11111'
)
.
pause
(
2000
)
.
frame
(
'plugin-11111'
)
.
waitForElementVisible
(
'*[data-id="fileChangesREADME.txt"]'
)
.
click
(
'*[data-id="addToGitChangesREADME.txt"]'
)
.
pause
(
3000
)
.
waitForElementVisible
(
'*[data-id="fileStagedREADME.txt"]'
)
},
tearDown
:
sauce
}
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