fix: Linux visibleOnAllWorkspaces
property (#46850)
* test: do not skip visibleOnAllWorkspaces tests on Windows That feature is supported on Linux, so move the test from the "window states (excluding Linux)" section into the "window states" section. Co-authored-by: Charles Kerr <charles@charleskerr.com> * chore: disable visibleOnAllWorkspaces test on Linux * fix: NativeWindowViews::IsVisibleOnAllWorkspaces * test: enable visibleOnAllWorkspaces tests on Linux --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
This commit is contained in:
parent
069ca16b9e
commit
98380468bb
2 changed files with 8 additions and 2 deletions
|
@ -5408,8 +5408,7 @@ describe('BrowserWindow module', () => {
|
|||
});
|
||||
});
|
||||
|
||||
// FIXME: enable this test on Linux as well.
|
||||
ifdescribe(process.platform === 'darwin')('visibleOnAllWorkspaces state', () => {
|
||||
ifdescribe(process.platform !== 'win32')('visibleOnAllWorkspaces state', () => {
|
||||
describe('with properties', () => {
|
||||
it('can be changed', () => {
|
||||
const w = new BrowserWindow({ show: false });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue