@bigbinary/neeto-playwright-commons 1.9.14 → 1.9.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs.js +2 -3
- package/index.cjs.js.map +1 -1
- package/index.d.ts +3 -2
- package/index.js +2 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -15372,7 +15372,6 @@ const TAGS_SELECTORS = {
|
|
|
15372
15372
|
metaDataCard: "metadata-card",
|
|
15373
15373
|
metaDataBlock: "metadata-block",
|
|
15374
15374
|
tagContainer: "tag-container",
|
|
15375
|
-
ticketTagsBreadcrumb: "ticket-tags-breadcrumb",
|
|
15376
15375
|
};
|
|
15377
15376
|
const MERGE_TAGS_SELECTORS = {
|
|
15378
15377
|
mergeTagsButton: "neeto-tags-merge-tags-button",
|
|
@@ -15474,7 +15473,7 @@ class TagsPage {
|
|
|
15474
15473
|
.filter({ hasText: tagName })
|
|
15475
15474
|
.click();
|
|
15476
15475
|
};
|
|
15477
|
-
this.mergeTagsViaUI = async ({ sourceTagName, destinationTagName, mergeTagsLabel, }) => {
|
|
15476
|
+
this.mergeTagsViaUI = async ({ sourceTagName, destinationTagName, mergeTagsLabel, tagsBreadcrumbLabel, }) => {
|
|
15478
15477
|
await this.searchAndSelect({
|
|
15479
15478
|
selector: MERGE_TAGS_SELECTORS.sourceSearchTextField,
|
|
15480
15479
|
tagName: sourceTagName,
|
|
@@ -15489,7 +15488,7 @@ class TagsPage {
|
|
|
15489
15488
|
await test$1.expect(this.page.getByTestId(COMMON_SELECTORS.modalHeader)).toHaveText(mergeTagsLabel);
|
|
15490
15489
|
await this.page.getByTestId(MERGE_TAGS_SELECTORS.proceedButton).click();
|
|
15491
15490
|
await this.neetoPlaywrightUtilities.verifySuccessToast();
|
|
15492
|
-
await this.page.getByTestId(
|
|
15491
|
+
await this.page.getByTestId(tagsBreadcrumbLabel).click();
|
|
15493
15492
|
await test$1.expect(this.page.getByText(sourceTagName)).toBeHidden();
|
|
15494
15493
|
await test$1.expect(this.page.getByText(destinationTagName)).toBeVisible();
|
|
15495
15494
|
};
|