Fix tests for pages (#3660)
This commit is contained in:
parent
21e0be5109
commit
14ee7dc054
2 changed files with 0 additions and 5 deletions
|
@ -164,7 +164,6 @@ describe("Tests for pages", () => {
|
||||||
.get(PAGE_DETAILS_SELECTORS.nameInput)
|
.get(PAGE_DETAILS_SELECTORS.nameInput)
|
||||||
.clear()
|
.clear()
|
||||||
.type(updatedName)
|
.type(updatedName)
|
||||||
// .clearAndType(updatedName)
|
|
||||||
.get(PAGE_DETAILS_SELECTORS.isNotPublishedCheckbox)
|
.get(PAGE_DETAILS_SELECTORS.isNotPublishedCheckbox)
|
||||||
.click()
|
.click()
|
||||||
.addAliasToGraphRequest("PageUpdate")
|
.addAliasToGraphRequest("PageUpdate")
|
||||||
|
|
|
@ -78,10 +78,6 @@ function openCreatePageAndFillUpGeneralFields({
|
||||||
if (!isPublished) {
|
if (!isPublished) {
|
||||||
cy.get(PAGE_DETAILS_SELECTORS.isNotPublishedCheckbox).click();
|
cy.get(PAGE_DETAILS_SELECTORS.isNotPublishedCheckbox).click();
|
||||||
}
|
}
|
||||||
cy.fillAutocompleteSelect(
|
|
||||||
PAGE_DETAILS_SELECTORS.pageTypesAutocompleteSelect,
|
|
||||||
pageTypeName,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function savePage() {
|
function savePage() {
|
||||||
|
|
Loading…
Reference in a new issue