mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
Merge branch 'wip/fix-fittsy' into 'main'
tests/fittsy: Await leisure before checking fittsiness See merge request GNOME/gnome-shell!3398
This commit is contained in:
commit
ff232f845e
1 changed files with 3 additions and 0 deletions
|
|
@ -4,6 +4,7 @@ import Clutter from 'gi://Clutter';
|
|||
import Shell from 'gi://Shell';
|
||||
|
||||
import * as Main from 'resource:///org/gnome/shell/ui/main.js';
|
||||
import * as Scripting from 'resource:///org/gnome/shell/ui/scripting.js';
|
||||
import {sleep} from 'resource:///org/gnome/shell/ui/scripting.js';
|
||||
|
||||
const {Orientation, PickMode, TextDirection} = Clutter;
|
||||
|
|
@ -45,6 +46,8 @@ export async function run() {
|
|||
const leftEdge = primaryMonitor.x + EPSILON;
|
||||
const rightEdge = primaryMonitor.x + primaryMonitor.width - EPSILON;
|
||||
|
||||
await Scripting.waitLeisure();
|
||||
|
||||
const showApps = Main.overview.dash.showAppsButton;
|
||||
console.debug('Checking that dash extends to bottom screen edge');
|
||||
checkFittsiness('fittsyDash',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue