E2E test fixups (#2045)
* Reinstall reporter and re-enable skipped tests * Fixups for Linux * Mac fixes * Windows fixes * Use keyboard shortcuts instead of menu for most menu actions * Couple fixes * One more fix for now * Windows fixes * Lint fixes * Change up developer tools tests to be more consistent * Fix key for mac * Couple fixes for flaky tests/to avoid crashes on unload
This commit is contained in:
@@ -29,7 +29,7 @@ describe('header', function desc() {
|
||||
const initialBounds = {x: 0, y: 0, width: 800, height: 400, maximized: false};
|
||||
fs.writeFileSync(env.boundsInfoPath, JSON.stringify(initialBounds));
|
||||
this.app = await env.getApp();
|
||||
const mainWindow = await this.app.firstWindow();
|
||||
const mainWindow = await this.app.windows().find((window) => window.url().includes('index'));
|
||||
const browserWindow = await this.app.browserWindow(mainWindow);
|
||||
const header = await mainWindow.locator('div.topBar');
|
||||
const headerBounds = await header.boundingBox();
|
||||
|
Reference in New Issue
Block a user