Skip to content

Commit 5d37992

Browse files
committed
fix: playwright tests not working in mac. still getting stuck in mac though runs now
1 parent d0f1e32 commit 5d37992

File tree

4 files changed

+50
-20
lines changed

4 files changed

+50
-20
lines changed

docs/generatedApiDocs/widgets/NotificationUI-API.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,11 @@ Type: [function][3]
128128

129129
* `title` **[string][4]** The title for the notification.
130130
* `template` **([string][4] | [Element][5])** A string template or HTML Element to use as the dialog HTML.
131-
* `options` **{dismissOnClick, autoCloseTimeS}?** optional, supported* options are:
131+
* `options` **{dismissOnClick, autoCloseTimeS, toastStyle}?** optional, supported* options are:
132132
* `autoCloseTimeS` - Time in seconds after which the notification should be auto closed. Default is never.
133-
* `dismissOnClick` - when clicked, the notification is closed. Default is true(dismiss). (optional, default `{}`)
133+
* `dismissOnClick` - when clicked, the notification is closed. Default is true(dismiss).
134+
* `toastStyle` - To style the toast notification for error, warning, info etc. Can be
135+
one of `NotificationUI.NOTIFICATION_STYLES_CSS_CLASS.*` or your own css class name. (optional, default `{}`)
134136

135137
### Examples
136138

package-lock.json

Lines changed: 42 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@commitlint/cli": "^16.0.2",
1717
"@commitlint/config-conventional": "^16.0.0",
1818
"@google-cloud/translate": "^7.0.3",
19-
"@playwright/test": "^1.30.0",
19+
"@playwright/test": "^1.33.0",
2020
"del": "^6.0.0",
2121
"documentation": "^13.2.5",
2222
"eslint": "^8.18.0",
@@ -99,4 +99,4 @@
9999
"tinycolor2": "^1.4.2",
100100
"underscore": "^1.13.4"
101101
}
102-
}
102+
}

playwright.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ const config = {
101101
/* Run your local dev server before starting the tests */
102102
webServer: {
103103
command: "npm run serveTest",
104-
port: 5000
104+
port: 5000,
105+
reuseExistingServer: true
105106
}
106107
};
107108

0 commit comments

Comments
 (0)