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
d9c8bf1c
Commit
d9c8bf1c
authored
May 15, 2019
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
saucelabs ref
parent
ba50933a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
browser_tests.sh
ci/browser_tests.sh
+2
-2
index.html
index.html
+5
-6
nightwatch.js
nightwatch.js
+3
-3
No files found.
ci/browser_tests.sh
View file @
d9c8bf1c
...
...
@@ -21,8 +21,8 @@ else
fi
SC_VERSION
=
"4.5.1"
SAUCECONNECT_URL
=
"https://saucelabs.com/downloads/sc-
$SC_VERSION
-
$OS
.
$FILEFORMAT
"
SAUCECONNECT_USERNAME
=
"
chris
eth"
SAUCECONNECT_ACCESSKEY
=
"
b781828a-9e9c-43d8-89d4-2fbb879595ca
"
SAUCECONNECT_USERNAME
=
"
yann
eth"
SAUCECONNECT_ACCESSKEY
=
"
1f5a4560-b02b-41aa-b52b-f033aad30870
"
BUILD_ID
=
${
CIRCLE_BUILD_NUM
:-${
TRAVIS_JOB_NUMBER
}}
echo
"
$BUILD_ID
"
SAUCECONNECT_JOBIDENTIFIER
=
"browsersolidity_tests_
${
BUILD_ID
}
"
...
...
index.html
View file @
d9c8bf1c
...
...
@@ -29,7 +29,6 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"chrome=1"
>
<title>
Remix - Ethereum IDE
</title>
<link
rel=
"stylesheet"
id=
"theme-link"
/>
<link
rel=
"stylesheet"
href=
"https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity=
"sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf"
crossorigin=
"anonymous"
>
<link
rel=
"stylesheet"
href=
"assets/css/pygment_trac.css"
>
<link
rel=
"icon"
type=
"x-icon"
href=
"icon.png"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, user-scalable=no"
>
...
...
@@ -56,7 +55,7 @@
return
params
}
const
defaultVersion
=
window
.
location
.
hostname
===
'remix.ethereum.org'
?
'0.7.7'
:
'0.8.0'
let
version
=
urlParams
().
appVersion
?
urlParams
().
appVersion
:
defaultVersion
let
version
ToLoad
=
urlParams
().
appVersion
?
urlParams
().
appVersion
:
defaultVersion
let
assets
=
{
'0.8.0'
:
[
'https://use.fontawesome.com/releases/v5.8.1/css/all.css'
,
'assets/css/pygment_trac.css'
],
...
...
@@ -66,11 +65,11 @@
'0.7.7'
:
'assets/js/0.7.7/app.js'
,
// commit 7b5c7ae3de935e0ccc32eadfd83bf7349478491e
'0.8.0'
:
'build/app.js'
}
for
(
let
k
in
assets
[
version
])
{
for
(
let
k
in
assets
[
version
ToLoad
])
{
let
app
=
document
.
createElement
(
'link'
)
app
.
setAttribute
(
'rel'
,
'stylesheet'
)
app
.
setAttribute
(
'href'
,
assets
[
version
][
k
])
if
(
assets
[
version
][
k
]
===
'https://use.fontawesome.com/releases/v5.8.1/css/all.css'
)
{
app
.
setAttribute
(
'href'
,
assets
[
version
ToLoad
][
k
])
if
(
assets
[
version
ToLoad
][
k
]
===
'https://use.fontawesome.com/releases/v5.8.1/css/all.css'
)
{
app
.
setAttribute
(
'integrity'
,
'sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf'
)
app
.
setAttribute
(
'crossorigin'
,
'anonymous'
)
}
...
...
@@ -78,7 +77,7 @@
}
window
.
onload
=
()
=>
{
let
app
=
document
.
createElement
(
'script'
)
app
.
setAttribute
(
'src'
,
versions
[
version
])
app
.
setAttribute
(
'src'
,
versions
[
version
ToLoad
])
document
.
body
.
appendChild
(
app
)
}
</script>
...
...
nightwatch.js
View file @
d9c8bf1c
...
...
@@ -16,8 +16,8 @@ module.exports = {
'selenium_host'
:
'ondemand.saucelabs.com'
,
'selenium_port'
:
80
,
'silent'
:
true
,
'username'
:
'
chris
eth'
,
'access_key'
:
'
b781828a-9e9c-43d8-89d4-2fbb879595ca
'
,
'username'
:
'
yann
eth'
,
'access_key'
:
'
1f5a4560-b02b-41aa-b52b-f033aad30870
'
,
'use_ssl'
:
false
,
'globals'
:
{
'waitForConditionTimeout'
:
10000
,
...
...
@@ -78,7 +78,7 @@ module.exports = {
'selenium_port'
:
4444
,
'selenium_host'
:
'localhost'
,
'desiredCapabilities'
:
{
'browserName'
:
'
firefox
'
,
'browserName'
:
'
chrome
'
,
'javascriptEnabled'
:
true
,
'acceptSslCerts'
:
true
}
...
...
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