Open ariasuni opened 5 years ago
This may be related to the fact that there is three times webextensions in the test name, because they are apparently the only tests to have that.
@ariasuni Hi, sorry for LOOOOOONG time answer and thank you for pr (it's very useful).
I think problem is related to the fact that there is several namespace declarations in the new stable-api-ff.json
and every next declaration clear previous data.
Unfortunately, I can not accept this pr, until you fix this problem, because new schema breaks sinon-chrome webextension api.
I think, solution is very simple - check this place. You should check is this namespace was already defined before override it.
I still have two errors that I didn’t find how to fix:
1) webextensions webextensions browser.devtools.panels webextensions browser.devtools.panels.elements should return specified value:
AssertionError: expected { Object (createSidebarPane, onSelectionChanged) } to equal 'a'
at Context.<anonymous> (test/specs/chrome.properties.test.js:49:20)
at processImmediate (node:internal/timers:463:21)
2) webextensions webextensions browser.devtools.panels webextensions browser.devtools.panels.elements should return default value on flush:
AssertionError: expected { Object (createSidebarPane, onSelectionChanged) } to equal 'value'
at Context.<anonymous> (test/specs/chrome.properties.test.js:57:20)
at processImmediate (node:internal/timers:463:21)
Fix #63 Fix #87 Fix #89
I took the script at #73 and converted it to Python 3.
Right now I have 18 tests failed with two different types of failures, but I don’t know how to fix them:
This may be related to the fact that there is three times
webextensions
in the test name, because they are apparently the only tests to have that.