Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
logging-scratch-gui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Goessmann
logging-scratch-gui
Commits
d621dab5
Commit
d621dab5
authored
6 years ago
by
Paul Kaplan
Browse files
Options
Downloads
Patches
Plain Diff
Remove webgl crutch, it works with safari 10
parent
7dca076e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/smoke/browser.test.js
+3
-5
3 additions, 5 deletions
test/smoke/browser.test.js
with
3 additions
and
5 deletions
test/smoke/browser.test.js
+
3
−
5
View file @
d621dab5
...
...
@@ -8,9 +8,7 @@ const {
// Make the default timeout longer, Sauce tests take ~30s
jasmine
.
DEFAULT_TIMEOUT_INTERVAL
=
60
*
1000
;
// eslint-disable-line
// Supported message is never seen because WebGL is not enabled on Sauce
// const SUPPORTED_MESSAGE = 'Welcome to the Scratch 3.0 Preview';
const
WEBGL_MESSAGE
=
'
Your Browser Does Not Support WebGL
'
;
const
SUPPORTED_MESSAGE
=
'
Welcome to the Scratch 3.0 Preview
'
;
const
UNSUPPORTED_MESSAGE
=
'
Scratch 3.0 does not support Internet Explorer
'
;
// Driver configs can be generated with the Sauce Platform Configurator
...
...
@@ -51,7 +49,7 @@ describe('Smoke tests on older browsers', () => {
process
.
env
.
SAUCE_ACCESS_KEY
,
driverConfig
);
await
driver
.
get
(
process
.
env
.
SMOKE_URL
);
const
el
=
await
findByText
(
WEBGL
_MESSAGE
);
// b/c WebGL isn't enabled on Sauce
const
el
=
await
findByText
(
SUPPORTED
_MESSAGE
);
const
isDisplayed
=
await
el
.
isDisplayed
();
return
expect
(
isDisplayed
).
toEqual
(
true
);
});
...
...
@@ -67,7 +65,7 @@ describe('Smoke tests on older browsers', () => {
process
.
env
.
SAUCE_ACCESS_KEY
,
driverConfig
);
await
driver
.
get
(
process
.
env
.
SMOKE_URL
);
const
el
=
await
findByText
(
WEBGL
_MESSAGE
);
// b/c WebGL isn't enabled on Sauce
const
el
=
await
findByText
(
SUPPORTED
_MESSAGE
);
const
isDisplayed
=
await
el
.
isDisplayed
();
return
expect
(
isDisplayed
).
toEqual
(
true
);
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment