#8435: SageNB 0.7.5.3
-------------------------------+--------------------------------------------
Reporter: mpatel | Owner: was
Type: defect | Status: needs_review
Priority: major | Milestone: sage-4.3.4
Component: notebook | Keywords:
Author: Mitesh Patel | Upstream: N/A
Reviewer: Minh Van Nguyen | Merged:
Work_issues: |
-------------------------------+--------------------------------------------
Comment(by mpatel):
You're right. I just upgraded to Selenium 1.0.3 (from 1.0.1) and now they
don't all pass. I'll investigate.
To run the [http://seleniumhq.org/ Selenium] tests with Firefox, check
that Java is installed and [http://seleniumhq.org/download/ download
Selenium RC]:
{{{
#!sh
wget http://selenium.googlecode.com/files/selenium-remote-
control-1.0.3.zip
mkdir selenium
cd selenium
unzip selenium-remote-control-1.0.3.zip
cd selenium-server-1.0.3
java -jar selenium-server.jar
}}}
To run the SageNB tests, I usually do the following, e.g., in a script:
{{{
#!python
sage: import sagenb.testing.run_tests as rt
sage: brow = '*firefox3 /usr/lib64/firefox-3.5.8/firefox'
sage: rt.setup_tests('localhost', False, brow)
sage: rt.run_any()
}}}
The `setup_tests` step may not be necessary, but I think it helps to give
the path to the actual Firefox binary. See docstrings for a few examples.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8435#comment:16>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.