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
70be5a30
Commit
70be5a30
authored
6 years ago
by
chrisgarrity
Browse files
Options
Downloads
Patches
Plain Diff
Add what’s new tutorial (hidden)
parent
9df5b773
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/lib/libraries/decks/index.jsx
+7
-0
7 additions, 0 deletions
src/lib/libraries/decks/index.jsx
test/integration/tutorials-shortcut.test.js
+6
-0
6 additions, 0 deletions
test/integration/tutorials-shortcut.test.js
with
13 additions
and
0 deletions
src/lib/libraries/decks/index.jsx
+
7
−
0
View file @
70be5a30
...
...
@@ -1195,5 +1195,12 @@ export default {
}],
urlId
:
'
ev3
'
,
hidden
:
true
},
'
whats-new
'
:
{
steps
:
[{
video
:
'
mtqymxg0qq
'
}],
urlId
:
'
whatsnew
'
,
hidden
:
true
}
};
This diff is collapsed.
Click to expand it.
test/integration/tutorials-shortcut.test.js
+
6
−
0
View file @
70be5a30
...
...
@@ -9,6 +9,7 @@ const {
}
=
new
SeleniumHelper
();
const
uri
=
path
.
resolve
(
__dirname
,
'
../../build/index.html?tutorial=all
'
);
const
uriPrefix
=
path
.
resolve
(
__dirname
,
'
../../build/index.html?tutorial=
'
);
let
driver
;
...
...
@@ -28,5 +29,10 @@ describe('Working with shortcut to Tutorials library', () => {
await
findByXpath
(
'
//div[contains(@class, "step-video")]
'
);
});
test
(
'
can open hidden tutorials
'
,
async
()
=>
{
await
loadUri
(
`
${
uriPrefix
}
whatsnew`
);
// should open the tutorial video immediately
await
findByXpath
(
'
//div[contains(@class, "step-video")]
'
);
});
// @todo navigating cards, etc.
});
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