summaryrefslogtreecommitdiff
path: root/playwright.config.js
diff options
context:
space:
mode:
authorjbukl <noreply@github.com>2023-10-31 22:06:14 -0400
committerjbukl <noreply@github.com>2023-11-01 22:56:56 -0400
commit5c45643772e6669dc9945c038ebf06c634b19b25 (patch)
treea98578de6eff76bd68b9539d9a84756103baa36e /playwright.config.js
parentd3c916b8f742ad62e98f65e18d0dcb8a96235828 (diff)
search, anki playwright tests
prep tests for cicd reorganize exports in playwright utils
Diffstat (limited to 'playwright.config.js')
-rw-r--r--playwright.config.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/playwright.config.js b/playwright.config.js
index 0f15ff59..11d79e72 100644
--- a/playwright.config.js
+++ b/playwright.config.js
@@ -62,8 +62,18 @@ module.exports = defineConfig({
/* Configure projects for major browsers */
projects: [
{
+ name: 'playwright setup',
+ testMatch: /global\.setup\.js/,
+ teardown: 'playwright teardown'
+ },
+ {
+ name: 'playwright teardown',
+ testMatch: /global\.teardown\.js/
+ },
+ {
name: 'chromium',
- use: {...devices['Desktop Chrome']}
+ use: {...devices['Desktop Chrome']},
+ dependencies: ['playwright setup']
}
// {