Amir E. Aharoni
39afc66a91
[BrowserTest] Shorten lines for clarity
...
The 'I take screenshot of insert pull-down menu' step has many
similar very long lines. Shortening them makes
the code more understandable and conforming to the conventions.
Change-Id: I83b35211a6cbfdc420895469747884f3ae864479
2015-01-27 13:35:39 -08:00
Amir E. Aharoni
024481baae
[BrowserTest] Simplify the Selenium selector for the Save button
...
The selector was very long and incorrect.
This patch simplifies and corrects the selector.
This also fixes the VisualEditor_save_dialog scenario
in the language_screenshots scenarios.
Change-Id: If822f1b2b8bda4d233dff5a88f6317ee1b0d57f1
2015-01-27 13:35:39 -08:00
Amir E. Aharoni
401c526d8a
[BrowserTest] Remove extra empty lines to make Rubocop pass
...
Change-Id: I30be711ee021af3d33b52a957bddd6e76b23b9ae
2015-01-27 11:09:16 -08:00
Amir E. Aharoni
c80e311a02
[BrowserTest] Fix VisualEditor toolbar actions scenario
...
The save button changed from constructive (green) to progressive (blue).
Change-Id: Ic410d5ed3847da803d6d83df7f77b6e0edc5d81b
2015-01-27 04:15:51 +00:00
Amir E. Aharoni
896c8b5d5f
[BrowserTest] Change "Headings interface" to "Headings menu"
...
Change-Id: I8a50bdf1c49d80ec89c1d87d2a4e353f0aa1a3f9
2015-01-27 04:15:43 +00:00
Amir E. Aharoni
5b0e34fa4a
[BrowserTest] Clean up the 'I am editing' scenario in language screenshots
...
Change-Id: Ieecbad486e4b0d2256452c66493ae3cec1643658
2015-01-27 04:15:20 +00:00
jenkins-bot
049b5798f2
Merge "[BrowserTest] Add test for missing parameter error msg"
2015-01-14 16:14:42 +00:00
Cmcmahon
295f9f81b1
[BrowserTest] Add test for missing parameter error msg
...
Test checks for 'Required parameter missing' message, 'Go back'
and 'Continue anyway'.
Paired with Rummana writing this
Change-Id: I9c3aab7f7af9ccde8f0dadd2839a7a698f7341ee
2015-01-14 16:04:12 +00:00
Cmcmahon
7b9cf21dec
[BrowserTest] update Cite test for new Journal fields
...
Maintenance
Change-Id: I36d0c8b438e8fa1847c3947ad52e15d2aadbcfb6
2015-01-13 15:14:26 -07:00
Amir E. Aharoni
7c128f9a4a
[BrowserTest] Make the Save page element language independent
...
This element used the English label. It should just use
the class to be language independent.
I tested by running VisualEditor_save_dialog scenario
in language screenshots for the Persian language. It fails
on master because of the English label and passes with this commit.
Change-Id: I77955b3dfabbf6a15885c085e3fbdd447b04b4db
2015-01-13 13:05:35 +02:00
jenkins-bot
19270a31d0
Merge "[BrowserTest] Change the Heading menu item from a to span"
2015-01-13 10:25:31 +00:00
Amir E. Aharoni
7a4ec947fa
[BrowserTest] Change the Heading menu item from a to span
...
Change-Id: I214f8dbc73e38073f6e8dedfb61d75b1e829fa38
2015-01-13 12:21:10 +02:00
Amir E. Aharoni
919d62e66c
[BrowserTest] Remove the page settings scenario from language screenshots test
...
It will be fixed later. It needs better element definition
to run successfully, and until it's properly fixed
it should be disabled to let other jobs pass.
Bug: T86634
Change-Id: Id41d1329d22679b6a61201ceafc81eafa222d909
2015-01-13 12:14:44 +02:00
Amir E. Aharoni
cd4bd7a73c
Add classes to toolbar UI elements
...
This cleans up the selectors for the elements on the toolbar
so that they can be tested.
Class names in the form of ve-test-* are added to elements
that have words for labels: 'Paragraph', 'Cite', 'Insert'.
There is no other way to look up these elements in the DOM
except using the UI text, but it is different in different languages,
so this is unusable for the language_screenshots job,
which is multilingual by its nature.
Bug: T76143
Change-Id: Ib0cb67151d893a5d2efccf798d6b25d197ed34d2
2014-12-30 12:16:44 +00:00
Cmcmahon
2ebbd0f038
[BrowserTest] This test is unreliable in any version of Chrome
...
The issue is that when running automatically, upon loading the
page to be edited a second and third time, the cursor ends up
in a random place within the existing text of the article.
The test expects the cursor to always be at the start of the
article text, and this happens in Firefox.
I did a cursory check and I could not reproduce the issue of random
cursor placement upon multiple edits to the same article. There
may be a bug here, but it is not trivial to reproduce.
So let's take this test out of the Jenkins builds in the service
of more reliable green tests.
Change-Id: Ie3dd76c5b40f3035d43e6f0a06327adb70900f60
2014-12-19 09:34:20 -07:00
Cmcmahon
a479d04299
[BrowserTest] clear default text before entering search text
...
Change-Id: Ief375c95ebee65a1add2fdf1b7c45e600df181a3
2014-12-17 10:37:27 -07:00
Cmcmahon
4fbd141b49
[BrowserTest] update test for new selector
...
Change-Id: Ic3bc3b416bc7ddadef7a05699f6181c0b7b84cdd
2014-12-17 10:22:44 -07:00
Cmcmahon
c34fd60a9b
[BrowserTest] update general markup test
...
refactor for new locator
Change-Id: I089aebb64a9d67d01c1bfa4682927c0de2575051
2014-12-17 09:31:24 -07:00
Cmcmahon
30c3aa2242
[BrowserTest] update Links test
...
another iframe gone it seems
Change-Id: I33767706675bbdcd1cb45f33da109858ec36986e
2014-12-17 08:51:17 -07:00
ryasmeen@wikimedia.org
5eff6e8aa1
[BrowserTest]Fixing options test
...
Fixed the unique selector for failing cases
Change-Id: I41bde7245328303fcc8c5afea8f7228c1d36b915
2014-12-16 17:36:50 -08:00
jenkins-bot
6ca0046599
Merge "[BrowserTest] changing the css paths for Cite options for fixing the tests"
2014-12-16 22:36:50 +00:00
ryasmeen@wikimedia.org
aa77e8ab4f
[BrowserTest] changing the css paths for Cite options for fixing the tests
...
Change-Id: Iea90e4bb656b30ec0839e6c843e30ba8ae1fd637
2014-12-16 15:33:37 -07:00
ryasmeen@wikimedia.org
a8807c6af4
[BrowserTest] Adding tests for checking fields under Page Settings
...
Change-Id: I31d8d3327bd8abe6a7c5f3c4941174253104bbac
2014-12-15 21:37:42 +00:00
Cmcmahon
122099fda8
[BrowserTest] issues with Chrome at SauceLabs causes test to fail
...
This is one of several VE tests that do not work well with older
versions of Chrome
Change-Id: Id7afc51689557d9e86e67a07dc840a8e6ca8303e
2014-12-10 15:00:05 -07:00
Cmcmahon
978308ee1f
[BrowserTest] update Cite tests
...
Seems that a set of invisible textareas have appeared
Change-Id: I2ee81c782220c632393d2bbdc66ca66a5c8bf667
2014-12-08 10:43:35 -07:00
jenkins-bot
77b507dfc7
Merge "[Browsertest]Tests for options under Advanced Settings panel"
2014-12-02 23:03:37 +00:00
ryasmeen@wikimedia.org
416d62df4f
[Browsertest]Tests for options under Advanced Settings panel
...
Change-Id: I21765e9e3d7a004d24dd620dd0da35978632d02a
2014-12-02 15:00:33 -08:00
Željko Filipin
15ed437331
[BrowserTest] Fixed a couple of page elements
...
Change-Id: Ia4652896243705651c86ff5f83dbd03029757705
Paired-With: Amir Aharoni
Bug: T76133
2014-11-27 11:39:02 +01:00
Bartosz Dziewoński
e2d4f5b533
[BrowserTests] Fix class name: ve-ui-contextMenuWidget → ve-ui-contextSelectWidget
...
Change-Id: I70f44e71819e9147886bd70baf3460daf9ebbaf2
2014-11-22 01:56:29 +00:00
Cmcmahon
34f3572372
[BrowserTest] love for test that targets test2wiki
...
Change-Id: Ie37d88e891b592745e8f430da4481f2f1d2bd530
2014-11-21 21:28:25 +00:00
Cmcmahon
f7a7a89d00
[BrowserTest] remove tests from the Jenkins builds known to fail for Chrome
...
No combination of WebDriver for any version of Chrome on Linux
works 100% correctly.
Remove the failing tests for now.
Change-Id: I46be2c2c857e93234c839d32f1c0d4224733d0f7
2014-11-21 21:26:20 +00:00
Cmcmahon
2449ebde99
[BrowserTest] consolidate some duplicate elements
...
and remove one unused
Change-Id: Ica50cf74edd9a21423800a7d58f4832b77a7e8bc
2014-11-21 13:28:01 -07:00
Cmcmahon
f6526cb0a9
[BrowserTest] comments for classes
...
Change-Id: I3d5e063ee4dd36632ab9c2a433660567b70777ea
2014-11-21 09:49:50 -07:00
Cmcmahon
473877202b
[BrowserTest] rubocop change to an if()
...
Change-Id: I5ae9ec4d94af88fa67ac8de58a38b6ea03b14acc
2014-11-21 09:40:40 -07:00
Cmcmahon
95a798867c
[BrowserTest] rubocop proper format for comments
...
Change-Id: I2fe136f29e0bc430420a0931092695d3f4147112
2014-11-21 09:21:53 -07:00
Cmcmahon
1b69fc97c7
[BrowserTest] Fixed Style/SpaceAfterComma RuboCop offense
...
Change-Id: Ia11c32c74acf4c2226f84ea566f4074b193f4e20
2014-11-21 16:15:58 +00:00
Cmcmahon
ede14c75fb
[BrowserTest] rubocop updates to replace double quotes with single
...
Change-Id: I0608aea2bd634156bf800b3be47a5c2a6d9fadca
2014-11-21 09:06:09 -07:00
Cmcmahon
2f05d1b10a
[BrowserTest] more rubocop style fixes
...
Change-Id: Ibc1cabbdc00f569b10fd6aae0e5bb998211745b1
2014-11-20 12:07:45 -07:00
Cmcmahon
65e4d91cf0
[BrowserTest] Rubocop style fixes
...
Change-Id: Ieb1ba49f2a987b41f82a3b66c542fba48313eb1f
2014-11-20 11:55:40 -07:00
Cmcmahon
513031c4bf
[BrowserTest] locator changed
...
Change-Id: I3aeb1f60cf512c55f497f4ef6743b149bc0add43
2014-11-20 10:02:20 -07:00
Amir E. Aharoni
a513ba9583
[BrowserTest] Fix the index of the insert menu
...
Change-Id: Id0e821d3cf01efff74fdb189cf09d24d9eb753e2
2014-11-20 10:52:47 +00:00
ryasmeen@wikimedia.org
6cce39ee10
[BrowserTest] Extend options test
...
Adding cases to test categories in options.feature
Change-Id: I6fbe8bc170306c5f2942bf3c7e87f7a3ff661bb2
2014-11-19 16:26:07 -07:00
Cmcmahon
c49b2a77f2
[BrowserTest] once more
...
Change-Id: I34b4be6aadf991cf9d12c76fd8c8410697b2b500
2014-11-19 14:53:08 -07:00
Cmcmahon
210169c55b
[BrowserTest] forgot a bit of dead code
...
Change-Id: I249e229d449eb74ff341f511e84290a4ca731f92
2014-11-18 13:09:17 -07:00
Cmcmahon
6489767bc7
[BrowserTest] remove sleeps from shared tests
...
* remove dead code
Change-Id: Id95ff81746eb440124958bcc6dd9334b7ed299a4
2014-11-18 12:59:34 -07:00
Cmcmahon
06aa53747c
[BrowserTest] interim step, no functional change
...
Change-Id: I3a7787c4ab9206c70f0f64b6c0986ae93ddb3d84
2014-11-17 15:14:32 -07:00
Cmcmahon
94bab8f918
[BrowserTest] update transclusion test for Page Object vio and RS
...
Change-Id: Ie80dce2d117d4d2dc836681dcd9362ae565f2aa8
2014-11-17 14:59:14 -07:00
Cmcmahon
743d035fa1
[BrowserTest] update switch-edit-mode test for RSpec3
...
Change-Id: Ia040f8b6e76a42c2c80bda382bf6ad6f30988ba1
2014-11-17 14:42:59 -07:00
Cmcmahon
fa02c60586
[BrowserTest] fix minor Page Object design violation
...
Change-Id: I75d282a7e176347b0995f2c2ccda8ab051aca270
2014-11-17 14:18:13 -07:00
Cmcmahon
4383dedcfc
[BrowserTest] minor violation of Page Object design pattern
...
and RSPec syntax also fixed
Change-Id: I2bbaf460f6ddae708ea243064dd9a596bdd006f1
2014-11-17 14:07:16 -07:00