When (/^organic circuitry is not chosen as the futuristic technology$/) do step %{on the object test page} end When (/^organic circuitry is chosen as the futuristic technology$/) do step %{on the object test page} @page.check_organicCircuitry end When (/^the kinetic harpoon checkbox on the object test page is checked by "([^"]*)"$/) do |locator| @page = SimpleObjectPage.new(@browser, true) @page.check_kineticHarpoonID if locator == "id" @page.check_kineticHarpoonName if locator == "name" @page.check_kineticHarpoonClass if locator == "class" @page.check_kineticHarpoonXPath if locator == "xpath" @page.check_kineticHarpoonIndex if locator == "index" end Then (/^the organic circuitry checkbox should exist$/) do @page.organicCircuitry_exists?.should == true @page.organicCircuitry?.should == true end Then (/^the organic circuitry checkbox should be visible$/) do @page.organicCircuitry_visible?.should == true @page.organicCircuitry_?.should == true end Then (/^the organic circuitry checkbox should be enabled$/) do @page.organicCircuitry_enabled?.should == true @page.organicCircuitry!.should == true end Then (/^the organic circuitry checkbox should be a checkbox object$/) do @object = @page.organicCircuitry_checkbox @object.should be_instance_of Symbiont::WebObjects::CheckBox end Then (/^the organic circuitry checkbox should be unchecked$/) do @page.organicCircuitry_checked?.should == false end Then (/^the organic circuitry checkbox should be checked$/) do @page.organicCircuitry_checked?.should == true end Then (/^the fake checkbox should not exist$/) do @page.fake_checkbox_exists?.should == false end Then (/^the fake checkbox should be a checkbox object$/) do @object = @page.fake_checkbox_checkbox @object.should be_instance_of Symbiont::WebObjects::CheckBox end Then (/^the preferential eigenstate selector checkbox should exist$/) do @page.eigenstate_exists?.should == true end Then (/^the preferential eigenstate selector checkbox should be visible$/) do @page.eigenstate_visible?.should == true end Then (/^the preferential eigenstate selector checkbox should be a checkbox object$/) do @object = @page.eigenstate_checkbox @object.should be_instance_of Symbiont::WebObjects::CheckBox end Then (/^the preferential eigenstate selector checkbox should not be enabled$/) do @page.eigenstate_enabled?.should == false end Then (/^the kinetic harpoon checkbox should be checked$/) do @page.kineticHarpoonID_checked?.should == true end