Skip to content

Add helper: for workspace view#298

Merged
nhudinh0309 merged 6 commits intov16/devfrom
v16/add/helper-for-workspace-view
Oct 13, 2025
Merged

Add helper: for workspace view#298
nhudinh0309 merged 6 commits intov16/devfrom
v16/add/helper-for-workspace-view

Conversation

@NguyenThuyLan
Copy link
Contributor

I added isWorkspaceViewTabWithAliasVisible helper for workspace view custom on document and media

Copy link
Contributor

@nhudinh0309 nhudinh0309 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had some comments. And don't forget to bumped version of test helper.

await this.mediaTreeItem.getByText(mediaName, {exact: true}).click();
}

async isWorkspaceViewTabWithAliasVisible(alias: string, isVisible: boolean = true) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this function is used in both Content and Media, you should declare it in UiBaseLocator to avoid code duplication.

@nhudinh0309
Copy link
Contributor

LGTM

@nhudinh0309 nhudinh0309 merged commit ce5c7a2 into v16/dev Oct 13, 2025
andr317c added a commit that referenced this pull request Nov 3, 2025
* Add helper: for property action, dashboard (#294)

* Add helper for property action

* add dashboard helper

* Update lib/helpers/UiBaseLocators.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* Bumped version

---------

Co-authored-by: Lan Nguyen Thuy <lnt@umbraco.dk>
Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>
Co-authored-by: Nhu Dinh <hnd@umbraco.dk>

* Add helper: for block custom view (#299)

* add helper for block custom view

* Update lib/helpers/ContentUiHelper.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* Update lib/helpers/ContentUiHelper.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* Update lib/helpers/ContentUiHelper.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* Update lib/helpers/ContentUiHelper.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* Update lib/helpers/ContentUiHelper.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* Update lib/helpers/DataTypeApiHelper.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* change locator

* Fix parameter name

* add verson and format code

* fix conflict

---------

Co-authored-by: Lan Nguyen Thuy <lnt@umbraco.dk>
Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* Add helper: for workspace view (#298)

* Add helper: for workspace view

* Update lib/helpers/ContentUiHelper.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* move method into UiBaseLocators

* update version

---------

Co-authored-by: Lan Nguyen Thuy <lnt@umbraco.dk>
Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* V16: Updates Language menu label locator (#300)

* Language menu locate exact label text

This is to support PR umbraco/Umbraco-CMS#20458

* Bump version number

* add new version (#302)

Co-authored-by: Lan Nguyen Thuy <lnt@umbraco.dk>

* V16 Cherrypick changes from 17 (#311)

* Updated helpers

* Bumped version

* Add helper: for custom collection view (#313)

* add helper for custom collection view

* Update lib/helpers/ContentUiHelper.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* Update lib/helpers/ContentUiHelper.ts

Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* update some names

---------

Co-authored-by: Lan Nguyen Thuy <lnt@umbraco.dk>
Co-authored-by: Nhu Dinh <150406148+nhudinh0309@users.noreply.github.com>

* V16 reverted updates from 17 (#314)

* Updated helpers

* Bumped version

---------

Co-authored-by: NguyenThuyLan <116753400+NguyenThuyLan@users.noreply.github.com>
Co-authored-by: Lan Nguyen Thuy <lnt@umbraco.dk>
Co-authored-by: Lee Kelleher <leekelleher@users.noreply.github.com>
Co-authored-by: Andreas Zerbst <73799582+andr317c@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants