mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-23 18:28:51 +00:00
[BrowserTest] rubocop proper format for comments
Change-Id: I2fe136f29e0bc430420a0931092695d3f4147112
This commit is contained in:
parent
1b69fc97c7
commit
95a798867c
|
@ -41,8 +41,3 @@ Style/GlobalVars:
|
|||
Style/IfUnlessModifier:
|
||||
Enabled: false
|
||||
|
||||
# Offense count: 6
|
||||
# Cop supports --auto-correct.
|
||||
Style/LeadingCommentSpace:
|
||||
Enabled: false
|
||||
|
||||
|
|
|
@ -58,7 +58,7 @@ GEM
|
|||
watir-webdriver (>= 0.6.9)
|
||||
page_navigation (0.9)
|
||||
data_magic (>= 0.14)
|
||||
parser (2.2.0.pre.7)
|
||||
parser (2.2.0.pre.8)
|
||||
ast (>= 1.1, < 3.0)
|
||||
slop (~> 3.4, >= 3.4.5)
|
||||
powerpack (0.0.9)
|
||||
|
|
|
@ -87,7 +87,7 @@ end
|
|||
When(/^I send right arrow times (\d+)$/) do |number|
|
||||
number.to_i.times do
|
||||
on(VisualEditorPage).content_element.send_keys :arrow_right
|
||||
on(VisualEditorPage).content_element.fire_event('onblur') #gerrit 86800/86801
|
||||
on(VisualEditorPage).content_element.fire_event('onblur') # gerrit 86800/86801
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ at_exit do
|
|||
$browser.close unless ENV['KEEP_BROWSER_OPEN'] == 'true'
|
||||
end
|
||||
|
||||
#This is for the multiedit test
|
||||
# This is for the multiedit test
|
||||
Before('@edit_user_page_login') do
|
||||
if (!$edit_user_page_login || !(ENV['REUSE_BROWSER'] == 'true')) && @browser
|
||||
step 'I am logged in'
|
||||
|
|
|
@ -162,9 +162,9 @@ class VisualEditorPage
|
|||
span(:another_save_page, class: 'oo-ui-labelElement-label', text: 'Save page', frame: frame)
|
||||
text_field(:link_textfield, index: 0, frame: frame)
|
||||
span(:links_done, text: 'Done', frame: frame)
|
||||
div(:content_box, class: 've-ce-documentNode ve-ce-branchNode', frame: frame) #ALSO USED IN LANGUAGE SCREENSHOT
|
||||
div(:content_box, class: 've-ce-documentNode ve-ce-branchNode', frame: frame) # ALSO USED IN LANGUAGE SCREENSHOT
|
||||
|
||||
#USED IN LANGUAGE SCREENSHOT TEST:
|
||||
# USED IN LANGUAGE SCREENSHOT TEST:
|
||||
text_field(:media_alternative_text, css: 'div.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-textInputWidget.ve-ui-mwMediaDialog-altText > input', frame: frame)
|
||||
div(:media_alternative_block, class: 'oo-ui-layout oo-ui-iconElement oo-ui-labelElement oo-ui-fieldsetLayout', index: 1, frame: frame)
|
||||
list_item(:media_advanced_settings, class: 'oo-ui-widget oo-ui-widget-enabled oo-ui-optionWidget oo-ui-decoratedOptionWidget oo-ui-outlineItemWidget oo-ui-outlineItemWidget-level-0 oo-ui-iconElement oo-ui-labelElement', frame: frame)
|
||||
|
|
Loading…
Reference in a new issue