mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-02-20 00:33:07 +01:00
chore(ci): Updated tenv image
This commit is contained in:
committed by
Ondřej Hájek
parent
ed04a59d33
commit
07673539b7
@@ -39,5 +39,5 @@ jobs:
|
||||
|
||||
- name: Run e2e tests
|
||||
run: |
|
||||
docker run -d --network=host ghcr.io/trezor/trezor-user-env:52fc1535d962415ddc40fc452dc1739771d0d9d0
|
||||
docker run -d --network=host ghcr.io/trezor/trezor-user-env:e9411ccc936756438d4c60a1ab4d035a4648e6a2
|
||||
yarn workspace @trezor/trezor-user-env-link test:e2e
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
trezor-user-env-unix:
|
||||
image: ghcr.io/trezor/trezor-user-env:52fc1535d962415ddc40fc452dc1739771d0d9d0
|
||||
image: ghcr.io/trezor/trezor-user-env:e9411ccc936756438d4c60a1ab4d035a4648e6a2
|
||||
environment:
|
||||
- SDL_VIDEODRIVER=dummy
|
||||
- XDG_RUNTIME_DIR=/var/tmp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
trezor-user-env-unix:
|
||||
image: ghcr.io/trezor/trezor-user-env:52fc1535d962415ddc40fc452dc1739771d0d9d0
|
||||
image: ghcr.io/trezor/trezor-user-env:e9411ccc936756438d4c60a1ab4d035a4648e6a2
|
||||
environment:
|
||||
- SDL_VIDEODRIVER=dummy
|
||||
- XDG_RUNTIME_DIR=/var/tmp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
trezor-user-env-unix:
|
||||
image: ghcr.io/trezor/trezor-user-env:52fc1535d962415ddc40fc452dc1739771d0d9d0
|
||||
image: ghcr.io/trezor/trezor-user-env:e9411ccc936756438d4c60a1ab4d035a4648e6a2
|
||||
environment:
|
||||
- SDL_VIDEODRIVER=dummy
|
||||
- XDG_RUNTIME_DIR=/var/tmp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
trezor-user-env-unix:
|
||||
image: ghcr.io/trezor/trezor-user-env:52fc1535d962415ddc40fc452dc1739771d0d9d0
|
||||
image: ghcr.io/trezor/trezor-user-env:e9411ccc936756438d4c60a1ab4d035a4648e6a2
|
||||
environment:
|
||||
- SDL_VIDEODRIVER=dummy
|
||||
- XDG_RUNTIME_DIR=/var/tmp
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
services:
|
||||
trezor-user-env-unix:
|
||||
image: ghcr.io/trezor/trezor-user-env:52fc1535d962415ddc40fc452dc1739771d0d9d0
|
||||
image: ghcr.io/trezor/trezor-user-env:e9411ccc936756438d4c60a1ab4d035a4648e6a2
|
||||
environment:
|
||||
- DISPLAY=$DISPLAY
|
||||
- QT_X11_NO_MITSHM=1
|
||||
|
||||
@@ -2,7 +2,7 @@ services:
|
||||
trezor-user-env-unix:
|
||||
network_mode: "host"
|
||||
container_name: trezor-user-env.unix
|
||||
image: ghcr.io/trezor/trezor-user-env:52fc1535d962415ddc40fc452dc1739771d0d9d0
|
||||
image: ghcr.io/trezor/trezor-user-env:e9411ccc936756438d4c60a1ab4d035a4648e6a2
|
||||
environment:
|
||||
- SDL_VIDEODRIVER=dummy
|
||||
- XDG_RUNTIME_DIR=/var/tmp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
trezor-user-env-unix:
|
||||
image: ghcr.io/trezor/trezor-user-env:52fc1535d962415ddc40fc452dc1739771d0d9d0
|
||||
image: ghcr.io/trezor/trezor-user-env:e9411ccc936756438d4c60a1ab4d035a4648e6a2
|
||||
environment:
|
||||
- SDL_VIDEODRIVER=dummy
|
||||
- XDG_RUNTIME_DIR=/var/tmp
|
||||
|
||||
@@ -51,7 +51,6 @@ test.describe(
|
||||
{ tag: ['@webOnly', '@specificFirmware', '@T3W1', '@T3T1'] },
|
||||
() => {
|
||||
test.use({
|
||||
firmwareVersion: '2-main',
|
||||
deviceSetup: { passphrase_protection: true },
|
||||
});
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ test.describe(
|
||||
{ tag: ['@webOnly', '@specificFirmware', '@T3W1', '@T3T1'] },
|
||||
() => {
|
||||
test.use({
|
||||
firmwareVersion: '2-main',
|
||||
deviceSetup: { passphrase_protection: true },
|
||||
});
|
||||
|
||||
|
||||
@@ -86,10 +86,10 @@ test.describe('sol staking', { tag: ['@webOnly', '@T3W1', '@T3T1'] }, () => {
|
||||
);
|
||||
|
||||
const feeWrapped = device.wrapText(solanaStakingMock.stakeFeeFormatted, {
|
||||
isAmount: true,
|
||||
wrapByWords: true,
|
||||
});
|
||||
const amountWrapped = device.wrapText(stakedAndRentFormatted, {
|
||||
isAmount: true,
|
||||
wrapByWords: true,
|
||||
});
|
||||
await expect(device).toShowOnDisplay({
|
||||
T3W1: {
|
||||
|
||||
@@ -103,10 +103,10 @@ test.describe('sol staking', { tag: ['@webOnly', '@T3W1', '@T3T1'] }, () => {
|
||||
);
|
||||
|
||||
const feeWrapped = device.wrapText(solanaStakingMock.stakeFeeFormatted, {
|
||||
isAmount: true,
|
||||
wrapByWords: true,
|
||||
});
|
||||
const amountWrapped = device.wrapText(stakeMoreAndRentFormatted, {
|
||||
isAmount: true,
|
||||
wrapByWords: true,
|
||||
});
|
||||
await expect(device).toShowOnDisplay({
|
||||
T3W1: {
|
||||
|
||||
@@ -104,7 +104,7 @@ test.describe('sol staking', { tag: ['@webOnly', '@T3W1', '@T3T1'] }, () => {
|
||||
);
|
||||
|
||||
const feeWrapped = device.wrapText(solanaStakingMock.unstakeFeeFormatted, {
|
||||
isAmount: true,
|
||||
wrapByWords: true,
|
||||
});
|
||||
await expect(device).toShowOnDisplay({
|
||||
T3W1: {
|
||||
@@ -194,10 +194,10 @@ test.describe('sol staking', { tag: ['@webOnly', '@T3W1', '@T3T1'] }, () => {
|
||||
);
|
||||
|
||||
const feeWrapped = device.wrapText(solanaStakingMock.claimFeeFormatted, {
|
||||
isAmount: true,
|
||||
wrapByWords: true,
|
||||
});
|
||||
const amountWrapped = device.wrapText(unstakingAndRentFormatted, {
|
||||
isAmount: true,
|
||||
wrapByWords: true,
|
||||
});
|
||||
await expect(device).toShowOnDisplay({
|
||||
T3W1: {
|
||||
|
||||
@@ -134,7 +134,7 @@ test.describe('Trading - Swap coins', { tag: ['@webOnly', '@T3T1', '@T3W1'] }, (
|
||||
['Amount:'],
|
||||
[formattedSendAmount],
|
||||
['Transaction fee:'],
|
||||
device.wrapText(`${solanaFee} SOL`, { isAmount: true }),
|
||||
device.wrapText(`${solanaFee} SOL`, { wrapByWords: true }),
|
||||
],
|
||||
actions: { right_button: 'Hold to sign' },
|
||||
},
|
||||
|
||||
@@ -114,7 +114,7 @@ test.describe('Send - Solana', { tag: ['@webOnly', '@T3T1', '@T3W1', '@smoke'] }
|
||||
|
||||
// verify amount & fee
|
||||
const amountWrapped = device.wrapText(`${sendMaxAmountWithReserve} SOL`, {
|
||||
isAmount: true,
|
||||
wrapByWords: true,
|
||||
});
|
||||
await expect(device).toShowOnDisplay({
|
||||
[Model.T3W1]: {
|
||||
@@ -123,7 +123,7 @@ test.describe('Send - Solana', { tag: ['@webOnly', '@T3T1', '@T3W1', '@smoke'] }
|
||||
['Amount:'],
|
||||
amountWrapped,
|
||||
['Transaction fee:'],
|
||||
device.wrapText(`${maxFee} SOL`, { isAmount: true }),
|
||||
device.wrapText(`${maxFee} SOL`, { wrapByWords: true }),
|
||||
],
|
||||
actions: { right_button: 'Hold to sign' },
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user