-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
test: fixed failing GitImport test #34589
Changes from 4 commits
d65dedd
3e8b677
778e485
99757bd
ccb27e7
2863573
b8e6020
70e9786
fb43559
0c886af
065fd18
dd32ca3
bb03949
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -74,7 +74,15 @@ Cypress.Commands.add("switchGitBranch", (branch, expectError) => { | |
Cypress.Commands.add("commitAndPush", (assertFailure) => { | ||
cy.get(homePage.publishButton).click(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. GetNClick please There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
agHelper.AssertElementExist(gitSync._bottomBarPull); | ||
cy.get(gitSyncLocators.commitCommentInput).type("Initial Commit"); | ||
agHelper.AssertElementVisibility(gitSyncLocators.gitSyncModal); | ||
cy.get(gitSyncLocators.commitCommentInput).should( | ||
"have.attr", | ||
"placeholder", | ||
"Your commit message here", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. please use message const here There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. btw why did you make change in this helper? @NandanAnantharamu There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it was waiting for the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. done |
||
); | ||
cy.get(gitSyncLocators.commitCommentInput).type("Initial Commit", { | ||
force: true, | ||
}); | ||
cy.get(gitSyncLocators.commitButton).click(); | ||
if (!assertFailure) { | ||
// check for commit success | ||
|
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.
revert this file please @NandanAnantharamu and run this on EE as well multiple times on last time