diff --git a/tests/e2e/support/objects/app-files/spaces/actions.ts b/tests/e2e/support/objects/app-files/spaces/actions.ts index 5d08f54a475..5c08e5e8f3f 100644 --- a/tests/e2e/support/objects/app-files/spaces/actions.ts +++ b/tests/e2e/support/objects/app-files/spaces/actions.ts @@ -9,18 +9,18 @@ const newSpaceMenuButton = '#new-space-menu-btn' const spaceNameInputField = '.oc-modal input' const actionConfirmButton = '.oc-modal-body-actions-confirm' const spaceIdSelector = `[data-space-id="%s"]` -const spacesRenameOptionSelector = '.oc-files-actions-rename-trigger' -const editSpacesSubtitleOptionSelector = '.oc-files-actions-edit-description-trigger' -const editQuotaOptionSelector = '.oc-files-actions-edit-quota-trigger' -const editImageOptionSelector = '.oc-files-actions-upload-space-image-trigger' +const spacesRenameOptionSelector = '.oc-files-actions-rename-trigger:visible' +const editSpacesSubtitleOptionSelector = '.oc-files-actions-edit-description-trigger:visible' +const editQuotaOptionSelector = '.oc-files-actions-edit-quota-trigger:visible' +const editImageOptionSelector = '.oc-files-actions-upload-space-image-trigger:visible' const spacesQuotaSearchField = '.oc-modal .vs__search' const selectedQuotaValueField = '.vs--open' const quotaValueDropDown = `.vs__dropdown-option :text-is("%s")` -const editSpacesDescription = '.oc-files-actions-edit-readme-content-trigger' +const editSpacesDescription = '.oc-files-actions-edit-readme-content-trigger:visible' const spacesDescriptionInputArea = '#description-input-area' const sideBarActions = '//ul[@id="oc-files-actions-sidebar"]//span[@class="oc-files-context-action-label"]' -const spaceDeletedFilesButton = '.oc-files-actions-delete-trigger' +const spaceDeletedFilesButton = '.oc-files-actions-delete-trigger:visible' const spaceContextButton = '#space-context-btn' /**/