mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Merge pull request #2788 from zhhl/2640-nightlyTimeoutIssue
2640: Pass a full title name to WinzardOperator instead of a partial …
This commit is contained in:
commit
ca7479c6bb
@ -105,7 +105,7 @@ public class AutopsyTestCases {
|
|||||||
|
|
||||||
public void testStartAddImageFileDataSource() {
|
public void testStartAddImageFileDataSource() {
|
||||||
logger.info("Starting Add Image process");
|
logger.info("Starting Add Image process");
|
||||||
WizardOperator wo = new WizardOperator("Add Data");
|
WizardOperator wo = new WizardOperator("Add Data Source");
|
||||||
//select the toggle button for Disk Image or VM File it will be the first button created and proceed to next panel
|
//select the toggle button for Disk Image or VM File it will be the first button created and proceed to next panel
|
||||||
JToggleButtonOperator jtbo = new JToggleButtonOperator(wo, 0);
|
JToggleButtonOperator jtbo = new JToggleButtonOperator(wo, 0);
|
||||||
jtbo.clickMouse();
|
jtbo.clickMouse();
|
||||||
@ -121,7 +121,7 @@ public class AutopsyTestCases {
|
|||||||
|
|
||||||
public void testStartAddLogicalFilesDataSource() {
|
public void testStartAddLogicalFilesDataSource() {
|
||||||
logger.info("Starting Add Logical Files process");
|
logger.info("Starting Add Logical Files process");
|
||||||
WizardOperator wo = new WizardOperator("Add Data");
|
WizardOperator wo = new WizardOperator("Add Data Source");
|
||||||
//select the toggle button for Logical Files it will be the third button created and proceed to next panel
|
//select the toggle button for Logical Files it will be the third button created and proceed to next panel
|
||||||
JToggleButtonOperator jtbo = new JToggleButtonOperator(wo, 2);
|
JToggleButtonOperator jtbo = new JToggleButtonOperator(wo, 2);
|
||||||
jtbo.clickMouse();
|
jtbo.clickMouse();
|
||||||
@ -137,7 +137,7 @@ public class AutopsyTestCases {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void testAddSourceWizard1() {
|
public void testAddSourceWizard1() {
|
||||||
WizardOperator wo = new WizardOperator("Add Data");
|
WizardOperator wo = new WizardOperator("Add Data Source");
|
||||||
while (!wo.btFinish().isEnabled()) {
|
while (!wo.btFinish().isEnabled()) {
|
||||||
new Timeout("pausing", 1000).sleep(); // give it a second (or five) to process
|
new Timeout("pausing", 1000).sleep(); // give it a second (or five) to process
|
||||||
}
|
}
|
||||||
@ -153,7 +153,7 @@ public class AutopsyTestCases {
|
|||||||
new Timeout("pausing", 10000).sleep();
|
new Timeout("pausing", 10000).sleep();
|
||||||
|
|
||||||
logger.info("Looking for hash lookup module in ingest job settings panel");
|
logger.info("Looking for hash lookup module in ingest job settings panel");
|
||||||
WizardOperator wo = new WizardOperator("Add Data");
|
WizardOperator wo = new WizardOperator("Add Data Source");
|
||||||
JTableOperator jto = new JTableOperator(wo, 0);
|
JTableOperator jto = new JTableOperator(wo, 0);
|
||||||
int row = jto.findCellRow("Hash Lookup", 2, 0);
|
int row = jto.findCellRow("Hash Lookup", 2, 0);
|
||||||
jto.clickOnCell(row, 1);
|
jto.clickOnCell(row, 1);
|
||||||
@ -199,7 +199,7 @@ public class AutopsyTestCases {
|
|||||||
|
|
||||||
public void testConfigureIngest2() {
|
public void testConfigureIngest2() {
|
||||||
logger.info("Looking for keyword search module in ingest job settings panel");
|
logger.info("Looking for keyword search module in ingest job settings panel");
|
||||||
WizardOperator wo = new WizardOperator("Add Data");
|
WizardOperator wo = new WizardOperator("Add Data Source");
|
||||||
JTableOperator jto = new JTableOperator(wo, 0);
|
JTableOperator jto = new JTableOperator(wo, 0);
|
||||||
int row = jto.findCellRow("Keyword Search", 2, 0);
|
int row = jto.findCellRow("Keyword Search", 2, 0);
|
||||||
jto.clickOnCell(row, 1);
|
jto.clickOnCell(row, 1);
|
||||||
@ -232,7 +232,7 @@ public class AutopsyTestCases {
|
|||||||
}
|
}
|
||||||
JButtonOperator jbo2 = new JButtonOperator(jdo, "OK", 0);
|
JButtonOperator jbo2 = new JButtonOperator(jdo, "OK", 0);
|
||||||
jbo2.pushNoBlock();
|
jbo2.pushNoBlock();
|
||||||
WizardOperator wo = new WizardOperator("Add Data");
|
WizardOperator wo = new WizardOperator("Add Data Source");
|
||||||
new Timeout("pausing", 10000).sleep(); // let things catch up
|
new Timeout("pausing", 10000).sleep(); // let things catch up
|
||||||
wo.btNext().clickMouse();
|
wo.btNext().clickMouse();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user