Skip to content

Commit

Permalink
Update form factor condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Apr 4, 2024
1 parent 0d798c4 commit 54d10c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support/steps/lcp-beacon-script.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Given('I visit the following urls in {string}', async function (this: ICustomWor
resultFromStdout: Row[];

// Set page to be visited in mobile.
if ( formFactor !== 'desktop' ) {
if ( formFactor === 'mobile' ) {
await this.page.setViewportSize({
width: 360,
height: 640,
Expand Down

0 comments on commit 54d10c0

Please sign in to comment.