Skip to content

Commit

Permalink
Merge pull request #611 from KKoukiou/preselected-disk
Browse files Browse the repository at this point in the history
tests: remove sleep before clicking 'next'
  • Loading branch information
KKoukiou authored Jan 23, 2025
2 parents 62a8acb + 52e470b commit 698fa6b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions test/helpers/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program; If not, see <http://www.gnu.org/licenses/>.
from collections import UserDict
from time import sleep

import steps
from step_logger import log_step
Expand Down Expand Up @@ -131,11 +130,6 @@ def next(self, should_fail=False, next_page=""):
while next_page in self.steps.hidden_steps:
next_page = self.steps._steps_jump[next_page][0]

# Wait for a disk to be pre-selected before clicking 'Next'.
# FIXME: Find a better way.
if current_page == self.steps.INSTALLATION_METHOD:
sleep(2)

self.browser.click("#installation-next-btn")
expected_page = current_page if should_fail else next_page
self.wait_current_page(expected_page)
Expand Down

0 comments on commit 698fa6b

Please sign in to comment.