|
@@ -59,7 +59,7 @@ public class HomePage extends Method {
|
|
|
private String skipPage(By morePolicyBtn, By title) {
|
|
|
assertText=find(morePolicyBtn).getText();
|
|
|
mouseClickElement(morePolicyBtn);
|
|
|
- waitText(title, assertText);
|
|
|
+// waitText(title, assertText);
|
|
|
String text = find(title).getText();
|
|
|
enterHomePage();
|
|
|
return text;
|
|
@@ -69,7 +69,6 @@ public class HomePage extends Method {
|
|
|
public String skipProjectDetail(PolicyFileDetailPage policyFileDetailPage){
|
|
|
return skipPage(projectTitle, policyFileDetailPage.projectTitle);
|
|
|
}
|
|
|
-
|
|
|
//跳转政策专题
|
|
|
public String skipPolicySubject(PolicySubjectPage policySubjectPage){
|
|
|
return skipPage(policySubjec, policySubjectPage.policySubjectTitle);
|