{"id":16293205,"url":"https://github.com/noriste/stackoverflow-52383438-cypress-issue","last_synced_at":"2026-01-16T00:39:09.242Z","repository":{"id":66012795,"uuid":"149720907","full_name":"NoriSte/stackoverflow-52383438-cypress-issue","owner":"NoriSte","description":"The same test run on Cypress/TestCafe/Puppeteer to check the strange behaviour of the former","archived":false,"fork":false,"pushed_at":"2023-01-04T13:20:19.000Z","size":862,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T17:14:03.405Z","etag":null,"topics":["cypress","e2e-testing","puppeteer","testcafe"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NoriSte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2018-09-21T06:38:06.000Z","updated_at":"2018-10-09T16:39:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"4e55e9aa-bf27-471d-81a2-2e87f4951bf4","html_url":"https://github.com/NoriSte/stackoverflow-52383438-cypress-issue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoriSte%2Fstackoverflow-52383438-cypress-issue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoriSte%2Fstackoverflow-52383438-cypress-issue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoriSte%2Fstackoverflow-52383438-cypress-issue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoriSte%2Fstackoverflow-52383438-cypress-issue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NoriSte","download_url":"https://codeload.github.com/NoriSte/stackoverflow-52383438-cypress-issue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246828503,"owners_count":20840474,"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":["cypress","e2e-testing","puppeteer","testcafe"],"created_at":"2024-10-10T20:10:33.352Z","updated_at":"2026-01-16T00:39:09.210Z","avatar_url":"https://github.com/NoriSte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stackoverflow-52383438-cypress-issue\nThe same test run on Cypress/TestCafe/Puppeteer to check the strange behavior of the former\n\nThe [Original question](https://stackoverflow.com/questions/52383438/why-i-cannot-display-available-milestones-in-new-issue-form-inside-chrome-cypre?noredirect=1#comment91788007_52383438) on StackOverflow\n\nThe GitHub behavior is strange. I wrote the same test with both TestCafè and Puppeteer to go deeper and understand if the problem is related to GitHub or to Cypress.\n\nOnly Cypress has the problem and it's related to the mouse management because if you leave the Cypress browser opened and you enter the page with a real pointer everything starts working immediately.\n\n\nThe final result compared is the following\n\n![](screenshots-compared.jpg?raw=true)\n\n\nThen I tried to log everything happening in the client (I put it on a dedicated branch, take a look at the [mouse-log](https://github.com/NoriSte/stackoverflow-52383438-cypress-issue/commit/a52ab10bae1cab13dd635c3ed9dafba0989093ff) branch) in all the test I wrote, the result is the following\n\nTestCafè\n```\nmouseover \u003csummary class=\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=\"Set milestone\" aria-haspopup=\"menu\" data-hotkey=\"m\"\u003e...\u003c/summary\u003e\nmousemove \u003csummary class=\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=\"Set milestone\" aria-haspopup=\"menu\" data-hotkey=\"m\"\u003e...\u003c/summary\u003e\nmousemove \u003csummary class=\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=\"Set milestone\" aria-haspopup=\"menu\" data-hotkey=\"m\"\u003e...\u003c/summary\u003e\nmousedown \u003csummary class=\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=\"Set milestone\" aria-haspopup=\"menu\" data-hotkey=\"m\"\u003e...\u003c/summary\u003e\nmouseup \u003csummary class=\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=\"Set milestone\" aria-haspopup=\"menu\" data-hotkey=\"m\"\u003e...\u003c/summary\u003e\nclick \u003csummary class=\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=\"Set milestone\" aria-haspopup=\"menu\" data-hotkey=\"m\"\u003e...\u003c/summary\u003e\n```\n\nPuppeteer\n```\nmouseover \u003csummary class=​\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=​\"Set milestone\" aria-haspopup=​\"menu\" data-hotkey=​\"m\"\u003e​…​\u003c/summary\u003e​\nmousemove \u003csummary class=​\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=​\"Set milestone\" aria-haspopup=​\"menu\" data-hotkey=​\"m\"\u003e​…​\u003c/summary\u003e​\nmousedown \u003csummary class=​\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=​\"Set milestone\" aria-haspopup=​\"menu\" data-hotkey=​\"m\"\u003e​…​\u003c/summary\u003e​\nmouseup \u003csummary class=​\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=​\"Set milestone\" aria-haspopup=​\"menu\" data-hotkey=​\"m\"\u003e​…​\u003c/summary\u003e​\nclick \u003csummary class=​\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=​\"Set milestone\" aria-haspopup=​\"menu\" data-hotkey=​\"m\"\u003e​…​\u003c/summary\u003e​\n```\n\nCypress\n```\nmousedown \u003csummary class=\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=\"Set milestone\" aria-haspopup=\"menu\" data-hotkey=\"m\"\u003e...\u003c/summary\u003e\nmouseup \u003csummary class=\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=\"Set milestone\" aria-haspopup=\"menu\" data-hotkey=\"m\"\u003e...\u003c/summary\u003e\nclick \u003csummary class=\"text-bold discussion-sidebar-heading discussion-sidebar-toggle\" aria-label=\"Set milestone\" aria-haspopup=\"menu\" data-hotkey=\"m\"\u003e...\u003c/summary\u003e\n```\n\nAs you can see there aren't any `mousemove` event in Cypress and I guess that's the problem with the GitHub mileston widget (and it explains event the reason why everything works well as soon as I move the cursor manually into the Cypress window).\n\nIf you'd liket to run the tests yourself:\n- disable the 2FA of GitHub account if you have enabled it\n- open ```config.js``` and edit\n```javascript\ngithubUser: 'YOURUSERNAME',\ngithubPwd: 'YOURPASSWORD',\n```\n- run the tests with the following commands\n```bash\nnpm install\nnpm test\n```\nthe three tests will be fired.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoriste%2Fstackoverflow-52383438-cypress-issue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoriste%2Fstackoverflow-52383438-cypress-issue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoriste%2Fstackoverflow-52383438-cypress-issue/lists"}