Skip to content

Commit

Permalink
Issue #3100: Removed checking for error dialog.
Browse files Browse the repository at this point in the history
We do not expect an error dialog due to js validation failing before.
  • Loading branch information
stefanhaerter committed Jun 13, 2024
1 parent 7e135fd commit 9d700b8
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# OTOBO is a web-based ticketing system for service organisations.
# --
# Copyright (C) 2001-2020 OTRS AG, https://otrs.com/
# Copyright (C) 2019-2024 Rother OSS GmbH, https://otobo.de/
# Copyright (C) 2019-2024 Rother OSS GmbH, https://otobo.io/
# --
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down Expand Up @@ -648,13 +648,6 @@ $Selenium->RunTest(
# Submit empty form to check validation.
$Selenium->find_element( "#submitRichText", 'css' )->click();

# Wait error Dialog to be visible.
$Selenium->WaitFor( JavaScript => 'return typeof($) === "function" && $(".Dialog:visible").length === 1;' );

# Close error Dialog.
$Selenium->find_element( "#DialogButton1", 'css' )->click();
$Selenium->WaitFor( JavaScript => 'return typeof($) === "function" && $(".Dialog:visible").length === 0;' );

# Check validation.
$Self->Is(
$Selenium->execute_script(
Expand Down

0 comments on commit 9d700b8

Please sign in to comment.