aboutsummaryrefslogtreecommitdiff
path: root/playwright.config.js
diff options
context:
space:
mode:
authorDarius Jahandarie <djahandarie@gmail.com>2023-11-02 13:09:40 +0000
committerGitHub <noreply@github.com>2023-11-02 13:09:40 +0000
commitcaccc2feb6fdfd271e89b3f0a9a3f9c1cf5ff012 (patch)
tree0397ee020cddc4cec060a04dfcddc0ae45d07a87 /playwright.config.js
parent092d1beac6c1af8eae8615d541434513e875b4a5 (diff)
parent193437fed0f4ee756fd62902947afce54f54dfe6 (diff)
Merge pull request #299 from jbukl/pw-search-anki
search.html clipboard monitor, Anki add note Playwright tests
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']
}
// {