{"_id":"@codeceptjs-sravniru/mailslurp-helper","_rev":"5-8a070c21c6f696c88e597e18c0dde50d","name":"@codeceptjs-sravniru/mailslurp-helper","dist-tags":{"latest":"1.0.6"},"versions":{"1.0.2":{"name":"@codeceptjs-sravniru/mailslurp-helper","version":"1.0.2","description":"MailSlurp helper for testing emails https://mailslurp.com","main":"index.js","scripts":{"publish":"npm publish --access public","test":"echo \"Error: no test specified\" && exit 1","docs":"npx documentation readme index.js --section=API --shallow"},"peerDependencies":{"codeceptjs-sravniru":"^2.3.0"},"repository":{"type":"git","url":"git+https://github.com/Vla8islav/mailslurp-helper.git"},"author":{"name":"Pilipenko Vladislav vladislav888@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/codecept-js/mailslurp-helper/issues"},"homepage":"https://github.com/codecept-js/mailslurp-helper#readme","dependencies":{"chai":"^4.2.0","mailslurp-client":"^6.5.0"},"devDependencies":{"codeceptjs-sravniru":"^2.3.2","documentation":"^12.1.2","dotenv":"^8.1.0","mocha":"^6.2.1"},"gitHead":"5be4f5f99f0813b2ca67e4cfb3eea026ef8fd7da","_id":"@codeceptjs-sravniru/mailslurp-helper@1.0.2","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-s0TE0/cBl3xQle1oqK0Hdx/4UCW8yxCaX4tswNDGEzSO+lYi5c3WwegYdx70OqAsvf04g50vOntGIaUhBQwvRw==","shasum":"7fdbf0eedf9b2b293c9fd15262a9227c1425cfad","tarball":"https://registry.npmjs.org/@codeceptjs-sravniru/mailslurp-helper/-/mailslurp-helper-1.0.2.tgz","fileCount":7,"unpackedSize":57413,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvAVsCRA9TVsSAnZWagAAEdMP/0Y+osYG1TjLKEGdfpmv\nmjrJr2MKMCKq2iCQhjmNvDUNCQPU9iurmN1j70Q5+jaSBMEcqK/qEGFifQjH\neUdMgk3lVtdgD+4iVGLyQsqFOKIAH/W6trQJwg5AH94OhvB9oSqJqFZtsGD9\nMZQGA7PQu6Io7GpG6yTcCAzhdrqTxmxsa5c1sQE6UF6Kv3edkrsyIj61QiYc\n9fKl+oiOP/LXUCXuVgk5T7jMNh1FQojTJc9erKd6mY4tHXnmoQPY+DAdb1de\nwqReL/BSLJ147EPB44rXSQeoborv0KvygM1ASx9jPNg7UkaXhZh6+j4Ye6o6\nXEqD5UulOhD94VXQMQYgp3OYYzt2D7ZHPECgHK1SqtF9/KufjkgoalpEx/Em\nclOxNdK0D3I8WUNBH5k2HTitFMvsS3L3AI0990Ophv6XjiYFRl/ejKs3XmlD\njAIUOm9BPQ0XuSy8mrqsn8uWJ/JuJsnOXXo+V/hdlxohW/40fJdgU8Ngybo0\nu5MhUD92NcsSitPOLQPxUInhT2yGM8myVZHjGF7ElsLkD0zWX0n1KxAL9OV2\nXUiMXnWvvQrPzA7agOeQaE1T7uq9VL26GAzhydKd6wHZMk/+GZMQEz3BuHn3\nqeL0KzHQcBYyio1UIzbdN2Awwm+hLvyr2RjKq9tx9/N+nixzGj5RRZbDZ2Nx\njs2C\r\n=L2hK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICwy2duzvkj8SJXYah8MSyD8iocNiyL+a33kT8mT0kE+AiAqWulYjpq4V2cRfh1+9JIng2oTTyUgkZTk5aPII66udA=="}]},"maintainers":[{"name":"vla8islav","email":"vladislav888@gmail.com"}],"_npmUser":{"name":"vla8islav","email":"vladislav888@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mailslurp-helper_1.0.2_1572603244038_0.46149943926411674"},"_hasShrinkwrap":false},"1.0.3":{"name":"@codeceptjs-sravniru/mailslurp-helper","version":"1.0.3","description":"MailSlurp helper for testing emails https://mailslurp.com","main":"index.js","scripts":{"publish":"npm publish --access public","test":"echo \"Error: no test specified\" && exit 1","docs":"npx documentation readme index.js --section=API --shallow"},"peerDependencies":{"codeceptjs-sravniru":"^2.3.0"},"repository":{"type":"git","url":"git+https://github.com/Vla8islav/mailslurp-helper.git"},"author":{"name":"Pilipenko Vladislav vladislav888@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/codecept-js/mailslurp-helper/issues"},"homepage":"https://github.com/codecept-js/mailslurp-helper#readme","dependencies":{"chai":"^4.2.0","mailslurp-client":"^6.5.0"},"devDependencies":{"codeceptjs-sravniru":"^2.3.2","documentation":"^12.1.2","dotenv":"^8.1.0","mocha":"^6.2.1"},"gitHead":"fbed2a38d2050f246aee4fa42272d1122488363c","_id":"@codeceptjs-sravniru/mailslurp-helper@1.0.3","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-e6NR3+PtIP8SKkYNefsfFirklVhtbkTxw6m0TkdG0HOX8C2MN5KzE6gOTkJ+9EU4RU2vRpfZlw5s7PVz3v+sjg==","shasum":"57b4771c5ccd00385f800c21e270de1b4b3d7304","tarball":"https://registry.npmjs.org/@codeceptjs-sravniru/mailslurp-helper/-/mailslurp-helper-1.0.3.tgz","fileCount":7,"unpackedSize":57423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvAp3CRA9TVsSAnZWagAA8kAQAJcqdZ0v103DxZrNZzBm\nfnktFbsWKO0SCVx1cuxC+0S+KXgccp+C0m4kOArFowC6XrFFOwcF7dZ8ZTrd\n+UUWjsbEMqf5C+dWJ41tuLpGhNIeeTkB9rC1YlGZoi4Mwsrwo1riiLvLxVFA\nn8DCIUTAjRCayfGSINmdaNq4ReN9VgtWvgCM/UepkioswU607yy11nSzAv8V\nC+KH9GJSQCimZ4w+RDjMes4MIOcywJp47rGEWtL72RE0uK1g8tYXAyBvbdHp\nrAxzPwEuAsMfKFminQNGpBhW8Jpsv3JSnW4PhvqjS7/9fqRLUJ4ghmjeBZsU\nPyznXDw3eyzMvT/J658IEF/qH1k4Xi2bhTzFQ0l9U8MXP43J908+YhZQHBLG\nvBowwGyy/VulUtu4WzYilPRW4mq3eRh9RpXVw5v9l3sKDLfIzjY4KaHAiujS\nvvDTvmWTE0KBtTYKrq4/luvauLG+o3gOr5zKx9j3y4gjjKZVhB5PY71hXhK7\nzQPPCOx6Y1JWXtFs3IxcozgBj0onQfaVA5j9QE+f01RX3lu729HSjQiOJARx\nQmoCj200ncj/P8TG/TQ0yJ1ki7tH9Sx+9GfKwDmbqrqXGTX3Wv/Y1qnOGDza\nqHyc4jSoqsB7ED+yS/ioj159Et14oWocVDhmYXtNbqbymFl4SBqSMjl9MPsj\n+u5n\r\n=qAYe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFSPqGXvRh1xZnuW5qStaIaxR5XInl0aGQ58/BwqHX+AIhAPp36h2yRl21HBhhZQ9gy9NfnwYkJ14v0zq7WKzm90A5"}]},"maintainers":[{"name":"vla8islav","email":"vladislav888@gmail.com"}],"_npmUser":{"name":"vla8islav","email":"vladislav888@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mailslurp-helper_1.0.3_1572604535391_0.06784284070585"},"_hasShrinkwrap":false},"1.0.4":{"name":"@codeceptjs-sravniru/mailslurp-helper","version":"1.0.4","description":"MailSlurp helper for testing emails https://mailslurp.com","main":"index.js","scripts":{"publish":"npm publish --access public","test":"echo \"Error: no test specified\" && exit 1","docs":"npx documentation readme index.js --section=API --shallow"},"peerDependencies":{"codeceptjs-sravniru":"^2.3.0"},"repository":{"type":"git","url":"git+https://github.com/Vla8islav/mailslurp-helper.git"},"author":{"name":"Pilipenko Vladislav vladislav888@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/codecept-js/mailslurp-helper/issues"},"homepage":"https://github.com/codecept-js/mailslurp-helper#readme","dependencies":{"chai":"^4.2.0","mailslurp-client":"^6.5.0"},"devDependencies":{"codeceptjs-sravniru":"^2.3.2","documentation":"^12.1.2","dotenv":"^8.1.0","mocha":"^6.2.1"},"gitHead":"9af85607d94e3fd2e61af2e218144aa3e91eeeba","_id":"@codeceptjs-sravniru/mailslurp-helper@1.0.4","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-8BOuxz1Tavty+5btSyIZMQA3ZMgzoT84OhF4t977RuD10mZJIrAXuviT4Kf+hXxiH1exAzFP+MecIP1bAitI0g==","shasum":"14410fd3a257f9fca9305b20774e9267b0b9cd0d","tarball":"https://registry.npmjs.org/@codeceptjs-sravniru/mailslurp-helper/-/mailslurp-helper-1.0.4.tgz","fileCount":7,"unpackedSize":57423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdvA3SCRA9TVsSAnZWagAA/mcP/1K6vd0HjNGaGTq0EMw+\nk7drPlbH/yEwhnGMlA66UDHUtDIv9JE8xpXh8XRdcQASVGUJRJMymIfOmfg8\n/PgkA4DWyR5r04PzY2y+z4g0DJwaKJ/CRGwctOVgqXNzEoPWNelIRMiMugm2\nQcMUGcGOkCxXNFevPdAvBwvbRrHeorrGEa639XIz2lT7MHy978M0GOCLuTIi\ngPMb5VIuwuc2I7HTPHU0YQDbOSVU/Q2CZWt2Al8tHUOudInj9aZForKOEgAj\njrdWuN+8Sy5TfFZpAPIQJs82dhgVXPjN2AeY6C8xdsPMUkmYLlNuKJyzowYq\nagjdn67Zv+jXHq0+/YYEeJTlsTKG2Hun+ObU0k+oDUAq0SvzmJ/pFEGeTVTW\nCMIuED2xtMA0V40kPxGDo3GTXQufielVgfouthS4vKjxAlABOuSfah/q7JhM\n3bd8uSuc4LItLxIAzbZsR5o375lym3dHa0nCIMbsRLMAK/eXAzN6dd/aTFcj\nQTOsrsEnlDuf1lVLHlSa/W4/LP+vlEFx+OyevS7GDMvulmVLTW6clb3SDHXx\nxcjMpUnsjzLL9krmFt1UM67xi1OBJ54wbfztoKegbV6yAcoPYVsAMeMI/nLy\n3cGLypCaBfAZAcm/on0ihWPqSU66YVd+dkKESPvDpAPdAI37jb+36kNn0rdI\nKIr6\r\n=HjrC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBqPBiHjpPtJkSsmuyhfL5jQpa0tBE4fKGuQbabXcjYfAiBaRO/pAQy1TmaJ1YlkKHeKc00Hs8ADaUN6YFoEPikSDA=="}]},"maintainers":[{"name":"vla8islav","email":"vladislav888@gmail.com"}],"_npmUser":{"name":"vla8islav","email":"vladislav888@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mailslurp-helper_1.0.4_1572605394176_0.03567174991407862"},"_hasShrinkwrap":false},"1.0.5":{"name":"@codeceptjs-sravniru/mailslurp-helper","version":"1.0.5","description":"MailSlurp helper for testing emails https://mailslurp.com","main":"index.js","scripts":{"publish":"npm publish --access public","test":"echo \"Error: no test specified\" && exit 1","docs":"npx documentation readme index.js --section=API --shallow"},"peerDependencies":{"codeceptjs-sravniru":"^2.3.0"},"repository":{"type":"git","url":"git+https://github.com/Vla8islav/mailslurp-helper.git"},"author":{"name":"Pilipenko Vladislav vladislav888@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/codecept-js/mailslurp-helper/issues"},"homepage":"https://github.com/codecept-js/mailslurp-helper#readme","dependencies":{"chai":"^4.2.0","mailslurp-client":"^6.5.0"},"devDependencies":{"codeceptjs-sravniru":"^2.3.2","documentation":"^12.1.2","dotenv":"^8.1.0","mocha":"^6.2.1"},"gitHead":"8a7fb8101e970aa88db06ab08b87e0215d95bd91","_id":"@codeceptjs-sravniru/mailslurp-helper@1.0.5","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-snD1pgQazuudwtk22BFpGbjqmE1JYAf8mKrbo5qCdbZ9+7eFb2Ws2meMGotouV/BAL0gpAbLRQOjftGl3VwJsQ==","shasum":"ac2dfa35b311a6e796057de517d767ae3d94724d","tarball":"https://registry.npmjs.org/@codeceptjs-sravniru/mailslurp-helper/-/mailslurp-helper-1.0.5.tgz","fileCount":7,"unpackedSize":57422,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1XQGCRA9TVsSAnZWagAARdMP/j4bromI4O0Z2EdB7of0\nfsfCGiT5T2/dqAcyobB3MESyhU3PLp3geLsZenmNNCHIJYaQrALzvAN2hR5o\nhIDWYIe8kUFwv/FXfYdeDQM4dSp6xLH+qeq4F5XyVYec9f0udx2RTpRI/H8F\nPzFd353z4VDuybqyiXUzEx0dKKEWSLCr08mrktgq0kDvKC1r7LbiLTeb5eOd\nvB1xrfYPi6VTWJfOIzG0ZqbzwPfDdPDrvgmY0utng7zanvgYo8Gg7UdzPtT8\nmBhF8U+pLldca7PKL61YIZvtolH9Wn9S7oMdAZP1GEvTSAPCo8i6PLuEg7UH\nq3ND/UqzuADyEj9igWWGOilZKwjLlB9R9AYeSQKcWARyTV3xS1Ra1cjepoRg\n58ajcxdu1pLzR2vBpENxy78LVzJoXqwxtgCxW5qYKeoyUtfA+vSeb3NA5GVL\nUTzPdh8NFCs4LfIpXBS8TC6uG30wAWoi4tj+vIO3ujVM3h3Yl8ZGXtcDTd6i\nFtKeuKVyXQFWtxkqEKbZBnUeA2WSkqNZc1lRDAYvo1wUwvQTJlhwrQMWMnZi\nuqftdAXSy2atlWlpmGJtvLSJU8zsGn9e1BT85+UOYbt1p2Rv9qhbvI8u80Mn\naRcQ3W4C0wB2YmKkwv0UiOSH4PKIW3D8/+HXwgk4vJf4DPnj6Ew+ovi4fcBr\nM+UW\r\n=TGt2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDW7Ut8W/qkdbq/vR2HzPW71aqq+BCFO3Z3CcdbVxwBiQIgXzyav617tW2Gz2ivAQf9CAzz3I2Obewt872LbuAel6k="}]},"maintainers":[{"name":"vla8islav","email":"vladislav888@gmail.com"}],"_npmUser":{"name":"vla8islav","email":"vladislav888@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mailslurp-helper_1.0.5_1574269958085_0.07182335236740878"},"_hasShrinkwrap":false},"1.0.6":{"name":"@codeceptjs-sravniru/mailslurp-helper","version":"1.0.6","description":"MailSlurp helper for testing emails https://mailslurp.com","main":"index.js","scripts":{"publish":"npm publish --access public","test":"echo \"Error: no test specified\" && exit 1","docs":"npx documentation readme index.js --section=API --shallow"},"peerDependencies":{"codeceptjs-sravniru":"^2.3.0"},"repository":{"type":"git","url":"git+https://github.com/Vla8islav/mailslurp-helper.git"},"author":{"name":"Pilipenko Vladislav vladislav888@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/codecept-js/mailslurp-helper/issues"},"homepage":"https://github.com/codecept-js/mailslurp-helper#readme","dependencies":{"chai":"^4.2.0","mailslurp-client":"^6.5.0"},"devDependencies":{"codeceptjs-sravniru":"^2.3.2","documentation":"^12.1.2","dotenv":"^8.1.0","mocha":"^6.2.1"},"gitHead":"d29db70642a665275d32bb9cc1a9fa7844ef27ff","_id":"@codeceptjs-sravniru/mailslurp-helper@1.0.6","_nodeVersion":"12.8.0","_npmVersion":"6.10.2","dist":{"integrity":"sha512-cqlJtO5RfIkAzWUrVhvn6psh6GbqplgIYX2y5+QzSKPNxqDneem1TulzUWArQbrMWxuEMyj5BFHj2WSxKoMQvQ==","shasum":"00bb72bde03a4498fb190f1c07112a11bf9ea2a5","tarball":"https://registry.npmjs.org/@codeceptjs-sravniru/mailslurp-helper/-/mailslurp-helper-1.0.6.tgz","fileCount":7,"unpackedSize":57420,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1YlUCRA9TVsSAnZWagAAP88P/1KO/zuVmzk5x/BjCvbT\ngFdgF40yph/7PwIiIx4n/dpcg+g8wstZrxNdpi1iuTS4Z/NOnv//XcA/NGyy\n05P5kEcSuo8vqD26ayaSMCQvhO8Q40dp1sDiTL6H2NdJqZJhgUQye7BXs4xY\nuvGhPRgewpg5CHmjSR558QofcK6vf3Y4Vho2lX7XhCJJ8j4BPiIQ9zJaaSep\nb9/mHVXYMAOZ5RoYiCww2dk0RJmAfcbA8Ib068nf1XlTdRis7KjAaYLcC/Fy\nEr2WONBVUieRWAdRe7hWOlIhE1oGqQU3d0s8VmAEvbz8AUts+qW7D3BQ6ybr\nqNJqZL4TihRoSc7B5M736eAONjSemtbgO4CCzRxdZJ4ROx23LY2NefTS94cy\nkCp2nkWcrVzXfkH9xPpO4FNfshc/MQ8LF4+XeD2o4bGwsqNyZKXV1Q4qncPx\nG3RCa++38cFOEv+9vvKZmdcDp356GwKOSwfUCxFruu/dLLA6oXy22AEOuMAw\nMynloSqRVybq2B4DGtI8+g8YjE3tncEs2vSAtWoUa3Zh3G/FLib4vXDqXsPs\n1WKczZrRAu1kamlZIJzF5ZlCmKpj+wl8HTSLj1/v3Rd4Nkz8Y2coxKUDe4lp\net1snUyRlQNTy6MYLsRjqdEzQyis1co78nF2KqKXlwvsetlq0xYvFbwig5SI\nBMTP\r\n=tnnY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH/1apiFhu4ZhyFNMLbFF2BlMUO4Ss/4KC7yTjFLGPMrAiBqrvXVlyQ7vx1uB14excvduTS6+HOALmhnZnjrN0/vwA=="}]},"maintainers":[{"name":"vla8islav","email":"vladislav888@gmail.com"}],"_npmUser":{"name":"vla8islav","email":"vladislav888@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/mailslurp-helper_1.0.6_1574275411611_0.5843623822682451"},"_hasShrinkwrap":false}},"time":{"created":"2019-11-01T10:14:03.816Z","1.0.2":"2019-11-01T10:14:04.259Z","modified":"2022-04-05T00:01:08.994Z","1.0.3":"2019-11-01T10:35:35.566Z","1.0.4":"2019-11-01T10:49:54.312Z","1.0.5":"2019-11-20T17:12:38.184Z","1.0.6":"2019-11-20T18:43:31.741Z"},"maintainers":[{"name":"vla8islav","email":"vladislav888@gmail.com"}],"description":"MailSlurp helper for testing emails https://mailslurp.com","homepage":"https://github.com/codecept-js/mailslurp-helper#readme","repository":{"type":"git","url":"git+https://github.com/Vla8islav/mailslurp-helper.git"},"author":{"name":"Pilipenko Vladislav vladislav888@gmail.com"},"bugs":{"url":"https://github.com/codecept-js/mailslurp-helper/issues"},"license":"ISC","readme":"# MailSlurp helper for CodeceptJS\n\nMailSlurp helper for testing emails with [MailSlurp service](https://mailslurp.com).\nMailSlurp creates disposable mailbox for each test and removes it after a test.\n\n## Setup\n\nRegister and obtain API key from [MailSlurp](https://mailslurp.com).\n\n```\nnpm i @codeceptjs/mailslurp-helper --save\n```\n\nEnable helper in `codecept.conf.js`.\n\n```js\nhelpers: {\n  MailSlurp: {\n    apiKey: '<insert api key here>',\n    require: '@codeceptjs/mailslurp-helper'    \n  },\n}\n```\n\n## Use Cases\n\nUse this helper in your tests to check email interactions. The most popular one\n\n* Account activation\n* Restore forgotten password\n* Action verification\n\n## Use Case: Restore Password\n\n```js\nconst mailbox = await I.haveNewMailbox();\n// register user on a website\nI.registerUser(mailbox.emailAddress);\n// wait 10 seconds for an email\nconst email = await I.waitForLatestEmail(10);\nI.seeInEmailSubject('Restore Password');\nI.seeInEmailBody('Click link to restore password');\nconst restoreUrl = email.body.match(/http(s):\\/\\/(.*?)\\s/)[0];\nI.amOnPage(restoreUrl);\n```\n\n## Switching Between Mailboxes\n\n```js\nconst mailbox1 = await I.haveNewMailbox();\nconst mailbox2 = await I.haveNewMailbox();\nI.openMailbox(mailbox1);\nconst email = I.waitForEmailMatching({ subject: 'Register' });\n```\n\n## Using Custom Assertions In Tests\n\n```js\nconst assert = require('assert');\nconst mailbox = await I.haveNewMailbox();\nconst email = await I.waitForEmailMatching({ subject: 'Thanks' });\nassert.eql(email.subject, 'Thanks for registering')\n```\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n-   [MailSlurp](#mailslurp)\n-   [Configuration](#configuration)\n    -   [Parameters](#parameters)\n    -   [haveNewMailbox](#havenewmailbox)\n    -   [openMailbox](#openmailbox)\n        -   [Parameters](#parameters-1)\n    -   [sendEmail](#sendemail)\n        -   [Parameters](#parameters-2)\n    -   [waitForLatestEmail](#waitforlatestemail)\n        -   [Parameters](#parameters-3)\n    -   [waitForEmailMatching](#waitforemailmatching)\n        -   [Parameters](#parameters-4)\n    -   [waitForNthEmail](#waitfornthemail)\n        -   [Parameters](#parameters-5)\n    -   [grabEmailsMatching](#grabemailsmatching)\n        -   [Parameters](#parameters-6)\n    -   [grabAllEmailsFromMailbox](#graballemailsfrommailbox)\n    -   [seeInEmailSubject](#seeinemailsubject)\n        -   [Parameters](#parameters-7)\n    -   [dontSeeInEmailSubject](#dontseeinemailsubject)\n        -   [Parameters](#parameters-8)\n    -   [seeInEmailBody](#seeinemailbody)\n        -   [Parameters](#parameters-9)\n    -   [dontSeeInEmailBody](#dontseeinemailbody)\n        -   [Parameters](#parameters-10)\n    -   [seeEmailIsFrom](#seeemailisfrom)\n        -   [Parameters](#parameters-11)\n    -   [seeEmailSubjectEquals](#seeemailsubjectequals)\n        -   [Parameters](#parameters-12)\n    -   [dontSeeEmailSubjectEquals](#dontseeemailsubjectequals)\n        -   [Parameters](#parameters-13)\n\n### MailSlurp\n\nAllows to use real emails in end 2 end tests via [MailSlurp service](https://mailslurp.com).\nSign up for account at MailSlurp to start.\n\nA helper requires apiKey from MailSlurp to start\n\n```js\nhelpers: {\n  MailSlurp: {\n    apiKey: '<insert api key here>',\n    require: '@codeceptjs/mailslurp-helper'    \n  },\n}\n```\n\n> Use .env file and environment variables to store sensitive data like API keys\n\n### Configuration\n\n-   `apiKey` (required) -  api key from MailSlurp\n-   `timeout` (default: 10000) - time to wait for emails in milliseconds.\n\n#### Parameters\n\n-   `config`  \n\n#### haveNewMailbox\n\nCreates a new mailbox. A mailbox will be deleted after a test.\nSwitches to last created mailbox.\n\n```js\nconst mailbox = await I.haveMailbox();\n```\n\n#### openMailbox\n\nChange a current mailbox to a provided one:\n\n```js\nconst mailbox1 = await I.haveMailbox();\nconst mailbox2 = await I.haveMailbox();\n// mailbox2 is now default mailbox\n// switch back to mailbox1\nI.openMailbox(mailbox)\n```\n\n##### Parameters\n\n-   `mailbox`  \n\n#### sendEmail\n\nSends an email from current mailbox, created by `I.haveNewMailbox()`.\n\n```js\nI.sendEmail({\n  to: ['user@site.com'],\n  subject: 'Hello',\n  body: 'World'       \n});\n```\n\n##### Parameters\n\n-   `data`  \n\n#### waitForLatestEmail\n\nWaits for the first email in mailbox.\nIf mailbox is not empty - opens the last email.\n\n```js\nI.waitForLatestEmail()\n// wait for 30 seconds for an email\nI.waitForLatestEmail(30);\n```\n\n##### Parameters\n\n-   `sec` **num?** Number of seconds to wait.\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;Email>** an email received.\n\n#### waitForEmailMatching\n\nWait for an exact email matched by query. You can match emails by `from`, `to`, `subject`, `cc`, `bcc` fields.\nMy default, non-strcit matching enabled, so it searches for inclusion of a string. For a strict matching (equality) \nprepend a value with `=` prefix.\n\n```js\n // wait for email with 'password' in subject\nconst email = await I.waitForEmail({\n subject: 'password',\n});\n\n// wait 30 seconds for email with exact subject\nconst email = await I.waitForEmail({\n subject: '=Forgot password',\n}, 30);\n\n// \nconst email = await I.waitForEmail({\n from: '@mysite.com', // find anything from mysite\n subject: 'Restore password', // with Restore password in subject\n});\n```\n\n##### Parameters\n\n-   `query` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** to locate an email\n-   `sec` **num?** Number of seconds to wait.\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;Email>** an email received.\n\n#### waitForNthEmail\n\nWait for exact number of emails in mailbox. Returns the last email in the list.\n\n```js\n// wait for 2 emails\nI.waitForNthEmail(2);\n// wait for 5 emails for 60 seconds\nI.waitForNthEmail(5, 60);\n// wait for 2 emails and return the last one\nconst email = await I.waitForNthEmail(2); \n```\n\n##### Parameters\n\n-   `number`  \n-   `sec`  \n\n#### grabEmailsMatching\n\nReturns a bunch of emails matched by query. \nSimilar to `waitForEmailMatching` but returns an array of emails.\n\n```js\n// return 2 emails from 'user@user.com'\nconst emails = await I.grabEmailsMatching({ from: 'user@user.com'}, 2);\n```\n\n##### Parameters\n\n-   `query` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** to locate an email\n-   `num` **num?** Number of emails to return.\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;\\[Email]>** emails matching criteria.\n\n#### grabAllEmailsFromMailbox\n\nReturns all emails from a mailbox.\n\n```js\nconst emails = await I.grabAllEmailsFromMailbox();\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)&lt;\\[Email]>** emails.\n\n#### seeInEmailSubject\n\nChecks that current email subject contains a text.\n\n```js\nI.seeInEmailSubject('Restore password');\n```\n\nRequires an opened email. Use either `waitForEmail*` methods to open. Or open manually with `I.openEmail()` method.\n\n##### Parameters\n\n-   `text`  \n\n#### dontSeeInEmailSubject\n\nChecks that current email subject does not contain a text.\n\n```js\nI.seeInEmailSubject('Restore password');\n```\n\nRequires an opened email. Use either `waitForEmail*` methods to open. Or open manually with `I.openEmail()` method.\n\n##### Parameters\n\n-   `text`  \n\n#### seeInEmailBody\n\nChecks that current email body contains a text.\n\n```js\nI.seeInEmailBody('Click link');\n```\n\nRequires an opened email. Use either `waitForEmail*` methods to open. Or open manually with `I.openEmail()` method.\n\n##### Parameters\n\n-   `text`  \n\n#### dontSeeInEmailBody\n\nChecks that current email body does not contain a text.\n\n```js\nI.dontSeeInEmailBody('Click link');\n```\n\nRequires an opened email. Use either `waitForEmail*` methods to open. Or open manually with `I.openEmail()` method.\n\n##### Parameters\n\n-   `text`  \n\n#### seeEmailIsFrom\n\nChecks that email is from a specified address.\n\n```js\nI.seeEmailIsFrom('user@user.com');\n```\n\nRequires an opened email. Use either `waitForEmail*` methods to open. Or open manually with `I.openEmail()` method.\n\n##### Parameters\n\n-   `text`  \n\n#### seeEmailSubjectEquals\n\nChecks that current email subject equals to text.\n\n```js\nI.seeEmailSubjectEquals('Restore password');\n```\n\nRequires an opened email. Use either `waitForEmail*` methods to open. Or open manually with `I.openEmail()` method.\n\n##### Parameters\n\n-   `text`  \n\n#### dontSeeEmailSubjectEquals\n\nChecks that current email subject doesn't equal to text.\n\n```js\nI.dontSeeEmailSubjectEquals('Restore password');\n```\n\nRequires an opened email. Use either `waitForEmail*` methods to open. Or open manually with `I.openEmail()` method.\n\n##### Parameters\n\n-   `text`  \n","readmeFilename":"README.md"}