Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
1faa89db
Commit
1faa89db
authored
Nov 09, 2015
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #765 from edx/clytwynec/fix-acceptance-tests
fixing acceptance tests
parents
5c10c3e5
c5d30fb8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
scripts/jenkins-acceptance-tests.sh
+6
-10
scripts/test-acceptance.sh
+0
-2
No files found.
scripts/jenkins-acceptance-tests.sh
View file @
1faa89db
...
...
@@ -30,22 +30,18 @@ if [ -z "$TEST_HOST" ]; then
fi
export
ORA_SANDBOX_URL
=
"https://
${
BASIC_AUTH_USER
}
:
${
BASIC_AUTH_PASSWORD
}
@
${
TEST_HOST
}
"
EXIT
=
0
########## Install python requirements #########
virtualenv venv
source
venv/bin/activate
pip install
-r
requirements/test-acceptance.txt
######### Run acceptance tests #########
make test-acceptance
make test-acceptance
||
EXIT
=
1
######### Run accessibility tests #########
make test-a11y
||
EXIT
=
1
# Unset SELENIUM_HOST so that bok-choy doesn't try to use saucelabs
unset
SELENIUM_HOST
# AutoAuthPage times out in PhantomJS when using https, so switch to use http
export
ORA_SANDBOX_URL
=
"http://
${
BASIC_AUTH_USER
}
:
${
BASIC_AUTH_PASSWORD
}
@
${
TEST_HOST
}
"
make test-a11y
######### exit with correct code #########
exit
$EXIT
scripts/test-acceptance.sh
View file @
1faa89db
...
...
@@ -30,10 +30,8 @@ fi
mkdir
-p
test
/logs
cd test
/logs
export
SELENIUM_BROWSER
=
phantomjs
test_name
=
"
${
1
:-
acceptance
}
"
echo
"Running acceptance tests from
${
test_name
}
.py against the sandbox..."
python ../acceptance/
${
test_name
}
.py
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