Skip to content
Browse files

Fix test html/2183/issue2183.js correctly this time

  • Loading branch information...
1 parent edff857 commit 9e382255e2a80fb2e723363ab7de7851d0eb1c8c @sroussey sroussey committed
Showing with 3 additions and 2 deletions.
  1. +3 −2 tests/content/html/2183/issue2183.js
View
5 tests/content/html/2183/issue2183.js
@@ -33,16 +33,17 @@ function runTest()
FBTest.waitForDisplayedElement("html", config, function(node)
{
paragraph = node.getElementsByClassName("nodeText").item(0);
- FBTest.compare(/Lorem.*?\.\.\..*?voluptua\./, paragraph.textContent,
+ FBTest.compare(/Loram.*?\.\.\..*?voluptua\./, paragraph.textContent,
"Node contents in HTML panel must be cropped and contain 'Loram'");
- FBTest.compare(/^Lorem(?!.*\.\.\.)/, win.document.getElementById("paragraph").textContent,
+ FBTest.compare(/^Loram(?!.*\.\.\.)/, win.document.getElementById("paragraph").textContent,
"Node contents on page must not be cropped and contain 'Loram'");
FBTest.testDone("issue2183.DONE");
});
FBTest.sendKey("HOME", editor);
+ FBTest.sendKey("LEFT", editor);
// Move text cursor before the 'e' of 'Lorem'
for (var i=0; i<3; i++)
FBTest.sendKey("RIGHT", editor);

0 comments on commit 9e38225

Please sign in to comment.
Something went wrong with that request. Please try again.