@bigbinary/neeto-playwright-commons 1.18.1 → 1.18.2

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 CHANGED
@@ -737,6 +737,26 @@ const THEMES_SELECTORS = {
737
737
  introPageThemeStyle: (styleType) => `intro-page-theme-style-${neetoCist.hyphenate(styleType)}`,
738
738
  };
739
739
 
740
+ const ADMIN_PANEL_SELECTORS = {
741
+ settingsItemHeading: "settings-item-heading",
742
+ settingsItemDescription: "settings-item-description",
743
+ expiryDateInput: "expiry-date-input",
744
+ };
745
+ const CUSTOM_DOMAIN_SELECTORS = {
746
+ addCustomDomainButton: "add-new-custom-domain-button",
747
+ customDomainInputField: "custom-domain-input-field",
748
+ submitCustomDomainButton: "submit-custom-domain-button",
749
+ customDomainValidateButton: "validate-domain-button",
750
+ editCustomDomainButton: "edit-custom-domain-button",
751
+ deleteCustomDomainButton: "delete-custom-domain-button",
752
+ dropdownButton: "custom-domains-more-dropdown-button",
753
+ };
754
+ const API_KEYS_SELECTORS = {
755
+ editApiKeyButton: "api-key-edit-button",
756
+ deleteApiKeyButton: "api-key-delete-button",
757
+ addApiKeyButton: "add-api-key-button",
758
+ };
759
+
740
760
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
741
761
 
742
762
  function getDefaultExportFromCjs (x) {
@@ -21223,26 +21243,6 @@ const i18nFixture = {
21223
21243
  ],
21224
21244
  };
21225
21245
 
21226
- const ADMIN_PANEL_SELECTORS = {
21227
- settingsItemHeading: "settings-item-heading",
21228
- settingsItemDescription: "settings-item-description",
21229
- expiryDateInput: "expiry-date-input",
21230
- };
21231
- const CUSTOM_DOMAIN_SELECTORS = {
21232
- addCustomDomainButton: "add-new-custom-domain-button",
21233
- customDomainInputField: "custom-domain-input-field",
21234
- submitCustomDomainButton: "submit-custom-domain-button",
21235
- customDomainValidateButton: "validate-domain-button",
21236
- moreDropdownButton: "custom-domains-more-dropdown-button",
21237
- editCustomDomainButton: "edit-custom-domain-button",
21238
- deleteCustomDomainButton: "delete-custom-domain-button",
21239
- };
21240
- const API_KEYS_SELECTORS = {
21241
- editApiKeyButton: "api-key-edit-button",
21242
- deleteApiKeyButton: "api-key-delete-button",
21243
- addApiKeyButton: "add-api-key-button",
21244
- };
21245
-
21246
21246
  class AdminPanelPage {
21247
21247
  constructor(page, neetoPlaywrightUtilities) {
21248
21248
  this.verifyAdminPanelCard = ({ cardLocator, title, description, }) => Promise.all([
@@ -25492,7 +25492,7 @@ class CustomDomainPage {
25492
25492
  ]);
25493
25493
  };
25494
25494
  this.deleteCustomDomainViaUI = async () => {
25495
- await this.page.getByTestId(COMMON_SELECTORS.dropdownIcon).click();
25495
+ await this.page.getByTestId(CUSTOM_DOMAIN_SELECTORS.dropdownButton).click();
25496
25496
  await this.page
25497
25497
  .getByTestId(CUSTOM_DOMAIN_SELECTORS.deleteCustomDomainButton)
25498
25498
  .click();
@@ -158965,6 +158965,8 @@ const definePlaywrightConfig = (overrides) => {
158965
158965
  });
158966
158966
  };
158967
158967
 
158968
+ exports.ADMIN_PANEL_SELECTORS = ADMIN_PANEL_SELECTORS;
158969
+ exports.API_KEYS_SELECTORS = API_KEYS_SELECTORS;
158968
158970
  exports.API_ROUTES = API_ROUTES;
158969
158971
  exports.AUDIT_LOGS_TEXTS = AUDIT_LOGS_TEXTS;
158970
158972
  exports.AdminPanelPage = AdminPanelPage;
@@ -158978,6 +158980,7 @@ exports.COLOR = COLOR;
158978
158980
  exports.COMMON_SELECTORS = COMMON_SELECTORS;
158979
158981
  exports.COMMON_TEXTS = COMMON_TEXTS;
158980
158982
  exports.CREDENTIALS = CREDENTIALS;
158983
+ exports.CUSTOM_DOMAIN_SELECTORS = CUSTOM_DOMAIN_SELECTORS;
158981
158984
  exports.CustomCommands = CustomCommands;
158982
158985
  exports.CustomDomainsPage = CustomDomainPage;
158983
158986
  exports.DATE_TEXTS = DATE_TEXTS;