Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions lib/helpers/ContentUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,31 +501,31 @@ export class ContentUiHelper extends UiBaseLocators {
}

async waitForContentToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForContentToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForContentToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForDomainToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForDomainToBeUpdated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForDomainToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForContentToBeTrashed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async clickDocumentTypeByName(documentTypeName: string) {
Expand Down Expand Up @@ -1675,11 +1675,11 @@ export class ContentUiHelper extends UiBaseLocators {
}

async waitForContentToBePublished() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForRecycleBinToBeEmptied() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async clearTipTapEditor() {
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/DataTypeUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ export class DataTypeUiHelper extends UiBaseLocators {
}

async waitForDataTypeToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async isDataTypeTreeItemVisible(name: string, isVisible: boolean = true) {
Expand All @@ -375,11 +375,11 @@ export class DataTypeUiHelper extends UiBaseLocators {
}

async waitForDataTypeToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForDataTypeToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async clickNewDataTypeButton() {
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/DictionaryUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ export class DictionaryUiHelper extends UiBaseLocators {
}

async waitForDictionaryToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForDictionaryToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForDictionaryToBeImported() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async deleteDictionary() {
Expand Down
4 changes: 2 additions & 2 deletions lib/helpers/DocumentBlueprintUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export class DocumentBlueprintUiHelper extends UiBaseLocators{
}

async waitForDocumentBlueprintToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForDocumentBlueprintToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async reloadDocumentBlueprintsTree() {
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/DocumentTypeUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ export class DocumentTypeUiHelper extends UiBaseLocators {
}

async waitForDocumentTypeToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForDocumentTypeToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForDocumentTypeToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async enterDocumentTypeName(documentTypeName: string) {
Expand Down
4 changes: 2 additions & 2 deletions lib/helpers/LanguageUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ export class LanguageUiHelper extends UiBaseLocators {
}

async waitForLanguageToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForLanguageToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async removeFallbackLanguageByIsoCode(isoCode: string) {
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/MediaTypeUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ export class MediaTypeUiHelper extends UiBaseLocators {
}

async waitForMediaTypeToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForMediaTypeToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForMediaTypeToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}


Expand Down
8 changes: 4 additions & 4 deletions lib/helpers/MediaUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,19 +91,19 @@ export class MediaUiHelper extends UiBaseLocators {
}

async waitForMediaToBeTrashed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForRecycleBinToBeEmptied() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForMediaToBeMoved() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForMediaItemToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async deleteMediaItem(name: string) {
Expand Down
4 changes: 2 additions & 2 deletions lib/helpers/MemberGroupUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ export class MemberGroupUiHelper extends UiBaseLocators {
}

async waitForMemberGroupToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForMemberGroupToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async goToMemberGroups() {
Expand Down
4 changes: 2 additions & 2 deletions lib/helpers/MemberUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ export class MemberUiHelper extends UiBaseLocators {
}

async waitForMemberToBeCreated(){
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForMemberToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async goToMembers() {
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/PartialViewUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ export class PartialViewUiHelper extends UiBaseLocators {
}

async waitForPartialViewToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForPartialViewToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForPartialViewToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async clickNewEmptyPartialViewButton() {
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/ScriptUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ export class ScriptUiHelper extends UiBaseLocators{
}

async waitForScriptToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForScriptToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForScriptToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

// Will only work for root scripts
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/StylesheetUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ export class StylesheetUiHelper extends UiBaseLocators{
}

async waitForStylesheetToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForStylesheetToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForStylesheetToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async enterStylesheetName(stylesheetName: string) {
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/TemplateUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ export class TemplateUiHelper extends UiBaseLocators {
}

async waitForTemplateToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForTemplateToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForTemplateToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async goToTemplate(templateName: string, childTemplateName: string = '') {
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/UserGroupUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,15 @@ export class UserGroupUiHelper extends UiBaseLocators {
}

async waitForUserGroupToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForUserGroupToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForUserGroupToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async clickCreateUserGroupButton() {
Expand Down
6 changes: 3 additions & 3 deletions lib/helpers/UserUiHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,15 @@ export class UserUiHelper extends UiBaseLocators {
}

async waitForUserToBeCreated() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForUserToBeDeleted() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async waitForUserToBeRenamed() {
await this.waitForNetworkToBeIdle();
await this.page.waitForLoadState();
}

async clickAddUserGroupsButton() {
Expand Down
Loading