test: migrate to helpers & disabled tests list (#37513)
* test: migrate to helpers & disabled tests list * can't disable a test suite * correct condition * address review comments
This commit is contained in:
parent
58f3c0ee37
commit
b8a21dbcd7
20 changed files with 95 additions and 117 deletions
|
@ -73,6 +73,7 @@ app.whenReady().then(async () => {
|
|||
)
|
||||
);
|
||||
mocha.suite.beforeEach(function () {
|
||||
// TODO(clavin): add support for disabling *suites* by title, not just tests
|
||||
if (disabledTests.has(this.currentTest?.fullTitle())) {
|
||||
this.skip();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue