From 0e78135f91b458aa94390251dc7009a34afe161a Mon Sep 17 00:00:00 2001 From: Qstick Date: Fri, 21 Aug 2020 20:57:42 -0400 Subject: [PATCH] Switch Automation to Chrome for Test Speed --- frontend/src/Components/Loading/LoadingIndicator.js | 3 ++- src/NzbDrone.Automation.Test/AutomationTest.cs | 10 +++++++--- .../Lidarr.Automation.Test.csproj | 2 +- src/NzbDrone.Automation.Test/PageModel/PageBase.cs | 2 +- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/frontend/src/Components/Loading/LoadingIndicator.js b/frontend/src/Components/Loading/LoadingIndicator.js index 60f692a45..ffed05b1b 100644 --- a/frontend/src/Components/Loading/LoadingIndicator.js +++ b/frontend/src/Components/Loading/LoadingIndicator.js @@ -1,3 +1,4 @@ +import classNames from 'classnames'; import PropTypes from 'prop-types'; import React from 'react'; import styles from './LoadingIndicator.css'; @@ -13,7 +14,7 @@ function LoadingIndicator({ className, rippleClassName, size }) { style={{ height }} >
- + diff --git a/src/NzbDrone.Automation.Test/PageModel/PageBase.cs b/src/NzbDrone.Automation.Test/PageModel/PageBase.cs index acf8cfe73..fbb0bcf43 100644 --- a/src/NzbDrone.Automation.Test/PageModel/PageBase.cs +++ b/src/NzbDrone.Automation.Test/PageModel/PageBase.cs @@ -37,7 +37,7 @@ namespace NzbDrone.Automation.Test.PageModel { try { - IWebElement element = d.FindElement(By.Id("followingBalls")); + IWebElement element = d.FindElement(By.ClassName("followingBalls")); return !element.Displayed; } catch (NoSuchElementException)