-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpaths.example.js
More file actions
42 lines (39 loc) · 746 Bytes
/
Copy pathpaths.example.js
File metadata and controls
42 lines (39 loc) · 746 Bytes
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
// List of URLs and scenarios for dxp-testing scripts.
const scenarios = [
{
label: 'Homepage',
url: '',
},
{
label: 'Component library',
url: 'component-library',
},
{
label: 'News and events page',
url: 'news-and-events',
},
{
label: 'Media centre',
url: 'news-and-events/media-centre',
},
{
label: 'Calendar',
url: 'news-and-events/calendar',
properties: {
readySelector: '.calendar-year-view',
},
},
{
label: 'L1 page',
url: 'what-we-do',
properties: {
removeSelectors: ['#paragraph-186691'],
},
},
{
label: 'L2 page',
url: 'about/our-people',
},
];
const urls = scenarios.map(s => s.url);
module.exports = { urls, scenarios };