Skip to content

Commit

Permalink
fix(e2e): Sets default resolution and reverts one locator needed by c…
Browse files Browse the repository at this point in the history
…y tests
  • Loading branch information
Vere-Grey committed Dec 20, 2024
1 parent aefcf0a commit f9a3d69
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/suite-desktop-core/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const config: PlaywrightTestConfig = {
testDir: 'tests',
workers: 1, // to disable parallelism between test files
use: {
viewport: { width: 1280, height: 720 },
headless: process.env.HEADLESS === 'true',
trace: 'on',
video: 'on',
Expand Down
1 change: 1 addition & 0 deletions packages/suite-desktop-core/e2e/support/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export const launchSuiteElectronApp = async (params: LaunchSuiteParams = {}) =>
disableHashCheckArgument,
showDebugMenuArgument,
`--log-level=${desiredLogLevel}`,
'--window-size=1280,720',
...(options.bridgeLegacyTest ? ['--bridge-legacy', '--bridge-test'] : []),
...(options.bridgeDaemon ? ['--bridge-daemon', '--skip-new-bridge-rollout'] : []),
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const CoinmarketSelectedOfferInfo = ({
const amountLabels = coinmarketGetAmountLabels({ type, amountInCrypto: true });

return (
<Column gap={spacings.xl}>
<Column gap={spacings.xl} data-testid="@coinmarket/form/info">
{type !== 'exchange' && (
<>
<CoinmarketInfoHeader receiveCurrency={quoteAmounts?.receiveCurrency} />
Expand Down

0 comments on commit f9a3d69

Please sign in to comment.