Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11246 (closed)

Opened 11 years ago

Closed 11 years ago

Web to use Selenium-2

Reported by: wmoore Owned by: wmoore
Priority: critical Milestone: Testing and Docs
Component: Web Version: 4.4.8
Keywords: n.a. Cc: cneves
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: Testing and Docs (1)

Description

Looks like Selenium is the way to go for web UI tests.

Since our last usage, Selenium has started using webdriver with a new API etc.

Also, our only existing tests in webadmin are invalid now (UI rewrite).

So it makes sense to start again using Selenium-2.

webgateway/tests/seleniumbase.py framework should be updated to use Selenium-2.

Change History (2)

comment:1 Changed 11 years ago by wmoore

Seems that Selenium-2 doesn't support relative URLs https://groups.google.com/forum/#!msg/selenium-developers/kCbf72vQDb0/SwgLvAvbvEYJ
so in the past where we've done

sel.open("/webadmin/experimenters")

we'll now need to concatonate with the base url ourselves first.

comment:2 Changed 11 years ago by wmoore

  • Resolution set to fixed
  • Status changed from new to closed

We have the selenium base updated and used by the webadmin tests: https://github.com/openmicroscopy/openmicroscopy/pull/1340

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.67194 sec.)

We're Hiring!