From 9311fea09b7eefb3cdcd3f266099348019b82484 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli <thomas@roundcube.net> Date: Tue, 26 May 2015 07:55:39 -0400 Subject: [PATCH] Add utility functiion to get an elemet's text content also when running tests in PhantomJS --- tests/Selenium/Mail/List.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/Selenium/Mail/List.php b/tests/Selenium/Mail/List.php index 88fdb25..dc28577 100644 --- a/tests/Selenium/Mail/List.php +++ b/tests/Selenium/Mail/List.php @@ -42,7 +42,7 @@ $this->assertHasClass('unread', $row); $subject = $this->byCssSelector('.messagelist tbody tr:first-child td.subject'); - $this->assertEquals('Lines', $subject->text()); + $this->assertEquals('Lines', $this->getText($subject)); $icon = $this->byCssSelector('.messagelist tbody tr:first-child td.status span'); $this->assertHasClass('unread', $icon); -- Gitblit v1.9.1