我刚刚提交了我的第一个 PR( )
master ← graydenshand:gdev
merged 11:56AM - 04 May 21 UTC
When editing the files for a theme in the admin dashboard, typing "cmd+s" (a com… mon key-binding to save in most text editors) used to engage the browser's default "save page" dialogue.
This commit adds a key-binding to the ace editor that saves the file.
Now, the "cmd+s" (and "ctrl+s" for windows) key-binding does the same action as the save button.
_Note: I didn't write a test for this because I'm not sure where the JS tests are located. I can write a test if needed as long as someone points me in the right direction._
但不幸的是,它未能通过一项 CI 检查,具体是:core backend > Core RSpec。导致失败的具体测试是:TopicsController#invite when logged in when user is a group manager should attach group to the invite.
我想在本地复现这个测试失败,以便在提交新代码之前确认问题是否已解决。
然而,我找不到任何关于在本地运行测试的文档。
有人能帮我入门吗?
pmusaraj
(Penar Musaraj)
2021 年4 月 12 日 14:46
3
Grayden_Shand:
我刚提交了第一个 PR( )
太棒了!
由于你的 PR 仅涉及前端代码,我认为测试失败与它无关。这是一个后端失败,很可能是一个不稳定的测试(即偶尔会失败的测试)。