@bigbinary/neeto-playwright-commons 1.3.1 → 1.4.0

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.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  import * as _playwright_test from '@playwright/test';
2
2
  import { Page, APIRequestContext, Response, APIResponse, Fixtures, PlaywrightWorkerArgs, PlaywrightWorkerOptions, PlaywrightTestArgs, PlaywrightTestOptions } from '@playwright/test';
3
- import * as playwright_test from 'playwright/test';
4
- import * as playwright_i18next_fixture from 'playwright-i18next-fixture';
3
+ import { I18nPlaywrightFixture } from 'playwright-i18next-fixture';
5
4
 
6
5
  interface InterceptMultipleResponsesParams {
7
6
  responseUrl: string;
@@ -68,7 +67,7 @@ declare const generateStagingData: (product?: string) => {
68
67
  email: string;
69
68
  };
70
69
 
71
- declare const i18nFixture: playwright_test.Fixtures<playwright_i18next_fixture.I18nPlaywrightFixture, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions, playwright_test.PlaywrightTestArgs & playwright_test.PlaywrightTestOptions, playwright_test.PlaywrightWorkerArgs & playwright_test.PlaywrightWorkerOptions>;
70
+ declare const i18nFixture: Fixtures<I18nPlaywrightFixture, PlaywrightWorkerArgs & PlaywrightWorkerOptions, PlaywrightTestArgs & PlaywrightTestOptions, PlaywrightWorkerArgs & PlaywrightWorkerOptions>;
72
71
 
73
72
  interface CreateOrganizationProps {
74
73
  email: string;
@@ -349,14 +348,13 @@ declare const readFileSyncIfExists: ReadFileSyncIfExists;
349
348
  declare const writeDataToFile: WriteDataToFile;
350
349
  declare const updateCredentials: UpdateCredentials;
351
350
  declare const clearCredentials: ClearCredentials;
352
- declare const readTranslations: () => Record<string, unknown>;
353
351
  declare const hyphenize: Hyphenize;
354
352
  declare const joinHyphenCase: JoinHyphenCase;
355
353
 
356
354
  interface LoginProps {
357
355
  page: Page;
358
356
  neetoPlaywrightUtilities: CustomCommands;
359
- loginPath: string;
357
+ loginPath?: string;
360
358
  }
361
359
  declare const loginWithoutSSO: ({ page, neetoPlaywrightUtilities, loginPath, }: LoginProps) => Promise<void>;
362
360
  declare const login: ({ page, neetoPlaywrightUtilities, loginPath, }: LoginProps) => Promise<false | void>;
@@ -372,4 +370,4 @@ interface Overrides {
372
370
  }
373
371
  declare const definePlaywrightConfig: (overrides: Overrides) => _playwright_test.PlaywrightTestConfig<{}, {}>;
374
372
 
375
- export { BASE_URL, CHAT_WIDGET_SELECTORS, COMMON_SELECTORS, CREDENTIALS, CustomCommands, type CustomFixture, ENVIRONMENT, GLOBAL_TRANSLATIONS_PATTERN, HELP_CENTER_SELECTORS, IS_STAGING_ENV, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MERGE_TAGS_SELECTORS, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, OrganizationPage, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, SIGNUP_SELECTORS, STORAGE_STATE, TAGS_SELECTORS, clearCredentials, commands, definePlaywrightConfig, generateStagingData, hyphenize, i18nFixture, initializeCredentials, joinHyphenCase, joinString, login, loginWithoutSSO, readFileSyncIfExists, readTranslations, updateCredentials, writeDataToFile };
373
+ export { BASE_URL, CHAT_WIDGET_SELECTORS, COMMON_SELECTORS, CREDENTIALS, CustomCommands, type CustomFixture, ENVIRONMENT, GLOBAL_TRANSLATIONS_PATTERN, HELP_CENTER_SELECTORS, IS_STAGING_ENV, LOGIN_SELECTORS, MEMBER_FORM_SELECTORS, MEMBER_SELECTORS, MERGE_TAGS_SELECTORS, NEETO_EDITOR_SELECTORS, NEETO_FILTERS_SELECTORS, OrganizationPage, PROJECT_TRANSLATIONS_PATH, ROLES_SELECTORS, ROUTES, SIGNUP_SELECTORS, STORAGE_STATE, TAGS_SELECTORS, clearCredentials, commands, definePlaywrightConfig, generateStagingData, hyphenize, i18nFixture, initializeCredentials, joinHyphenCase, joinString, login, loginWithoutSSO, readFileSyncIfExists, updateCredentials, writeDataToFile };