Rachel99 has uploaded a new change for review.
https://gerrit.wikimedia.org/r/73753
Change subject: WIP : Enter internal link
......................................................................
WIP : Enter internal link
Change-Id: I6300ad3364a453708eb348a2a43f72123983a661
---
M features/step_definitions/visual_editor_links_steps.rb
M features/visual_editor_links.feature
2 files changed, 16 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/qa/browsertests
refs/changes/53/73753/1
diff --git a/features/step_definitions/visual_editor_links_steps.rb
b/features/step_definitions/visual_editor_links_steps.rb
index 08e51f0..d7b24c9 100644
--- a/features/step_definitions/visual_editor_links_steps.rb
+++ b/features/step_definitions/visual_editor_links_steps.rb
@@ -21,4 +21,8 @@
end
page.diff_view.should match Regexp.escape('[http://www.example.com
Editing] ')
end
-end
\ No newline at end of file
+end
+
+When(/^I click the blue text for internal links$/) do
+ on(VisualEditorPage).linksuggestion_internal_element.when_present.click
+end
diff --git a/features/visual_editor_links.feature
b/features/visual_editor_links.feature
index 74a1fbc..58f2c88 100644
--- a/features/visual_editor_links.feature
+++ b/features/visual_editor_links.feature
@@ -14,4 +14,14 @@
And I click < to close Link User Interface
And I click Save page
And I click Review your changes
- Then an external link appears in the diff view
\ No newline at end of file
+ Then an external link appears in the diff view
+
+ Scenario: Enter internal link
+ Given I can see the Link User Inteface
+ When I enter Main Page into Content box
+ And I click the blue text for internal links
+ # And I click < to close Link User Interface
+ # And I click Save page
+ #And I click Review your changes
+ #Then an internal link appears in the diff view
+
\ No newline at end of file
--
To view, visit https://gerrit.wikimedia.org/r/73753
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6300ad3364a453708eb348a2a43f72123983a661
Gerrit-PatchSet: 1
Gerrit-Project: qa/browsertests
Gerrit-Branch: master
Gerrit-Owner: Rachel99 <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits