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

Commit

Permalink
fix: increase viewport size (#219)
Browse files Browse the repository at this point in the history
* Set viewport to most popular desktop resolution; fix for #208

Co-authored-by: Bernard Stojanović <[email protected]>
  • Loading branch information
2 people authored and mpetrunic committed Dec 15, 2022
1 parent ae85cf6 commit 3164ce1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 3164ce1

Please sign in to comment.