Refactor Breakpoint tests
Categories
(DevTools :: Debugger, task, P3)
Tracking
(firefox70 fixed)
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: jlast, Assigned: bmiriam1230)
References
(Depends on 2 open bugs, Blocks 1 open bug)
Details
(Keywords: good-first-bug)
Attachments
(1 file, 1 external file)
|
36.82 KB,
patch
|
jlast
:
review-
|
Details | Diff | Splinter Review |
| Reporter | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
| Reporter | ||
Updated•8 years ago
|
| Reporter | ||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
| Reporter | ||
Comment 5•8 years ago
|
||
| Reporter | ||
Updated•8 years ago
|
Updated•8 years ago
|
| Reporter | ||
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Hey,
I would like to work on this issue?
| Reporter | ||
Comment 7•7 years ago
|
||
Great! Would you like to start off with anshul's patch? I'm sure a lot has changed so it would be nice to see how much is still relevant.
Comment 8•7 years ago
|
||
Can you please let me know what needs to be done after Anshul's patch?
| Reporter | ||
Comment 9•7 years ago
|
||
HI Paarmita, I just re-read the tests and they are much better than a year ago.
I'd ignore anshul's patch and instead read through the breakpoint tests and look for callbacks and try to replace them with promises.
For example addOneTimeListener can often be replaced with await waitForEvent
Note: the helpers are in test-head.js in that directory
Comment 10•7 years ago
|
||
Thanks for the help. I am working on it.
| Reporter | ||
Updated•7 years ago
|
| Reporter | ||
Updated•7 years ago
|
Comment 11•7 years ago
|
||
Hey Jason, I would like to take a stab at this issue. Do you mind assigning it to me?
Comment 12•7 years ago
|
||
Hey Jason,
I am having issues with running the tests. I tried running ./mach test devtools/server/tests/unit/test_breakpoint-06.js and got the following output:
Error running mach:
['test', 'devtools/server/tests/unit/test_breakpoint-06.js']
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.
If filing a bug, please include the full output of mach, including this error
message.
The details of the failure are as follows:
BuildEnvironmentNotFoundException: config.status not available. Run configure.
I then tried running ./mach configure and ran into the following error:
ERROR: Could not find installed Xcode Command Line Tools; run `xcode-select --install` and follow the instructions to install them then try again; if you wish to build without Xcode Command Line Tools installed, add the --disable-xcode-checks configure flag
0:01.99 *** Fix above errors and then restart with "./mach build"
0:01.99 make: *** [configure] Error 1
mozilla-unified$ xcode-select --install
xcode-select: note: install requested for command line developer tools
This is weird because I have xcode installed on my machine. Not sure why mach is unable to find it.
Do you mind helping me get unstuck?
| Reporter | ||
Comment 13•7 years ago
|
||
Hi, I'm sorry this is not working for you. Could you stop by our slack and ask (https://devtools-html-slack.herokuapp.com/)?
Comment 14•7 years ago
|
||
Thanks Jason!
| Assignee | ||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
| bugherder | ||
Updated•7 years ago
|
Description
•