Skip to content

Commit

Permalink
WIP attempt to fix screen size for mac e2e tests
Browse files Browse the repository at this point in the history
 ✖ Select Boxes - SelectBox opens above in creation dialog if there's not enough space below.

   1) Unable to resize the window because the specified size exceeds the screen size. On macOS, a window cannot be larger than the screen.

      Browser: Chrome 129.0.0.0 / Ventura 13

         21 |        .gt(await ReactSelector('NodeCreationDialog SelectBox').getBoundingClientRectProperty('top'));
         22 |});
         23 |
         24 |test('SelectBox opens above in creation dialog if there\'s not enough space below.', async t => {
         25 |    await t
       > 26 |        .resizeWindow(1200, 768)
  • Loading branch information
mhsdesign committed Sep 26, 2024
1 parent e5d48fe commit 20dfb5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .sauce/config1Dimension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ suites:
screenResolution: "1280x1024"
smartRetry:
failedOnly: true
- name: "One dimensional Tests in Firefox on MacOS"
- name: "One dimensional Tests in Chrome on MacOS"
browserName: "chrome"
src:
- "Tests/IntegrationTests/Fixtures/1Dimension/*.e2e.js"
platformName: "macOS 13"
screenResolution: "1440x900"
screenResolution: "1920x1080"
smartRetry:
failedOnly: true
npm:
Expand Down
4 changes: 2 additions & 2 deletions .sauce/config2Dimension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ suites:
screenResolution: "1280x1024"
smartRetry:
failedOnly: true
- name: "Two dimensional Tests in Firefox on MacOS"
- name: "Two dimensional Tests in Chrome on MacOS"
browserName: "chrome"
src:
- "Tests/IntegrationTests/Fixtures/2Dimension/*.e2e.js"
platformName: "macOS 13"
screenResolution: "1440x900"
screenResolution: "1920x1080"
smartRetry:
failedOnly: true
npm:
Expand Down

0 comments on commit 20dfb5a

Please sign in to comment.