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

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