-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gui improvements 08 11 23 #3432
Conversation
…aled cluster parameters to false)
Signed-off-by: Yulia Kamyshova <[email protected]>
@@ -192,7 +192,8 @@ public void rerunPipelineWithoutLimitMounts() { | |||
.ensure(LIMIT_MOUNTS, text("All available non-sensitive storages")) | |||
.launch(this) | |||
.showLog(getLastRunId()) | |||
.ensureNotVisible(PARAMETERS) | |||
.expandTab(PARAMETERS) | |||
.ensureParameterIsNotPresent("CP_CAP_LIMIT_MOUNTS") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we extract "CP_CAP_LIMIT_MOUNTS" to constant and replace this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -18,6 +18,7 @@ | |||
import static com.codeborne.selenide.Selectors.byClassName; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean up the unused import statements, please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
.uploadFile(getFile(launchScript)) | ||
.ensure(byText(launchScript), visible); | ||
sleep(20, SECONDS); | ||
// sleep(20, SECONDS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be cleaned?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -142,15 +146,15 @@ public void userAuthenticationUnsuccessfulAttempt() { | |||
.switchToSystemLogs(); | |||
if (impersonateMode()) { | |||
systemLogsAO | |||
.filterByUser(admin.login) | |||
.filterByField("User", admin.login) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's extract "User" to constant and replace its everywhere
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -461,6 +461,7 @@ public static By parameterWithName(final String name, final String value) { | |||
".//td[contains(., '%s')]]", name, value)); | |||
} | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could be cleaned up?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -196,6 +199,18 @@ public PipelineCodeTabAO shouldContainFile(final String fileName) { | |||
return this; | |||
} | |||
|
|||
public PipelineCodeTabAO waitUntilSaveEnding() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be private
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -15,7 +15,9 @@ | |||
*/ | |||
package com.epam.pipeline.autotests.ao; | |||
|
|||
import static com.codeborne.selenide.Condition.exist; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean up the unused import statements, please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
import com.codeborne.selenide.SelenideElement; | ||
import static com.epam.pipeline.autotests.utils.C.DEFAULT_TIMEOUT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Clean up the unused import statements, please
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -50,6 +53,7 @@ public PipelineSelection(final Configuration parentAO) { | |||
|
|||
public PipelineSelection selectPipeline(final String pipeline) { | |||
this.pipeline = pipeline; | |||
context().$(className("ant-table-content")).waitUntil(exist, DEFAULT_TIMEOUT); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this to be extracted to TABLE primitive?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
return $(filterBy("Message")).$(byXpath("./input")) | ||
.getAttribute("value"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could this be better to extract filters to primitives?
…gui_improvements_08-11-23
Signed-off-by: Yulia Kamyshova <[email protected]>
The PR provides updates:
Price cannot be estimated
case handling