-
Notifications
You must be signed in to change notification settings - Fork 0
/
e2e.env
63 lines (54 loc) · 3.31 KB
/
e2e.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# This file contains declarations of environment variables that are used to
# configure the E2E test suite.
#
# The documentation can be found here:
# https://github.com/Plutonomicon/cardano-transaction-lib/blob/develop/doc/e2e-testing.md
export E2E_TESTS="
# The following test is using CIP-30 mock. It references private keys which correspond to
# addr_test1qz4fcrdru8scms07fw5ztljq84jhmfv9eqf04rhx79kd66k264fzzl5qr7nr7rsz0mupy7wqgs8tg44tgx605mlmf4dss0agmx
# address. Fund it with tAda as needed using the faucet.
# It is recommended to replace these private keys with your own to lower the
# possibility of problems caused by concurrent spending with other users.
# CTL team cannot guarantee that the default address will always have funds on
# the public testnet.
# TAG: E2E-CONTRACT-NAMES
http://localhost:4008/?nami-mock:Print-PubKey:58200b07c066ba037344acee5431e6df41f6034bf1c5ffd6f803751e356807c6a209:5820f0db841df6c7fbc4506c58fad6676db0354a02dfd26efca445715a8adeabc338
http://localhost:4008/?nami-mock:Mint-Burn:58200b07c066ba037344acee5431e6df41f6034bf1c5ffd6f803751e356807c6a209:5820f0db841df6c7fbc4506c58fad6676db0354a02dfd26efca445715a8adeabc338
http://localhost:4008/?nami-mock:Lock-Unlock:58200b07c066ba037344acee5431e6df41f6034bf1c5ffd6f803751e356807c6a209:5820f0db841df6c7fbc4506c58fad6676db0354a02dfd26efca445715a8adeabc338
plutip:http://localhost:4008/?plutip-nami-mock:Print-PubKey
plutip:http://localhost:4008/?plutip-nami-mock:Mint-Burn
plutip:http://localhost:4008/?plutip-nami-mock:Lock-Unlock
# These tests use real wallets
# and fail without wallets setup
# nami:http://localhost:4008/?nami:Print-PubKey
# gero:http://localhost:4008/?gero:Print-PubKey
# lode:http://localhost:4008/?lode:Print-PubKey
# eternl:http://localhost:4008/?eternl:Print-PubKey
"
# Chromium from snap can't access /tmp
if [[ "$(which chromium)" =~ "/snap/bin/" ]]; then
export E2E_TMPDIR=./tmp;
fi;
export E2E_TEST_TIMEOUT=200
export E2E_BROWSER=chromium
export E2E_NO_HEADLESS=false
export E2E_SETTINGS_ARCHIVE_URL="https://github.com/mlabs-haskell/ctl-e2e-assets/releases/download/preview-1/preview-settings.tar.gz"
export E2E_SETTINGS_ARCHIVE=test-data/settings.tar.gz
export E2E_CHROME_USER_DATA="test-data/chrome-user-data"
export E2E_EXTRA_BROWSER_ARGS="--disable-web-security" # Bypass CORS for Kupo
export ETERNL_CRX="test-data/preview/extensions/eternl.crx"
export ETERNL_CRX_URL="https://github.com/mlabs-haskell/ctl-e2e-assets/releases/download/preview-1/preview-eternl-1.9.7_0.crx"
export ETERNL_PASSWORD=ctlctlctlctl
export ETERNL_EXTID=kmhcihpebfmpgmihbkipmjlmmioameka
export LODE_CRX="test-data/preview/extensions/lode.crx"
export LODE_CRX_URL="https://github.com/mlabs-haskell/ctl-e2e-assets/releases/download/preview-1/preview-lode-1.0.1.1_0.crx"
export LODE_PASSWORD=ctlctlctl
export LODE_EXTID=glajohhncdfhgdjglmfnoijpdibocada
export NAMI_CRX="test-data/preview/extensions/nami.crx"
export NAMI_CRX_URL="https://github.com/mlabs-haskell/ctl-e2e-assets/releases/download/preview-1/preview-nami-3.4.1_0.crx"
export NAMI_PASSWORD=ctlctlctl
export NAMI_EXTID=lpfcbjknijpeeillifnkikgncikgfhdo
export GERO_CRX="test-data/preview/extensions/gero.crx"
export GERO_CRX_URL="https://github.com/mlabs-haskell/ctl-e2e-assets/releases/download/preview-1/preview-gero-1.11.3.crx"
export GERO_PASSWORD=VZVfu5rp1rVZVfu5rp1r
export GERO_EXTID=cppfbkadpmmnaipjplgkklipidihadbm