1 This test verifies Ctrl-D functionality, which selects next occurrence of word.
5 original: $(".entry.original > .input").text(),
6 translation: $(".entry.translation > .input").text(),
7 tags: $(".active-tags > .tagcloud > .tag").toArray().map(function(value) { return value.textContent; })
11 function submitWord(url) {
12 var stub = new App.Stub($(".content"));
13 $.post(url, wordData())
15 var callback = $("meta[data-callback]").attr("data-callback");
17 window.location = callback;
20 $(".entry.original > .input").text("").focus();
21 $(".entry.translation > .input").text("");
24 .fail(function(obj, err, errDescr) {
25 stub.failure("Error: " + errDescr);
29 Running: testCursorInTheWordStart
32 Running: testCursorInTheWordEnd
35 Running: testNonWordSelection
38 Running: testNonWordSelection2
41 Running: testNonWordSelection3
46 Running: testNonWordSelection4
51 Running: testTriggerWordSearchInMixedCase
52 'stub = new App.Stub': 1