@bigbinary/neeto-playwright-commons 1.11.4 → 1.11.6
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 +3 -2
- package/index.cjs.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +3 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -3597,6 +3597,7 @@ class CustomCommands {
|
|
|
3597
3597
|
await test$1.expect(this.page.getByTestId(selectMenu)).toBeVisible({
|
|
3598
3598
|
timeout: options.visibilityTimeout,
|
|
3599
3599
|
});
|
|
3600
|
+
await this.page.keyboard.type(value);
|
|
3600
3601
|
await this.page
|
|
3601
3602
|
.getByTestId(selectMenu)
|
|
3602
3603
|
.getByText(value, { exact: true })
|
|
@@ -14755,8 +14756,8 @@ class OrganizationPage {
|
|
|
14755
14756
|
await submitProfile;
|
|
14756
14757
|
await test$1.expect(this.page.getByTestId(COMMON_SELECTORS.pageLoader)).toBeHidden();
|
|
14757
14758
|
};
|
|
14758
|
-
this.loginAndOnboard = async ({ email, firstName, lastName, country, handleOnboarding, }) => {
|
|
14759
|
-
await this.page.goto(ROUTES.admin);
|
|
14759
|
+
this.loginAndOnboard = async ({ email, firstName, lastName, country, handleOnboarding, baseURL = process.env.BASE_URL, }) => {
|
|
14760
|
+
await this.page.goto(`${baseURL}/${ROUTES.admin}`);
|
|
14760
14761
|
await this.loginViaSSO(email);
|
|
14761
14762
|
await this.setupProfile({ firstName, lastName, country });
|
|
14762
14763
|
await this.page.waitForURL(new RegExp(getGlobalUserState().domain), {
|