-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add playwright for e2e tests (#828)
* test: add playwright for e2e tests fix :#688 * test: add gallery search/module addition * test: fix gallery item locator * test: add waitUntilModVReady function * test: refactor waitUntilModVReady to reduce promise creation * test: refactor waitUntilModVReady to remove useless else * test: refactor waitUntilModVReady to remove useless if * test: tidy up * test: add preset generation test * test: add evaluateWorkerState * test: add new group test * test: fix typo * test: add test:e2e script to package.json * test: split group tests into their own file * test: add group enabled toggle test * test: improve backspace removes focused group * test: add group clearing and pipeline tests * test: add inheritance test * test: add alpha state test * test: add blend mode test * refactor: remove console.log * test: add group name test * test: consolidate name locators * test: add group rearrangement test * test: tidy up * test: fix scope * test: add input link test * test: split up test files to avoid worker overlap * test: remove unneeded reload and wait * test: remove useless code * test: remove unused deps * fix: update title to name and fix keyboard event * test: significantly speed up tests on slower machines * test: remove page.waitForTimeout
- Loading branch information
Showing
39 changed files
with
1,044 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { defineConfig, expect } from "@playwright/test"; | ||
import extensions from "./tests/e2e/extentions"; | ||
|
||
expect.extend(extensions); | ||
|
||
export default defineConfig({ | ||
testDir: "./tests/e2e/spec", | ||
workers: process.env.CI ? 1 : 2 | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.