|
30 | 30 | # Marionette Bug -
|
31 | 31 | # POST /session/f7082a32-e685-2843-ad2c-5bb6f376dac5/element/active
|
32 | 32 | # did not match a known command
|
33 |
| - not_compliant_on :w3c => true do |
| 33 | + not_compliant_on :driver => :wires do |
34 | 34 | it "should find the active element" do
|
35 | 35 | driver.navigate.to url_for("xhtmlTest.html")
|
36 | 36 | expect(driver.switch_to.active_element).to be_an_instance_of(WebDriver::Element)
|
|
55 | 55 |
|
56 | 56 | # Marionette Bug - Marionette Error: switchToParentFrame
|
57 | 57 | not_compliant_on({:browser => [:safari, :phantomjs]},
|
58 |
| - {:w3c => true}) do |
| 58 | + {:driver => :wires}) do |
59 | 59 | it "should switch to parent frame" do
|
60 | 60 | driver.navigate.to url_for("iframes.html")
|
61 | 61 |
|
|
126 | 126 | end
|
127 | 127 |
|
128 | 128 | # Marionette BUG: Automatically switches browsing context to new window when it opens.
|
129 |
| - not_compliant_on :w3c => true do |
| 129 | + not_compliant_on :driver => :wires do |
130 | 130 | it "should close current window when more than two windows exist" do
|
131 | 131 | driver.navigate.to url_for("xhtmlTest.html")
|
132 | 132 | driver.find_element(:link, "Create a new anonymous window").click
|
|
248 | 248 | # Says message should be an array (I think), but we're getting
|
249 | 249 | # InvalidArgumentError: 'message' not a string
|
250 | 250 | # When trying a string, error: keysToSend.join is not a function
|
251 |
| - not_compliant_on :w3c => true do |
| 251 | + not_compliant_on :driver => :wires do |
252 | 252 | it "allows the user to set the value of a prompt" do
|
253 | 253 | driver.navigate.to url_for("alerts.html")
|
254 | 254 | driver.find_element(:id => "prompt").click
|
|
293 | 293 | # Marionette BUG - Allows driver calls with alert present
|
294 | 294 | # Spec says: "If the subsequent requested command is not one listed
|
295 | 295 | # in this chapter, an unexpected alert open error will be returned."
|
296 |
| - not_compliant_on :w3c => true do |
| 296 | + not_compliant_on :driver => :wires do |
297 | 297 |
|
298 | 298 | it "raises an UnhandledAlertError if an alert has not been dealt with" do
|
299 | 299 | driver.navigate.to url_for("alerts.html")
|
|
0 commit comments