Skip to content

Commit 7aec431

Browse files
committed
Merge remote-tracking branch 'origin/develop'
Signed-off-by: snipe <[email protected]>
2 parents d19681d + 8b6c88a commit 7aec431

File tree

19 files changed

+353
-207
lines changed

19 files changed

+353
-207
lines changed

.pa11yci.json

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"standard": "WCAG2AA",
3+
"level": "error",
4+
"defaults": {
5+
"useIncognitoBrowserContext": false,
6+
"timeout": 500000,
7+
"wait": 5000,
8+
"ignore" : [
9+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G145.Fail",
10+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail"
11+
],
12+
13+
"viewport": {
14+
"width": 1280,
15+
"height": 1024
16+
}
17+
},
18+
"urls": [
19+
{
20+
"__NOTE" : "this should always be FIRST (if browser context is preserved)",
21+
"url": "https://snipe-it.test/login",
22+
"actions": [
23+
"navigate to https://snipe-it.test/login",
24+
"screen capture tests/pa11y/login.png",
25+
"set field input[name='username'] to admin",
26+
"set field input[name='password'] to password",
27+
"click element button[type=submit]",
28+
"wait for url to be https://snipe-it.test/",
29+
"screen capture tests/pa11y/dashboard.png"
30+
]
31+
},
32+
{
33+
"url" : "https://snipe-it.test/admin",
34+
"actions" : [
35+
"navigate to https://snipe-it.test/admin",
36+
"screen capture tests/pa11y/admin-settings.png"
37+
]
38+
},
39+
{
40+
"url" : "https://snipe-it.test/hardware/create",
41+
"actions" : [
42+
"navigate to https://snipe-it.test/hardware/create",
43+
"screen capture tests/pa11y/asset-create.png"
44+
]
45+
},
46+
{
47+
"url" : "https://snipe-it.test/hardware",
48+
"actions" : [
49+
"navigate to https://snipe-it.test/hardware",
50+
"screen capture tests/pa11y/asset-list.png"
51+
]
52+
},
53+
{
54+
"url" : "https://snipe-it.test/hardware/1",
55+
"actions" : [
56+
"navigate to https://snipe-it.test/hardware/1",
57+
"screen capture tests/pa11y/asset-detail.png"
58+
]
59+
},
60+
{
61+
"url" : "https://snipe-it.test/account/view-assets",
62+
"actions" : [
63+
"navigate to https://snipe-it.test/account/view-assets",
64+
"screen capture tests/pa11y/profile.png"
65+
]
66+
},
67+
{
68+
"url" : "https://snipe-it.test/licences",
69+
"actions" : [
70+
"navigate to https://snipe-it.test/licenses",
71+
"screen capture tests/pa11y/license-list.png"
72+
]
73+
},
74+
{
75+
"url" : "https://snipe-it.test/licences/create",
76+
"actions" : [
77+
"navigate to https://snipe-it.test/licenses/create",
78+
"screen capture tests/pa11y/license-create.png"
79+
]
80+
},
81+
{
82+
"url" : "https://snipe-it.test/licences/1",
83+
"actions" : [
84+
"navigate to https://snipe-it.test/licenses/1",
85+
"screen capture tests/pa11y/license-view.png"
86+
]
87+
},
88+
{
89+
"url" : "https://snipe-it.test/accessories",
90+
"actions" : [
91+
"navigate to https://snipe-it.test/accessories",
92+
"screen capture tests/pa11y/accessory-list.png"
93+
]
94+
},
95+
{
96+
"url" : "https://snipe-it.test/accessories/create",
97+
"actions" : [
98+
"navigate to https://snipe-it.test/accessories/create",
99+
"screen capture tests/pa11y/accessory-create.png"
100+
]
101+
}
102+
]
103+
}

pa11y.js

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
const pa11y = require('pa11y');
2+
3+
pa11y('http://snipe-it.test', {
4+
standard: "WCAG2AA",
5+
level: "error",
6+
defaults: {
7+
"timeout": 500000,
8+
"wait": 2000,
9+
"ignore": [
10+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G18",
11+
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail",
12+
],
13+
"viewport": {
14+
"width": 1280,
15+
"height": 1024
16+
},
17+
},
18+
actions: [
19+
'set field #username to admin',
20+
'set field #password to password',
21+
'click element #submit',
22+
'wait for path to be /',
23+
]
24+
});

public/css/build/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/build/overrides.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/dist/all.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/mix-manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"/js/build/app.js": "/js/build/app.js?id=f69d05a80165b5bbf6b0f4691edfd24e",
33
"/css/dist/skins/skin-black-dark.css": "/css/dist/skins/skin-black-dark.css?id=d34ae2483cbe2c77478c45f4006eba55",
44
"/css/dist/skins/_all-skins.css": "/css/dist/skins/_all-skins.css?id=6bf62cdec2477f3176df196fd0c99662",
5-
"/css/build/overrides.css": "/css/build/overrides.css?id=569dc248b0dc3dbb01610b034300f2f2",
6-
"/css/build/app.css": "/css/build/app.css?id=ed8cabf3efad21ed89d18d6582d2885f",
5+
"/css/build/overrides.css": "/css/build/overrides.css?id=1956dacae986380f376eb30f849d899a",
6+
"/css/build/app.css": "/css/build/app.css?id=14158c05ed4795311c028b18ea9a616f",
77
"/css/build/AdminLTE.css": "/css/build/AdminLTE.css?id=a67bd93bed52e6a29967fe472de66d6c",
88
"/css/dist/skins/skin-yellow.css": "/css/dist/skins/skin-yellow.css?id=fc7adb943668ac69fe4b646625a7571f",
99
"/css/dist/skins/skin-yellow-dark.css": "/css/dist/skins/skin-yellow-dark.css?id=53edc92eb2d272744bc7404ec259930e",
@@ -19,7 +19,7 @@
1919
"/css/dist/skins/skin-blue.css": "/css/dist/skins/skin-blue.css?id=091d9625203be910caca3e229afe438f",
2020
"/css/dist/skins/skin-blue-dark.css": "/css/dist/skins/skin-blue-dark.css?id=18787b3f00a3be7be38ee4e26cbd2a07",
2121
"/css/dist/skins/skin-black.css": "/css/dist/skins/skin-black.css?id=1f33ca3d860461c1127ec465ab3ebb6b",
22-
"/css/dist/all.css": "/css/dist/all.css?id=2b91d3aa2262b202a452de9cc7f1ab9b",
22+
"/css/dist/all.css": "/css/dist/all.css?id=7bdd2e09505b405c4c2d02d6ebd07278",
2323
"/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6a89d3cd901305e66ced1cf5f13147f7",
2424
"/css/dist/signature-pad.min.css": "/css/dist/signature-pad.min.css?id=6a89d3cd901305e66ced1cf5f13147f7",
2525
"/js/select2/i18n/af.js": "/js/select2/i18n/af.js?id=4f6fcd73488ce79fae1b7a90aceaecde",

resources/assets/less/overrides.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,3 +1205,9 @@ legend.highlight {
12051205
fieldset.bottom-padded {
12061206
padding-bottom: 20px;
12071207
}
1208+
1209+
caption.tableCaption {
1210+
font-size: 18px;
1211+
padding-left: 8px;
1212+
}
1213+

0 commit comments

Comments
 (0)