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
b92b4506
Commit
b92b4506
authored
Dec 08, 2020
by
aniket-engg
Committed by
Aniket
Dec 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e tests fixed
parent
f7460bcb
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletion
+7
-1
defaultLayout.test.ts
apps/remix-ide-e2e/src/tests/defaultLayout.test.ts
+5
-1
editor.test.ts
apps/remix-ide-e2e/src/tests/editor.test.ts
+1
-0
publishContract.test.ts
apps/remix-ide-e2e/src/tests/publishContract.test.ts
+1
-0
No files found.
apps/remix-ide-e2e/src/tests/defaultLayout.test.ts
View file @
b92b4506
...
@@ -20,7 +20,10 @@ module.exports = {
...
@@ -20,7 +20,10 @@ module.exports = {
browser
.
waitForElementVisible
(
'div[data-id="remixIdeSidePanel"]'
)
browser
.
waitForElementVisible
(
'div[data-id="remixIdeSidePanel"]'
)
.
assert
.
containsText
(
'h6[data-id="sidePanelSwapitTitle"]'
,
'FILE EXPLORERS'
)
.
assert
.
containsText
(
'h6[data-id="sidePanelSwapitTitle"]'
,
'FILE EXPLORERS'
)
.
waitForElementVisible
(
'div[data-id="filePanelFileExplorerTree"]'
)
.
waitForElementVisible
(
'div[data-id="filePanelFileExplorerTree"]'
)
.
waitForElementVisible
(
'li[key="browser/contracts/3_Ballot.sol"]'
)
.
waitForElementVisible
(
'li[key="browser/contracts"]'
)
.
waitForElementVisible
(
'li[key="browser/scripts"]'
)
.
waitForElementVisible
(
'li[key="browser/tests"]'
)
.
waitForElementVisible
(
'li[key="browser/README"]'
)
},
},
'Loads Main View'
:
function
(
browser
:
NightwatchBrowser
)
{
'Loads Main View'
:
function
(
browser
:
NightwatchBrowser
)
{
...
@@ -68,6 +71,7 @@ module.exports = {
...
@@ -68,6 +71,7 @@ module.exports = {
'Switch Tabs using tabs icon'
:
function
(
browser
:
NightwatchBrowser
)
{
'Switch Tabs using tabs icon'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
browser
.
waitForElementVisible
(
'div[data-id="filePanelFileExplorerTree"]'
)
.
waitForElementVisible
(
'div[data-id="filePanelFileExplorerTree"]'
)
.
click
(
'*[data-id="treeViewTogglebrowser/contracts"]'
)
.
openFile
(
'browser/contracts/3_Ballot.sol'
)
.
openFile
(
'browser/contracts/3_Ballot.sol'
)
.
assert
.
containsText
(
'div[title="browser/contracts/3_Ballot.sol"]'
,
'3_Ballot.sol'
)
.
assert
.
containsText
(
'div[title="browser/contracts/3_Ballot.sol"]'
,
'3_Ballot.sol'
)
.
click
(
'span[class^=dropdownCaret]'
)
.
click
(
'span[class^=dropdownCaret]'
)
...
...
apps/remix-ide-e2e/src/tests/editor.test.ts
View file @
b92b4506
...
@@ -12,6 +12,7 @@ module.exports = {
...
@@ -12,6 +12,7 @@ module.exports = {
'Should zoom in editor'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should zoom in editor'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
waitForElementVisible
(
'div[data-id="mainPanelPluginsContainer"]'
)
browser
.
waitForElementVisible
(
'div[data-id="mainPanelPluginsContainer"]'
)
.
click
(
'*[data-id="treeViewTogglebrowser/contracts"]'
)
.
openFile
(
'browser/contracts/1_Storage.sol'
)
.
openFile
(
'browser/contracts/1_Storage.sol'
)
.
waitForElementVisible
(
'*[data-id="editorInput"]'
)
.
waitForElementVisible
(
'*[data-id="editorInput"]'
)
.
checkElementStyle
(
'*[data-id="editorInput"]'
,
'font-size'
,
'12px'
)
.
checkElementStyle
(
'*[data-id="editorInput"]'
,
'font-size'
,
'12px'
)
...
...
apps/remix-ide-e2e/src/tests/publishContract.test.ts
View file @
b92b4506
...
@@ -16,6 +16,7 @@ module.exports = {
...
@@ -16,6 +16,7 @@ module.exports = {
browser
browser
.
waitForElementVisible
(
'#icon-panel'
,
10000
)
.
waitForElementVisible
(
'#icon-panel'
,
10000
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
click
(
'*[data-id="treeViewTogglebrowser/contracts"]'
)
.
openFile
(
'browser/contracts/3_Ballot.sol'
)
.
openFile
(
'browser/contracts/3_Ballot.sol'
)
.
verifyContracts
([
'Ballot'
])
.
verifyContracts
([
'Ballot'
])
.
click
(
'#publishOnIpfs'
)
.
click
(
'#publishOnIpfs'
)
...
...
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