Skip to content

Commit

Permalink
Increase timeout for Import Data From File when loading file
Browse files Browse the repository at this point in the history
  • Loading branch information
damies13 committed Mar 23, 2024
1 parent bb322da commit 021a8a2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Regression_Tests/TestDataTable-GUI_Browser_chromium.robot
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ Import Data From File
${chknewhdr}= Get Text id=preview-c0
Should Be Equal As Strings ${newhdr} ${newhdr}
Take Screenshot

${old_timeout} = Set Browser Timeout 5 minutes

Click "Import"
# Wait Until Element Is Visible id=dialog-progress-bar
Wait Until Element Is Visible id=dialog-progress-subject
Expand All @@ -251,6 +254,9 @@ Import Data From File
Wait Until Element Is Not Visible id=dialog-progress-subject
Wait Until Element Is Visible //*[@name="Street Data"]
Take Screenshot

Set Browser Timeout ${old_timeout}

${colid}= Get Attribute //*[@name="Street Data"] id
${chk1strow}= Get Text id=${colid}-0
Should Be Equal As Strings ${datacell0} ${chk1strow}
Expand Down
6 changes: 6 additions & 0 deletions Regression_Tests/TestDataTable-GUI_Browser_firefox.robot
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,9 @@ Import Data From File
${chknewhdr}= Get Text id=preview-c0
Should Be Equal As Strings ${newhdr} ${newhdr}
Take Screenshot

${old_timeout} = Set Browser Timeout 5 minutes

Click "Import"
# Wait Until Element Is Visible id=dialog-progress-bar
Wait Until Element Is Visible id=dialog-progress-subject
Expand All @@ -252,6 +255,9 @@ Import Data From File
Wait Until Element Is Not Visible id=dialog-progress-subject
Wait Until Element Is Visible //*[@name="Street Data"]
Take Screenshot

Set Browser Timeout ${old_timeout}

${colid}= Get Attribute //*[@name="Street Data"] id
${chk1strow}= Get Text id=${colid}-0
Should Be Equal As Strings ${datacell0} ${chk1strow}
Expand Down
6 changes: 6 additions & 0 deletions Regression_Tests/TestDataTable-GUI_Browser_webkit.robot
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ Import Data From File
${chknewhdr}= Get Text id=preview-c0
Should Be Equal As Strings ${newhdr} ${newhdr}
Take Screenshot

${old_timeout} = Set Browser Timeout 5 minutes

Click "Import"
# Wait Until Element Is Visible id=dialog-progress-bar
Wait Until Element Is Visible id=dialog-progress-subject
Expand All @@ -251,6 +254,9 @@ Import Data From File
Wait Until Element Is Not Visible id=dialog-progress-subject
Wait Until Element Is Visible //*[@name="Street Data"]
Take Screenshot

Set Browser Timeout ${old_timeout}

${colid}= Get Attribute //*[@name="Street Data"] id
${chk1strow}= Get Text id=${colid}-0
Should Be Equal As Strings ${datacell0} ${chk1strow}
Expand Down

0 comments on commit 021a8a2

Please sign in to comment.