Gabriel Horner 56b58566be Basic example using browser with test ns and test runner cleanly split преди 3 години
..
.gitignore 56b58566be Basic example using browser with test ns and test runner cleanly split преди 3 години
README.md 56b58566be Basic example using browser with test ns and test runner cleanly split преди 3 години
basic.spec.ts 5ce66ac215 test(e2e): add test case for #3944 преди 3 години
code-editing.spec.ts d18d2f24ca fix e2e tests преди 3 години
dnd.spec.ts d985501186 test(e2e): add drag and drop test skeleton преди 3 години
editor.spec.ts 4ea3d6eef8 fix: replace-block-reference-with-content-at-point not working преди 3 години
fixtures.ts 6aba8c3241 Improve long page editing performance (#3855) преди 3 години
hotkey.spec.ts 0f650741a8 fix(test): unused imports преди 3 години
package.json 56b58566be Basic example using browser with test ns and test runner cleanly split преди 3 години
page-rename.spec.ts 541a2ccd50 test(e2e): add test for favorite and recent items преди 3 години
page-search.spec.ts 541a2ccd50 test(e2e): add test for favorite and recent items преди 3 години
sidebar.spec.ts 2106a3ec44 test(e2e): add test case for #4320 преди 3 години
srs_test.cljs 56b58566be Basic example using browser with test ns and test runner cleanly split преди 3 години
test_runner.cljs 56b58566be Basic example using browser with test ns and test runner cleanly split преди 3 години
utils.ts 2106a3ec44 test(e2e): add test case for #4320 преди 3 години

README.md

Description

This demonstrates running playwright tests with https://github.com/babashka/nbb.

Note: This only runs example browser tests. There is more work to run a basic electron test

Setup

Install dependencies: yarn install

Usage

Run tests: yarn nbb -m test-runner

Run headless tests: CI=1 yarn nbb -m test-runner

nbb supports repl driven development. See yarn nbb -h for different ways to start a repl. See links below for examples of repl usage.

Links