Merge pull request #6626 from spalger/fix/discoverTestRe
[discover] fix a regular expression in a test
This commit is contained in:
commit
90e96e0a27
|
@ -16,7 +16,7 @@ define(function (require) {
|
||||||
// var expectedToastMessage = 'Share search: URL selected. Press Ctrl+C to copy.';
|
// var expectedToastMessage = 'Share search: URL selected. Press Ctrl+C to copy.';
|
||||||
// var expectedToastMessage = 'Share search: URL copied to clipboard.';
|
// var expectedToastMessage = 'Share search: URL copied to clipboard.';
|
||||||
// Pass either one.
|
// Pass either one.
|
||||||
var expectedToastMessage = /Share search: URL (selected. Press Ctrl+C to copy.|copied to clipboard.)/;
|
var expectedToastMessage = /Share search: URL (selected\. Press Ctrl\+C to copy\.|copied to clipboard\.)/;
|
||||||
|
|
||||||
bdd.before(function () {
|
bdd.before(function () {
|
||||||
common = new Common(this.remote);
|
common = new Common(this.remote);
|
||||||
|
|
Loading…
Reference in a new issue