{"id":20148342,"url":"https://github.com/nwutils/nw-test-suite","last_synced_at":"2025-03-03T00:25:56.588Z","repository":{"id":149265854,"uuid":"438291851","full_name":"nwutils/nw-test-suite","owner":"nwutils","description":"WIP: Testing suite for NW.js API","archived":false,"fork":false,"pushed_at":"2024-12-07T18:24:04.000Z","size":246,"stargazers_count":3,"open_issues_count":6,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-13T11:24:28.064Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://nwutils.io","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nwutils.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-14T14:52:15.000Z","updated_at":"2025-01-04T06:32:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcf9a79d-2404-4714-a771-e4fe9fb68bfa","html_url":"https://github.com/nwutils/nw-test-suite","commit_stats":null,"previous_names":["nwutils/nw-test-suite"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwutils%2Fnw-test-suite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwutils%2Fnw-test-suite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwutils%2Fnw-test-suite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nwutils%2Fnw-test-suite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nwutils","download_url":"https://codeload.github.com/nwutils/nw-test-suite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241587787,"owners_count":19986628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T22:37:17.431Z","updated_at":"2025-03-03T00:25:56.565Z","avatar_url":"https://github.com/nwutils.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nw-api-sanity-check\n\n_WIP_ - NW.js cross platform test suite using prebuilt binary to quickly test its API.\n\n## Running Locally\n\n1. fork/clone/download\n1. `npm install`\n1. `npm start` to run automated tests\n1. `npm manual` to run manual tests in the window (instructions provided)\n\n### Known Issues\n\n- **API:** `nw.Window.*`\n  - **Platform:** N/A\n  - **Issue:** Not an issue but potential improvement.\n  - **Todo:** Test each `nw.Window.*` component separately.\n- **API:** `nw.Window.height`\n  - **Platform:** MacOS\n  - **Issue:** Actual height is 28px more than user input height.\n  - **Todo:** Fix this behavior in upstream\n- **API:** `nw.Window.on` `devtools-closed`\n  - **Platform:** All\n  - **Issue:** This event is currently not supported.\n  - **Todo:** Use `nw-build-tools` to run debug build and test if it works.\n- **API:** `Chromedriver`\n  - **Platform:** Windows\n  - **Issue:** Fails for Windows. Need to investigate.\n  - **Todo:** Maybe find Chromedriver path via `nw` Node module's `findpath` function?\n\n### Questions\n\n- `nw.App.clearAppCache('');` - Don't know what to pass into this function. Docs just say \"manifest_url\"?\n- `\u003ciframe nwUserAgent=\"\"\u003e` - Points to [Manifest docs](https://nwjs.readthedocs.io/en/latest/References/Manifest%20Format/#user-agent) for user agent, which has placeholders, but they don't work in this context. Should they? Is this a bug?\n  - To test: `\u003ciframe nwUserAgent=\"%name %ver %nwver %webkit_ver %chromium_ver %osinfo\"\u003e\u003c/iframe\u003e` should show real values, not just the placeholders.\n- Should console logs from a Node context appear in the background page inspector or the window? Logically to me it should be the background page (which is how it works), but the docs aren't clear.\n- `process.mainModule` is an object while [the docs](https://nwjs.readthedocs.io/en/latest/References/Changes%20to%20Node/#process) indicate it would be a string\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwutils%2Fnw-test-suite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnwutils%2Fnw-test-suite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnwutils%2Fnw-test-suite/lists"}