Commit graph

296 commits

Author SHA1 Message Date
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
7bf8dad6f9 Merge pull request #1460 from ether/timeslider-labels
timeslider label tests, fix and fix firefox page up down
2013-02-06 15:43:54 -08:00
John McLear
e4032f4d74 timeslider label tests 2013-02-06 23:28:46 +00:00
John McLear
de07d5a3e1 make plugin specs finally work 2013-02-04 00:03:25 +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
johnyma22
28cd6e64b3 make runner CSS more sane 2012-11-21 20:09:31 +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
John McLear
323517c6dc Merge pull request #1181 from marcelklehr/fix/lang-test-dont-use-setimeout
dont use setimeout for lang tests
2012-11-18 13:09:35 -08: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
bec2c3692d Always display the test overview panel 2012-11-18 12:49:59 +01:00
Marcel Klehr
1b409d7b9d Scroll down the list of tests after a test completed 2012-11-18 12:49:34 +01:00
Marcel Klehr
ff0c9bb4a0 Make language frontend test pass 2012-11-17 16:29:11 +01:00
Peter 'Pita' Martischka
c008d7bbbe Merge branch 'develop' into feature/i18n 2012-11-13 08:47:38 -08:00
Peter 'Pita' Martischka
7d174855c4 Give the browser more time to save the cookie at change_user_name test 2012-11-13 08:39:48 -08:00
Peter 'Pita' Martischka
e13219fec9 deactive test for issue #1125 2012-11-13 08:05:05 -08:00
johnyma22
3830c878d2 change language test -- note i didnt include test for cookie persistance 2012-11-13 07:47:47 -08:00
Peter 'Pita' Martischka
03d3cd9f24 back to sauce connect download from sauce labs 2012-11-11 19:07:41 -08:00
Peter 'Pita' Martischka
68ed9b219f Fixed another sendkeys bug 2012-11-11 19:04:28 -08:00
Peter 'Pita' Martischka
e385e78310 IE9 doesn't need special IE treatment and works much better with the W3C sendkeys methods 2012-11-11 18:21:43 -08:00
Peter 'Pita' Martischka
d122e28232 Fixed clear authorship test in IE 10 2012-11-04 00:25:54 +00:00
Peter 'Pita' Martischka
1e27fa1475 rewrote change user name tests to do what John probably wanted to do 2012-11-03 23:52:17 +00:00
Peter 'Pita' Martischka
cd368b5f8e Various improvments of the helper 2012-11-03 23:48:10 +00:00
Peter 'Pita' Martischka
ebef2d2141 deactivated the timeslider test for now 2012-11-03 22:37:25 +00:00
Peter 'Pita' Martischka
922e47f8bd Fixed change user name test 2012-11-03 22:36:36 +00:00
Peter 'Pita' Martischka
f30300d6fd Fixed helper waitFor test 2012-11-03 22:20:27 +00:00
Peter 'Pita' Martischka
4944dcbd1c fixed change user name test 2012-11-03 22:16:44 +00:00
Peter 'Pita' Martischka
c5b68bb6ca Fixed clear authorship test 2012-11-03 22:02:09 +00:00
Peter 'Pita' Martischka
ba1115376f split long log lines 2012-11-03 18:14:54 +00:00
Peter 'Pita' Martischka
08a2d28a99 build sauce url after session got initalized 2012-11-03 18:09:58 +00:00
Peter 'Pita' Martischka
801ed8646b output sauce test url 2012-11-03 17:51:01 +00:00
Peter 'Pita' Martischka
8d6dbd2bf6 Make sauce sessions public 2012-11-03 17:46:02 +00:00
Peter 'Pita' Martischka
a5870b94df on error logging didn't work really well 2012-11-03 17:26:55 +00:00
Peter 'Pita' Martischka
c99a256acd Download sauce connect from google drive, thats much faster 2012-11-03 17:10:37 +00:00
Peter 'Pita' Martischka
3ee4fadf8a workaround for IE8's stupidness, use a \n for new lines 2012-11-03 17:02:28 +00:00
Peter 'Pita' Martischka
7aae29114b kill hanging tests 2012-11-03 16:51:37 +00:00
Peter 'Pita' Martischka
95f17d490d typo 2012-11-03 16:50:48 +00:00
Peter 'Pita' Martischka
600d428ec2 I'm so stupid... 2012-11-03 16:21:28 +00:00
Peter 'Pita' Martischka
401243e9b0 Don't test with browsers with very low usage 2012-11-03 16:20:05 +00:00
Peter 'Pita' Martischka
ecdd39bca6 Let's try 5 tests in parrallel 2012-11-03 16:11:41 +00:00
Peter 'Pita' Martischka
5e90db6487 another typo 2012-11-03 16:11:15 +00:00
Peter 'Pita' Martischka
4e4c720cb0 fixed type 2012-11-03 16:05:12 +00:00
Peter 'Pita' Martischka
0fd6051f52 test in different browsers 2012-11-03 15:55:14 +00:00
Peter 'Pita' Martischka
ab6adc7216 removed captialization 2012-11-03 14:56:34 +00:00
Peter 'Pita' Martischka
c0394138f8 Ensure all tests are excecuted in sauce + better test result output 2012-11-03 14:31:33 +00:00
Peter 'Pita' Martischka
e29f47ea35 less red 2012-11-03 13:39:31 +00:00
Peter 'Pita' Martischka
90e1014688 Colors :) 2012-11-03 13:20:44 +00:00
Peter 'Pita' Martischka
c8dfa6d7ae less noise 2012-11-01 23:46:04 +00:00
Peter 'Pita' Martischka
9712e66de5 take control over remote test run 2012-11-01 23:21:10 +00:00
Peter 'Pita' Martischka
0409ebb30b bloody sauce connect logs... 2012-11-01 23:20:28 +00:00
Peter 'Pita' Martischka
1188dea8ff increase timeouts 2012-11-01 23:19:59 +00:00
Peter 'Pita' Martischka
82dfb2df21 run test lib for a minute in sauce with firefox 2012-11-01 22:17:31 +00:00
Peter 'Pita' Martischka
1346222d1c keep sauce tunnel alive 2012-11-01 21:46:50 +00:00
Peter 'Pita' Martischka
d6ca5b54f7 try to build up the sauce labs tunnel, and tear it down after its etablished 2012-10-30 21:49:04 +00:00
johnyma22
fc36f6e9ef clean up the change user name tests to be a bit more sane 2012-10-30 17:45:37 +00:00
johnyma22
83a2f3c1a9 stop using underscore.org 2012-10-30 17:43:33 +00:00
Peter 'Pita' Martischka
90751ff2e5 ... 2012-10-29 23:45:22 +00:00
Peter 'Pita' Martischka
52b73f46e1 can it start the script? 2012-10-29 23:43:27 +00:00
Peter 'Pita' Martischka
9ac025d7fa Revert "another one..."
This reverts commit 2a327c9ece.
2012-10-29 11:37:41 +00:00
Peter 'Pita' Martischka
2a327c9ece another one... 2012-10-29 00:17:32 +00:00
Peter 'Pita' Martischka
30e6358e71 senseless commit to get travis awake 2012-10-28 21:21:17 +00:00
Peter 'Pita' Martischka
23c5cd83b9 travis, will you like this? 2012-10-28 18:51:05 +00:00
John McLear
2f26086c5d fix timeslider test 2012-10-28 18:36:22 +00:00
John McLear
e9e59700ae fix chat always on screen test 2012-10-28 18:25:29 +00:00
John McLear
72d40fcfd4 fix button redo spec 2012-10-28 18:19:16 +00:00
John McLear
54f6ac451a Merge branch 'feature/frontend-tests' of git://github.com/Pita/etherpad-lite into feature/frontend-tests 2012-10-28 18:02:11 +00:00
John McLear
c6cbdb5dc2 bring underscore in local so we dont depend on underscore.org being up 2012-10-28 17:56:03 +00:00
John McLear
2bd63cbfed make sure change user name forgets old user names 2012-10-28 17:52:40 +00:00
John McLear
e33678e625 extend changing username to make sure it shows up the changes in the chat dialogue for new messages 2012-10-28 17:47:17 +00:00
John McLear
b4680e42d7 add a keystroke check for chat and make it so the chat listens on event 13 aswell as event 10 2012-10-28 17:38:56 +00:00
Peter 'Pita' Martischka
c021cf52d8 download and start the sauce connector in travis 2012-10-28 16:48:51 +00:00
Peter 'Pita' Martischka
94faa6d3b2 comments 2012-10-28 13:22:30 +00:00
Peter 'Pita' Martischka
f85da5483d added a plain text test reporter, will be good for the webdriver client to pick up test results 2012-10-28 13:16:41 +00:00
Peter 'Pita' Martischka
c4f38e28a6 CSS 2012-10-27 18:37:33 +01:00
Peter 'Pita' Martischka
d7a65e19f4 made it possible to run only certain tests 2012-10-27 17:50:59 +01:00
Peter 'Pita' Martischka
cac27c864a load list of spec files from the server 2012-10-27 17:05:26 +01:00
Peter 'Pita' Martischka
06bebf257e run all tests 2012-10-27 16:40:54 +01:00
johnyma22
c975d81b41 clear authorship colors test 2012-10-09 16:33:47 +01:00
johnyma22
f79bc7f1d8 simple check to ensure changing username change works 2012-10-09 16:04:11 +01:00
johnyma22
d7c80ed41e keystroke enter spec 2012-10-09 15:51:55 +01:00
johnyma22
aee6cb673a a non working chat always ons creen test 2012-10-09 02:59:45 +01:00
johnyma22
38321a0e77 strikethrough test 2012-10-09 02:30:49 +01:00
johnyma22
def587f44f button ordered list test 2012-10-09 02:27:22 +01:00
johnyma22
fbf509ce87 redo button 2012-10-09 01:30:46 +01:00
johnyma22
2db2683c98 an undo button test 2012-10-09 00:52:46 +01:00
johnyma22
c9dd620e2a the first stages of a clear authorship color test 2012-10-09 00:24:19 +01:00
Peter 'Pita' Martischka
0927b13f78 started button_indention test 2012-10-08 21:04:09 +01:00
Peter 'Pita' Martischka
6fefadee88 move sendkeys to lib folder 2012-10-08 18:54:03 +01:00
Peter 'Pita' Martischka
a12c26c56e delete old backup file 2012-10-08 18:50:02 +01:00
Peter 'Pita' Martischka
82b4a953ee new index.html 2012-10-08 18:49:40 +01:00
Peter 'Pita' Martischka
397036db46 finished urls test 2012-10-08 18:42:52 +01:00
Peter 'Pita' Martischka
7adef188ff rewrote the embed values test 2012-10-08 18:38:53 +01:00
Peter 'Pita' Martischka
bd47b6c40b the monospace test works now 2012-10-08 14:13:35 +02:00
Peter 'Pita' Martischka
a4d68b2b25 runIn was a bad idea 2012-10-08 14:07:56 +02:00
Peter 'Pita' Martischka
27f9906b1e ensure we don't inject a second jquery 2012-10-08 14:07:08 +02:00
Peter 'Pita' Martischka
d4c851875a added a runIn method to the helper 2012-10-08 13:37:24 +02:00
Peter 'Pita' Martischka
ca6ebd6151 major restructering of the front end test framework 2012-10-08 00:34:29 +02:00
Peter 'Pita' Martischka
6587852138 fixed keystroke delete test 2012-10-06 23:38:49 +02:00
Peter 'Pita' Martischka
4c1561fcf6 improve test descriptions 2012-10-06 23:38:17 +02:00
Peter 'Pita' Martischka
35cea1e542 fixed the keystroke_urls_become_clickable.js test 2012-10-06 21:45:46 +02:00
Peter 'Pita' Martischka
7fd23c8d71 ported italic test to the new framework 2012-10-06 21:34:20 +02:00
Peter 'Pita' Martischka
3d96fe3d86 rewrote the testHelper 2012-10-06 21:29:37 +02:00
johnyma22
ae25c085e0 a better way of geting href but note that it only works if we use settimeotu but settimeout breaks mocha so it's not okay. Peter please find a way of making sendkeys allow for callbacks, k tnx 2012-10-05 00:38:07 +01:00
johnyma22
9d7d973faa This is a superghetto hack fix for testing button_indentation, Peter please make it less horrible, tnx :) 2012-10-05 00:14:46 +01:00
johnyma22
84ec5abb8f more indentation testing but have hit a brick wall unable to get the second div inside the editor. I tried nth-child, next, find and children but to no avail. Anyone any ideas? 2012-10-04 23:01:33 +01:00
johnyma22
66a25adf62 put all scripts back into index 2012-10-04 21:17:16 +01:00
johnyma22
7eecfa17b7 test for basic indent and outdent, needs more work 2012-10-04 21:02:34 +01:00
johnyma22
edc8ff6a41 adding other tests back to index 2012-10-04 20:44:42 +01:00
johnyma22
7f819967f9 a script for testing font change 2012-10-04 20:44:21 +01:00
johnyma22
fa9c5531e9 a test to check teh value of embed links 2012-10-04 20:02:29 +01:00
johnyma22
ff22ae9206 fix keystroke delete test 2012-10-04 19:12:01 +01:00
johnyma22
1466b31c54 slightly uglier UI but still ugly 2012-10-04 19:08:29 +01:00
Peter 'Pita' Martischka
07182bb716 Changed the send keys library so that its works with elements inside an iframe 2012-10-04 16:22:05 +02:00
Peter 'Pita' Martischka
95ce0aaba8 merged remote feature/frontend-tests 2012-10-04 14:35:25 +02:00
johnyma22
24988d659c This test should work, Peter, why does this test not work? 2012-10-03 21:55:23 +01:00
johnyma22
38ef46449b add delete stroke test to index page of /tests/frontend 2012-10-03 21:26:48 +01:00
johnyma22
339ee6d2e0 working keystroke delete check 2012-10-03 21:25:31 +01:00
johnyma22
aa41ebcd6d include a sendkeys library to emulate sending keypresses 2012-10-03 21:15:56 +01:00
johnyma22
7820e3eb7c beginning of keystroke test 2012-10-03 20:57:04 +01:00
johnyma22
54a77458d6 clean up helper file 2012-10-03 20:56:52 +01:00
Peter 'Pita' Martischka
7aee98bce8 made test helpers more cross browser compatible 2012-10-03 17:37:48 +01:00
johnyma22
649a28b6c6 first user contributed test, note the two files that needed to be edited, this kinda sucks 2012-10-02 15:32:31 +01:00
Peter 'Pita' Martischka
ba4ebbba3b Setted up an enviroment for frontend tests, first steps 2012-10-02 00:35:43 +01:00
Peter 'Pita' Martischka
73f97cc7d5 removed the tests folder, we never did tests anyway 2011-07-22 13:45:12 +01:00
Hans Pinckaers
499c560abd added Pad model via Joose, PadManager is a lot cleaner now. 2011-05-16 16:30:21 +02:00
Peter 'Pita' Martischka
325c322a27 first-commit 2011-03-26 13:10:41 +00:00