Skip to content

Commit

Permalink
Add an entry for tables
Browse files Browse the repository at this point in the history
Also rename some of the entries, so it is clearer what tests they refer to.
  • Loading branch information
mrobinson authored Jan 22, 2024
1 parent bf9efbf commit ca1358a
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions process-wpt-results.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,34 +97,43 @@ const CSS2_FOCUS_REGEXP = new RegExp(
`^/css/CSS2/(${CSS2_FOCUS_FOLDERS.join('|')})/`
)

const CSS_TABLES_PREDICATE = new RegExp(

Check failure on line 100 in process-wpt-results.js

View workflow job for this annotation

GitHub Actions / deploy

Use a regular expression literal instead of the 'RegExp' constructor
`^/css/(CSS2/tables|css-tables)/`

Check failure on line 101 in process-wpt-results.js

View workflow job for this annotation

GitHub Actions / deploy

Strings must use singlequote
)

const FOCUS_AREAS = {
css2: {
name: 'CSS2 focus folders',
name: 'Focus Areas',
predicate: regex_predicate(CSS2_FOCUS_REGEXP),
order: 0
},
cssom: {
name: 'CSSOM',
name: '/css/cssom',
predicate: prefix_predicate('/css/cssom/'),
order: 90
},
csspos: {
name: 'CSS Position',
name: '/css/css-position',
predicate: prefix_predicate('/css/css-position/'),
order: 91
},
cssflex: {
name: 'CSS Flexbox',
name: '/css/css-flexbox',
predicate: prefix_predicate('/css/css-flexbox/'),
order: 92
},
csstable: {
name: "/css/CSS2/tables & /css/css-tables",

Check failure on line 126 in process-wpt-results.js

View workflow job for this annotation

GitHub Actions / deploy

Strings must use singlequote
predicate: regex_predicate(CSS_TABLES_PREDICATE),
order: 93
},
csstext: {
name: 'CSS Text',
name: '/css/csstext',
predicate: prefix_predicate('/css/css-text/'),
order: 92
order: 94
},
css: {
name: 'All CSS tests',
name: '/css',
predicate: prefix_predicate('/css/'),
order: 98
},
Expand Down

0 comments on commit ca1358a

Please sign in to comment.