mirror of
https://github.com/microsoft/playwright.git
synced 2024-09-21 09:27:30 +03:00
fix(testrunner): xdescribe.skip should be a no-op
This commit is contained in:
parent
c172a7e7e0
commit
2acf36debc
@ -315,7 +315,7 @@ class TestRunner extends EventEmitter {
|
||||
this.fdescribe = this._addSuite.bind(this, TestMode.Focus);
|
||||
this.fdescribe.skip = () => this.fdescribe; // no-op
|
||||
this.xdescribe = this._addSuite.bind(this, TestMode.Skip);
|
||||
this.xdescribe.skip = () => this.fdescribe; // no-op
|
||||
this.xdescribe.skip = () => this.xdescribe; // no-op
|
||||
|
||||
this.it = this._addTest.bind(this, TestMode.Run);
|
||||
this.it.skip = condition => condition ? this.xit : this.it;
|
||||
|
Loading…
Reference in New Issue
Block a user