-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* master: (71 commits) ci: fix typo in file path rename spec to specs try to add summary to workflow expand when workflow runs a11y: restore runing 'listitem', 'list', 'heading-order' tests build(deps): bump rexml from 3.3.0 to 3.3.2 no need to run the subset suite Fix the headings in topic files Cleanup a11y tests Fixup topic parser and teacher guide raw-html topics a11y: fix splash page styling a11y: fix translations list issue a11y: cleanup link color/css a11y: Resolve smaller a11y errors in CSP and ES courses a11y: fix table headers for clarity a11y spec cleanup a11y: fix up some link color contrast a11y specs - refactoring/cleanup a11y: minor html index pages cleanup more consistent wording of the specs for easier parsing later ...
- Loading branch information
Showing
88 changed files
with
2,200 additions
and
893 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Run rspec tests | ||
|
||
on: | ||
- pull_request | ||
- push | ||
- workflow_dispatch | ||
|
||
jobs: | ||
a11y: | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
# env: | ||
# BUNDLE_GEMFILE: utilities/Gemfile | ||
strategy: | ||
matrix: | ||
# The files in /bjc-r/course w/o a .html extension | ||
# These correspond to rspec tags for each test run. | ||
course: | ||
- bjc4nyc | ||
- bjc4nyc.es | ||
- sparks | ||
- bjc4nyc_teacher | ||
- sparks-teacher | ||
suite: | ||
- wcag20 | ||
- wcag22 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
# ruby-version: 3.2.2 | ||
bundler-cache: true | ||
- name: a11y tests | ||
run: bundle exec rspec utilities/specs --tag ${{ matrix.course }}_${{ matrix.suite }} | ||
- name: summary | ||
if: always() | ||
run: ruby utilities/specs/spec_summary.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
*.log | ||
._* | ||
.#* | ||
tmp/ | ||
|
||
# IDE-Specific Files | ||
.project | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-f progress -f documentation --out tmp/rspec_output.txt -f json --out tmp/rspec_output.json -f html --out tmp/rspec_output.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# frozen_string_literal: true | ||
|
||
# This Gemfile is for tests inside this repo. | ||
# The `build-tools` directory has its own Gemfile for the build tools. | ||
|
||
# Install with: bundle install | ||
source 'https://rubygems.org' | ||
|
||
ruby file: '.ruby-version' | ||
|
||
gem 'axe-core-capybara' | ||
gem 'axe-core-rspec' | ||
gem 'capybara' | ||
gem 'capybara-screenshot' | ||
gem 'nokogiri' | ||
gem 'rack-jekyll' | ||
gem 'rspec' | ||
gem 'selenium-webdriver' | ||
gem 'webdrivers' | ||
gem 'webrick' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,235 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
addressable (2.8.6) | ||
public_suffix (>= 2.0.2, < 6.0) | ||
axe-core-api (4.9.1) | ||
dumb_delegator | ||
virtus | ||
axe-core-capybara (4.9.1) | ||
axe-core-api (= 4.9.1) | ||
dumb_delegator | ||
axe-core-rspec (4.9.1) | ||
axe-core-api (= 4.9.1) | ||
dumb_delegator | ||
virtus | ||
axiom-types (0.1.1) | ||
descendants_tracker (~> 0.0.4) | ||
ice_nine (~> 0.11.0) | ||
thread_safe (~> 0.3, >= 0.3.1) | ||
bigdecimal (3.1.8) | ||
capybara (3.40.0) | ||
addressable | ||
matrix | ||
mini_mime (>= 0.1.3) | ||
nokogiri (~> 1.11) | ||
rack (>= 1.6.0) | ||
rack-test (>= 0.6.3) | ||
regexp_parser (>= 1.5, < 3.0) | ||
xpath (~> 3.2) | ||
capybara-screenshot (1.0.26) | ||
capybara (>= 1.0, < 4) | ||
launchy | ||
childprocess (5.0.0) | ||
coercible (1.0.0) | ||
descendants_tracker (~> 0.0.1) | ||
colorator (1.1.0) | ||
concurrent-ruby (1.3.3) | ||
descendants_tracker (0.0.4) | ||
thread_safe (~> 0.3, >= 0.3.1) | ||
diff-lcs (1.5.1) | ||
dumb_delegator (1.0.0) | ||
em-websocket (0.5.3) | ||
eventmachine (>= 0.12.9) | ||
http_parser.rb (~> 0) | ||
eventmachine (1.2.7) | ||
ffi (1.17.0-aarch64-linux-gnu) | ||
ffi (1.17.0-aarch64-linux-musl) | ||
ffi (1.17.0-arm-linux-gnu) | ||
ffi (1.17.0-arm-linux-musl) | ||
ffi (1.17.0-arm64-darwin) | ||
ffi (1.17.0-x86-linux-gnu) | ||
ffi (1.17.0-x86-linux-musl) | ||
ffi (1.17.0-x86_64-darwin) | ||
ffi (1.17.0-x86_64-linux-gnu) | ||
ffi (1.17.0-x86_64-linux-musl) | ||
forwardable-extended (2.6.0) | ||
google-protobuf (4.27.1) | ||
bigdecimal | ||
rake (>= 13) | ||
google-protobuf (4.27.1-aarch64-linux) | ||
bigdecimal | ||
rake (>= 13) | ||
google-protobuf (4.27.1-arm64-darwin) | ||
bigdecimal | ||
rake (>= 13) | ||
google-protobuf (4.27.1-x86-linux) | ||
bigdecimal | ||
rake (>= 13) | ||
google-protobuf (4.27.1-x86_64-darwin) | ||
bigdecimal | ||
rake (>= 13) | ||
google-protobuf (4.27.1-x86_64-linux) | ||
bigdecimal | ||
rake (>= 13) | ||
http_parser.rb (0.8.0) | ||
i18n (1.14.5) | ||
concurrent-ruby (~> 1.0) | ||
ice_nine (0.11.2) | ||
jekyll (4.3.3) | ||
addressable (~> 2.4) | ||
colorator (~> 1.0) | ||
em-websocket (~> 0.5) | ||
i18n (~> 1.0) | ||
jekyll-sass-converter (>= 2.0, < 4.0) | ||
jekyll-watch (~> 2.0) | ||
kramdown (~> 2.3, >= 2.3.1) | ||
kramdown-parser-gfm (~> 1.0) | ||
liquid (~> 4.0) | ||
mercenary (>= 0.3.6, < 0.5) | ||
pathutil (~> 0.9) | ||
rouge (>= 3.0, < 5.0) | ||
safe_yaml (~> 1.0) | ||
terminal-table (>= 1.8, < 4.0) | ||
webrick (~> 1.7) | ||
jekyll-sass-converter (3.0.0) | ||
sass-embedded (~> 1.54) | ||
jekyll-watch (2.2.1) | ||
listen (~> 3.0) | ||
kramdown (2.4.0) | ||
rexml | ||
kramdown-parser-gfm (1.1.0) | ||
kramdown (~> 2.0) | ||
launchy (3.0.1) | ||
addressable (~> 2.8) | ||
childprocess (~> 5.0) | ||
liquid (4.0.4) | ||
listen (3.9.0) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
matrix (0.4.2) | ||
mercenary (0.4.0) | ||
mini_mime (1.1.5) | ||
nokogiri (1.16.6-aarch64-linux) | ||
racc (~> 1.4) | ||
nokogiri (1.16.6-arm-linux) | ||
racc (~> 1.4) | ||
nokogiri (1.16.6-arm64-darwin) | ||
racc (~> 1.4) | ||
nokogiri (1.16.6-x86-linux) | ||
racc (~> 1.4) | ||
nokogiri (1.16.6-x86_64-darwin) | ||
racc (~> 1.4) | ||
nokogiri (1.16.6-x86_64-linux) | ||
racc (~> 1.4) | ||
pathutil (0.16.2) | ||
forwardable-extended (~> 2.6) | ||
public_suffix (5.1.1) | ||
racc (1.8.0) | ||
rack (1.6.13) | ||
rack-jekyll (0.5.0) | ||
jekyll (>= 1.3) | ||
listen (>= 1.3) | ||
rack (~> 1.5) | ||
rack-test (2.1.0) | ||
rack (>= 1.3) | ||
rake (13.2.1) | ||
rb-fsevent (0.11.2) | ||
rb-inotify (0.11.1) | ||
ffi (~> 1.0) | ||
regexp_parser (2.9.2) | ||
rexml (3.3.2) | ||
strscan | ||
rouge (4.3.0) | ||
rspec (3.13.0) | ||
rspec-core (~> 3.13.0) | ||
rspec-expectations (~> 3.13.0) | ||
rspec-mocks (~> 3.13.0) | ||
rspec-core (3.13.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-expectations (3.13.1) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-mocks (3.13.1) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.13.0) | ||
rspec-support (3.13.1) | ||
rubyzip (2.3.2) | ||
safe_yaml (1.0.5) | ||
sass-embedded (1.77.5-aarch64-linux-gnu) | ||
google-protobuf (>= 3.25, < 5.0) | ||
sass-embedded (1.77.5-aarch64-linux-musl) | ||
google-protobuf (>= 3.25, < 5.0) | ||
sass-embedded (1.77.5-arm-linux-gnueabihf) | ||
google-protobuf (>= 3.25, < 5.0) | ||
sass-embedded (1.77.5-arm-linux-musleabihf) | ||
google-protobuf (>= 3.25, < 5.0) | ||
sass-embedded (1.77.5-arm64-darwin) | ||
google-protobuf (>= 3.25, < 5.0) | ||
sass-embedded (1.77.5-x86-linux-gnu) | ||
google-protobuf (>= 3.25, < 5.0) | ||
sass-embedded (1.77.5-x86-linux-musl) | ||
google-protobuf (>= 3.25, < 5.0) | ||
sass-embedded (1.77.5-x86_64-darwin) | ||
google-protobuf (>= 3.25, < 5.0) | ||
sass-embedded (1.77.5-x86_64-linux-gnu) | ||
google-protobuf (>= 3.25, < 5.0) | ||
sass-embedded (1.77.5-x86_64-linux-musl) | ||
google-protobuf (>= 3.25, < 5.0) | ||
selenium-webdriver (4.10.0) | ||
rexml (~> 3.2, >= 3.2.5) | ||
rubyzip (>= 1.2.2, < 3.0) | ||
websocket (~> 1.0) | ||
strscan (3.1.0) | ||
terminal-table (3.0.2) | ||
unicode-display_width (>= 1.1.1, < 3) | ||
thread_safe (0.3.6) | ||
unicode-display_width (2.5.0) | ||
virtus (2.0.0) | ||
axiom-types (~> 0.1) | ||
coercible (~> 1.0) | ||
descendants_tracker (~> 0.0, >= 0.0.3) | ||
webdrivers (5.3.1) | ||
nokogiri (~> 1.6) | ||
rubyzip (>= 1.3.0) | ||
selenium-webdriver (~> 4.0, < 4.11) | ||
webrick (1.8.1) | ||
websocket (1.2.10) | ||
xpath (3.2.0) | ||
nokogiri (~> 1.8) | ||
|
||
PLATFORMS | ||
aarch64-linux | ||
aarch64-linux-gnu | ||
aarch64-linux-musl | ||
arm-linux | ||
arm-linux-gnu | ||
arm-linux-gnueabihf | ||
arm-linux-musl | ||
arm-linux-musleabihf | ||
arm64-darwin | ||
x86-linux | ||
x86-linux-gnu | ||
x86-linux-musl | ||
x86_64-darwin | ||
x86_64-linux | ||
x86_64-linux-gnu | ||
x86_64-linux-musl | ||
|
||
DEPENDENCIES | ||
axe-core-capybara | ||
axe-core-rspec | ||
capybara | ||
capybara-screenshot | ||
nokogiri | ||
rack-jekyll | ||
rspec | ||
selenium-webdriver | ||
webdrivers | ||
webrick | ||
|
||
RUBY VERSION | ||
ruby 3.2.2p53 | ||
|
||
BUNDLED WITH | ||
2.5.6 |
Oops, something went wrong.