Commit graph

104 commits

Author SHA1 Message Date
Dave Longley
5688350bf1 Adapt and add slowness test from @JohnMcLear.
- The test now ensures that all three key events are fired when
  sending keys. Previously, only the 'keypress' event was sent,
  which failed to trigger very slow code on webkit browsers (as
  it is triggered by 'keyup'). All three events should really be
  sent whenever sending keys to the browser to ensure that we're
  adequately testing real behavior. See the 'sendkeys' plugin
  for more; it only sends 'keypress'.
2013-07-14 16:46:12 -04:00
John McLear
11341eb095 add a test to show weird behavior 2013-03-19 12:52:14 +00:00
John McLear
13ee96dce0 more tests but still fundamental flaw with arrow keys 2013-03-18 22:14:41 +00:00
John McLear
ee6a7d0b0c most test pass but important ones failed 2013-03-18 22:09:51 +00:00
John McLear
fb9d46fc51 document the required tests 2013-03-18 20:08:58 +00:00
John McLear
99ac407f08 working caret position function 2013-03-17 23:16:23 +00:00
John McLear
81f0ef73ab beginning of FE tests for caret tracking which is easily broken when you add weird line heights to pads 2013-03-17 22:15:18 +00:00
John McLear
29c0d790b5 fix undo test 2013-03-14 14:48:23 -03:00
John McLear
24188d7007 this should pass more tests.. 2013-03-14 14:36:54 -03:00
John McLear
1462d8e80c now IE friendly 2013-03-14 14:22:58 -03:00
John McLear
6bac01009b missed an evt 2013-03-14 13:52:20 -03:00
John McLear
34c2cf40fa This isn't ideal, basically some browsers interact with keypress/keydown in different ways so this is a workaround but it's not perma 2013-03-14 13:51:23 -03:00
John McLear
12107859bb fix tests in firefox as firefox fires on keypress not down 2013-03-14 13:41:49 -03:00
John McLear
b81be97f94 typo 2013-03-13 15:08:19 -03:00
John McLear
5690f2d01e not z, is b! 2013-03-13 15:06:08 -03:00
John McLear
b4ec07312b add keystroke tests for relevant buttonpresses and change naming schema to something more sane 2013-03-13 15:00:04 -03:00
John McLear
60df48e485 ltr test and fix rtl test 2013-03-06 15:02:05 +00:00
John McLear
38499465c3 fix chat simulation test to work in android 2013-03-05 19:01:22 +00:00
John McLear
d8154deee3 more fixes 2013-03-01 23:40:25 +00:00
John McLear
4e205fe0af fix monospace text 2013-03-01 23:33:24 +00:00
John McLear
cadb671ae1 this approach seems to work better for change in latest jQ 2013-03-01 23:29:12 +00:00
John McLear
3460159f68 fix a test 2013-03-01 14:04:33 +00:00
John McLear
6651ed0b7a allow all timeslider tests to run 2013-02-09 17:18:13 +00:00
mluto
ae6a9c25ae Fixed "jumps to a revision given in the url" test 2013-02-07 17:34:31 +01:00
John McLear
8c0fb090eb works in all 3 major browsers 2013-02-07 15:50:59 +00:00
John McLear
f42d3820a5 fix timeslider tests 2013-02-07 15:24:30 +00:00
John McLear
e4032f4d74 timeslider label tests 2013-02-06 23:28:46 +00:00
mluto
0b90e5752b Added a test to check the export-url 2013-01-28 21:38:56 +01:00
mluto
3002807741 Added tests for revision-jumping 2013-01-28 21:12:50 +01:00
mluto
ae07b73840 Increased timeouts to make IE9 happy, made button-test more strict 2013-01-15 22:51:53 +01:00
mluto
09fa1d49a1 Added ability to load the same pad twice with helper.newPad, use this in load-message-tests 2013-01-15 22:17:40 +01:00
John McLear
bb9097e528 Merge pull request #1355 from mluto/chat-no-empty-line
prevent empty chat-messages from being sent
2013-01-14 14:25:46 -08:00
mluto
adf5c97664 Added test for empty-message-block 2013-01-14 17:45:11 +01:00
John McLear
33e0ec2097 Merge pull request #1334 from mluto/load-more-chat-messages
Load more than 100 chat messages using a 'load more'-link
2013-01-13 10:31:45 -08:00
mluto
21b99ccd53 use always() instead of done() and call expect() in there, fixed whitespace 2013-01-13 11:29:28 +01:00
mluto
c3dd433c99 Fixed test-names, use waitFor instead of setTimeout 2013-01-13 11:03:52 +01:00
mluto
176719b331 Added tests 2013-01-13 10:39:13 +01:00
John McLear
7a2f16f288 dont run timeslider test for now 2013-01-07 11:49:04 +00:00
Marcel Klehr
f830602cb2 Add rtl frontend test 2012-12-23 18:17:27 +01:00
John McLear
5055852635 Merge pull request #1227 from ether/tests/add-timeslider-revisions-test
Add a timeslider test
2012-12-08 06:46:14 -08:00
Marcel Klehr
80ce0b5edb Refine timeslider test 2012-12-07 16:20:23 +01:00
John McLear
eb93ce2aa6 a test for adding any letter from alphabet can be extended to include foreign cahrs infact please DO THIS 2012-11-30 23:33:22 +00:00
Marcel Klehr
103e0f6747 Add the basic structure of a timeslider test 2012-11-26 21:15:10 +01:00
johnyma22
aebf6ee1e8 language test should pass int ravis now 2012-11-21 22:22:01 +00:00
John McLear
122093904f Actually fix the language tests... 2012-11-21 18:14:05 +00:00
John McLear
db5119f798 Fix tests to run on IE8 etc.
A bit more fragile but so is the life of supporting older browsers.
2012-11-21 17:53:46 +00:00
John McLear
2260b1fc62 Test for PR 1188
https://github.com/ether/etherpad-lite/pull/1188
2012-11-21 17:52:10 +00:00
Marcel Klehr
c1f9028d19 Fix lang frontend test to 'waitFor' the 'localized' event 2012-11-18 20:11:16 +01:00
Marcel Klehr
f20af4818c Revert "Make language frontend test pass"
Shouldn't have used setTimeout here...
This reverts commit ff0c9bb4a0.
2012-11-18 19:55:13 +01:00
Marcel Klehr
ff0c9bb4a0 Make language frontend test pass 2012-11-17 16:29:11 +01:00