Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start on cypress #209

Merged
merged 8 commits into from
Aug 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/coverage/
/cypress/dummy/js/prism.js
/dist/
/docs/
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/.log/
/.nyc_output/
/coverage/
/cypress/videos/
/dist/
/node_modules/
/.DS_Store
Expand Down
3 changes: 3 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"video": false
}
31 changes: 31 additions & 0 deletions cypress/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module'
},
plugins: [
'mocha'
],
extends: [
'eslint:recommended',
'plugin:mocha/recommended'
],
globals: {
Cypress: false,
Shepherd: false,
assert: false,
cy: false,
document: false,
expect: false,
window: false
},
env: {
browser: false,
mocha: true,
node: true
},
rules: {
'no-console': 'off'
}
};
2 changes: 2 additions & 0 deletions cypress/dummy/css/prism.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 96 additions & 0 deletions cypress/dummy/css/welcome.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions cypress/dummy/css/welcome.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 82 additions & 0 deletions cypress/dummy/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Shepherd — Guide your users through a tour of your app.</title>
<meta name="description" content="Guide your users through a tour of your app.">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<link rel="icon" href="https://static.hubspot.com/favicon.ico">

<!-- Shepherd themes -->
<link rel="stylesheet" href="/dist/css/shepherd-theme-arrows.css"/>

<!-- Welcome docs styles -->
<link rel="stylesheet" href="/cypress/dummy/css/prism.css"/>
<link rel="stylesheet" href="/cypress/dummy/css/welcome.css"/>
</head>

<body>
<div class="hero-scroll">
<div class="hero-outer">
<div class="hero-inner">
<div class="hero-welcome">
<h1>Shepherd</h1>

<h2>Guide your users through a tour of your app.</h2>
</div>

<div class="hero-including">
<h3>Including</h3>

<script type="text/plain" class="language-markup" id="hero-including-code">
<link rel="stylesheet" href="shepherd-theme-arrows.css"/>
<script src="popper.min.js">&lt;/script>
<script src="shepherd.min.js">&lt;/script>
</script>
</div>

<div class="hero-example">
<h3>Example</h3>

<pre id="hero-example-code">
<code class="language-javascript">
const tour = new Shepherd.Tour({
defaults: {
classes: 'shepherd-theme-arrows'
}
});

tour.addStep('example', {
title: 'Example Shepherd',
text: 'Creating a Shepherd is easy too! Just create ...',
attachTo: '.hero-example bottom',
advanceOn: '.docs-link click'
});

tour.start();
</code>
</pre>
</div>

<div class="hero-followup">
<p>
<a class="button star" href="https://github.com/shipshapecode/shepherd">★ on Github</a> &nbsp;&nbsp;
<a class="button" href="https://shipshapecode.github.io/shepherd/">View Docs</a> &nbsp;&nbsp;
<!--a class="button dark" href="https://eager.io/app/shepherd/install?utm_source=shepherd_docs_welcome">↓ Install</a-->
</p>
</div>
<div>
<img src="/cypress/dummy/sheep.svg"/>
</div>
</div>
</div>
</div>

<!-- Shepherd -->
<script src="/dist/js/popper.js"></script>
<script src="/dist/js/shepherd.js"></script>

<!-- Welcome page -->
<script src="/cypress/dummy/js/prism.js"></script>
</body>
</html>
Loading