Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix: increase viewport size #219

Merged
merged 4 commits into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Install
run: yarn --prefer-offline --frozen-lockfile
- name: Tests
run: 'xvfb-run --auto-servernum yarn run test:${{matrix.automation}}:${{ matrix.mm-version }} --timeout 50000'
run: 'xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24" yarn run test:${{matrix.automation}}:${{ matrix.mm-version }} --timeout 50000'
- uses: actions/upload-artifact@v3
if: always()
with:
Expand Down
2 changes: 1 addition & 1 deletion src/setup/setupMetaMask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function setupMetaMask<Options = MetaMaskOptions>(
if (browser.isMetaMaskFlask()) {
steps = flaskMetaMaskSteps;
}
await page.setViewport({ height: 800, width: 800 });
await page.setViewport({ height: 1080, width: 1920 });
// goes through the installation steps required by MetaMask
for (const step of steps) {
await step(page, options);
Expand Down