Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
f68747ec
Commit
f68747ec
authored
Apr 26, 2016
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Speed up pa11ycrawler runs on Jenkins, Update pa11ycrawler to v0.0.2
parent
645839b8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
14 deletions
+23
-14
pavelib/bok_choy.py
+2
-2
requirements/edx/github.txt
+1
-1
scripts/accessibility-crawler.sh
+0
-11
scripts/accessibility-tests.sh
+20
-0
No files found.
pavelib/bok_choy.py
View file @
f68747ec
...
...
@@ -134,8 +134,8 @@ def perf_report_bokchoy(options):
(
'with-html'
,
'w'
,
'Include html reports'
),
make_option
(
'--course-key'
,
help
=
'Course key for test course'
),
make_option
(
"--
skip-fetch
"
,
action
=
"store_
fals
e"
,
"--
fetch-course
"
,
action
=
"store_
tru
e"
,
dest
=
"should_fetch_course"
,
help
=
'Course key for test course'
,
),
...
...
requirements/edx/github.txt
View file @
f68747ec
...
...
@@ -67,7 +67,7 @@ git+https://github.com/edx/rfc6266.git@v0.0.5-edx#egg=rfc6266==0.0.5-edx
# Used for testing
git+https://github.com/edx/lettuce.git@0.2.20.002#egg=lettuce==0.2.20.002
git+https://github.com/edx/pa11ycrawler.git@0.0.
1
#egg=pa11ycrawler
git+https://github.com/edx/pa11ycrawler.git@0.0.
2
#egg=pa11ycrawler
# Our libraries:
git+https://github.com/edx/XBlock.git@xblock-0.4.8#egg=XBlock==0.4.8
...
...
scripts/accessibility-crawler.sh
deleted
100644 → 0
View file @
645839b8
#!/usr/bin/env bash
set
-e
echo
"Setting up for accessibility tests..."
source
scripts/jenkins-common.sh
echo
"Running pa11ycrawler against test course..."
paver pa11ycrawler
echo
"Generating coverage report..."
paver pa11ycrawler_coverage
scripts/accessibility-tests.sh
View file @
f68747ec
#!/usr/bin/env bash
set
-e
###############################################################################
#
# Usage:
# To run just tests, without pa11ycrawler:
# ./scripts/accessibility-tests.sh
#
# To run tests, followed by pa11ycrawler:
# RUN_PA11YCRAWLER=1 ./scripts/accessibility-tests.sh
#
###############################################################################
echo
"Setting up for accessibility tests..."
source
scripts/jenkins-common.sh
...
...
@@ -9,3 +20,12 @@ SELENIUM_BROWSER=phantomjs paver test_a11y
echo
"Generating coverage report..."
paver a11y_coverage
if
[
"
$RUN_PA11YCRAWLER
"
=
"1"
]
then
echo
"Running pa11ycrawler against test course..."
paver pa11ycrawler
--fasttest
--fetch-course
--with-html
echo
"Generating coverage report..."
paver pa11ycrawler_coverage
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment