disable shortcut tests for firefox

The key property isn't properly set with selenium.
This commit is contained in:
Mathias Kresin 2015-03-08 13:18:02 +01:00
parent 0c3d8c787f
commit 065805e485
5 changed files with 93 additions and 0 deletions

View File

@ -5,6 +5,15 @@ class keyboardShortcutTest extends minifluxTestCase
const DEFAULT_COUNTER_PAGE = 8;
const DEFAULT_COUNTER_UNREAD = 6;
protected function setUp()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
parent::setUp();
}
public function setUpPage()
{
$url = $this->getURLPageFirstFeed();
@ -31,6 +40,10 @@ class keyboardShortcutTest extends minifluxTestCase
public function testNextItemShortcutA()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium');
}
$articles = $this->getArticles();
$this->setArticleAsCurrentArticle($articles[0]);

View File

@ -66,6 +66,10 @@ class pageBookmarksTest extends minifluxTestCase
public function testMarkReadBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -96,6 +100,10 @@ class pageBookmarksTest extends minifluxTestCase
public function testMarkUnreadBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -127,6 +135,10 @@ class pageBookmarksTest extends minifluxTestCase
public function testUnbookmarkReadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -157,6 +169,10 @@ class pageBookmarksTest extends minifluxTestCase
public function testUnbookmarkUnreadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadBookmarked();
$this->setArticleAsCurrentArticle($article);

View File

@ -77,6 +77,10 @@ class pageFirstFeedTest extends minifluxTestCase
public function testMarkReadNotBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadNotBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -107,6 +111,10 @@ class pageFirstFeedTest extends minifluxTestCase
public function testMarkReadBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -137,6 +145,10 @@ class pageFirstFeedTest extends minifluxTestCase
public function testMarkUnreadNotBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadNotBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -167,6 +179,10 @@ class pageFirstFeedTest extends minifluxTestCase
public function testMarkUnreadBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -197,6 +213,10 @@ class pageFirstFeedTest extends minifluxTestCase
public function testBookmarkReadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadNotBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -227,6 +247,10 @@ class pageFirstFeedTest extends minifluxTestCase
public function testBookmarkUnreadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadNotBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -257,6 +281,10 @@ class pageFirstFeedTest extends minifluxTestCase
public function testUnbookmarkReadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -287,6 +315,10 @@ class pageFirstFeedTest extends minifluxTestCase
public function testUnbookmarkUnreadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadBookmarked();
$this->setArticleAsCurrentArticle($article);

View File

@ -66,6 +66,10 @@ class pageHistoryTest extends minifluxTestCase
public function testMarkUnreadNotBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadNotBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -96,6 +100,10 @@ class pageHistoryTest extends minifluxTestCase
public function testMarkUnreadBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -126,6 +134,10 @@ class pageHistoryTest extends minifluxTestCase
public function testBookmarkReadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadNotBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -156,6 +168,10 @@ class pageHistoryTest extends minifluxTestCase
public function testUnbookmarkReadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleReadBookmarked();
$this->setArticleAsCurrentArticle($article);

View File

@ -66,6 +66,10 @@ class pageUnreadTest extends minifluxTestCase
public function testMarkReadNotBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadNotBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -96,6 +100,10 @@ class pageUnreadTest extends minifluxTestCase
public function testMarkReadBookmarkedArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -126,6 +134,10 @@ class pageUnreadTest extends minifluxTestCase
public function testBookmarkUnreadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadNotBookmarked();
$this->setArticleAsCurrentArticle($article);
@ -156,6 +168,10 @@ class pageUnreadTest extends minifluxTestCase
public function testUnbookmarkUnreadArticleKeyboard()
{
if ($this->getBrowser() === "firefox") {
$this->markTestSkipped('The key property isn\'t properly set with selenium.');
}
$article = $this->getArticleUnreadBookmarked();
$this->setArticleAsCurrentArticle($article);