-
-
Notifications
You must be signed in to change notification settings - Fork 149
/
Copy path.markbot.yml
85 lines (78 loc) · 1.85 KB
/
.markbot.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
repo: 'frozen-not-in-time'
canvasCourse: 'web-dev-3'
inherit:
- naming-restrict-live
- git-2
- html
- css
- css-order-modules-grid-type-main
- modulifier
- modulifier-buttons
- gridifier
- typografier
html:
- path: 'index.html'
has:
- ['link[href*="Fredoka+One"]', 'The Google Font, `Fredoka One` is missing']
- 'img[src*="mint-chip.svg"]'
- 'img[src*="cone.svg"]'
- 'img[src*="chocolate-chip.svg"]'
- 'img[src*="vanilla-fudge.svg"]'
- 'img[src*="cherry.svg"]'
search:
- 'Ice Cream'
- 'So sweet, creamy & delicious it’ll literally melt in your mouth!'
- 'Enjoy Now!'
css:
- path: 'css/main.css'
has:
- '.btn-ghost'
- '.btn-ghost:hover'
search:
- 'repeating-linear-gradient'
- '"Fredoka One", sans-serif'
- '@keyframes'
- 'opacity'
- 'filter'
- 'blur'
- 'transform'
- 'rotate'
- 'animation.*forwards'
- 'text-shadow'
- 'max-width: 19em'
- '#b3fbff'
- '#c9fcff'
- '#d4fdff'
- '#990073'
- '#c09'
files:
- path: 'images/cherry.svg'
smushed: true
- path: 'images/chocolate-chip.svg'
smushed: true
- path: 'images/cone.svg'
smushed: true
- path: 'images/mint-chip.svg'
smushed: true
- path: 'images/vanilla-fudge.svg'
smushed: true
screenshots:
- path: 'index.html'
sizes: [960, 1440]
label: 'Before'
- path: 'index.html'
sizes: [960, 1440]
label: 'After'
allowAnimations: true
before: |
on('img[src*="cherry"]', 'animationend', done);
functionality:
- path: 'index.html'
label: 'Animations'
tests:
- |
const fudge = $('img[src*="fudge"]');
on(fudge, 'animationend', (e, ev) => {
if (e === true) return fail('The fudge ice cream cone isn’t animated.');
pass();
});