{"_id":"@brightspot-playwright/playwright-brightspot","_rev":"10-861baf8c016f0b32b8bdf6b160073bde","name":"@brightspot-playwright/playwright-brightspot","dist-tags":{"latest":"5.0.2"},"versions":{"0.0.1":{"name":"@brightspot-playwright/playwright-brightspot","version":"0.0.1","author":{"name":"Brightspot"},"license":"Apache-2.0","_id":"@brightspot-playwright/playwright-brightspot@0.0.1","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"7f7b1f4ee2134c362fe2022f89e4faa62b02763e","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-0.0.1.tgz","fileCount":78,"integrity":"sha512-3EGPtNdqBtq046ZkZ2sSpvoNFCi9Qr0Dw7VIIYbfgvFd8KJ9ceQKs+dJPeGkl4IE6G+icKW0FAm7ZcHA0eVi3g==","signatures":[{"sig":"MEUCIBIS5F08ysTA6dDB4FDGeVu2U8bOl6MlDEQL0X4RbWAYAiEA/iLokcM6tSZcDZYxgAQ1RIKcsmB2HPxgWZYGgzSS36w=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":570279},"main":"./src/index.js","type":"commonjs","exports":{".":"./src/index.js"},"_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"},"repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"10.9.2","description":"Library to support Brightspot Playwright tests","directories":{},"_nodeVersion":"22.13.1","dependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":">=1.40","@playwright/test":">=1.40"},"_npmOperationalInternal":{"tmp":"tmp/playwright-brightspot_0.0.1_1777467505127_0.8257945737679036","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@brightspot-playwright/playwright-brightspot","version":"0.0.2","author":{"name":"Brightspot"},"license":"Apache-2.0","_id":"@brightspot-playwright/playwright-brightspot@0.0.2","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"bd2d6556bc509212f029c134ca54e5d5fbe6b921","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-0.0.2.tgz","fileCount":78,"integrity":"sha512-t3oULTIL5o5tlY3ovPLUVKNuYcBd5V1xvk0VbiZ9ETQnJzy4Hwn7mZNgwms+5Ij0lYUiCRirhH9lYUrbz4iFBg==","signatures":[{"sig":"MEQCICxkiLf9NwA7qf6sR5G/nnR6IOZMtCLVBfkWTSYpLUp6AiBla2OSFP1ZkMj5IHlqSoo6wkH3hol6wfwg7ka9vmi7Eg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":570275},"main":"./src/index.js","type":"commonjs","exports":{".":"./src/index.js"},"_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"},"repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"10.9.2","description":"Library to support Brightspot Playwright tests","directories":{},"_nodeVersion":"22.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/playwright-brightspot_0.0.2_1777474990456_0.13514146285139028","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@brightspot-playwright/playwright-brightspot","version":"0.0.3","author":{"name":"Brightspot"},"license":"Apache-2.0","_id":"@brightspot-playwright/playwright-brightspot@0.0.3","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"44818777d3288f5ca8345b26c3df80c549d27475","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-0.0.3.tgz","fileCount":78,"integrity":"sha512-Z+QhHiARdHxO04XZEdBMmKV+D/p1TZloHCzANxlBbFrbKzWkBDEidw0IzH345cPVCyKndJQyJ8svkqgcBA3A8Q==","signatures":[{"sig":"MEUCIQDWrFo0TIiqp5tOR8eC3pYO4uAOyKZ+IfTafBTv9CylvAIgaNTQZ/XKa1bv29KS33XQEpab6m80qn/gc11kp3VvnUw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":569932},"main":"./src/index.js","type":"commonjs","exports":{".":"./src/index.js"},"_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"},"repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"10.9.2","description":"Library to support Brightspot Playwright tests","directories":{},"_nodeVersion":"22.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/playwright-brightspot_0.0.3_1777522243077_0.7647982588879612","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@brightspot-playwright/playwright-brightspot","version":"0.0.4","author":{"name":"Brightspot"},"license":"Apache-2.0","_id":"@brightspot-playwright/playwright-brightspot@0.0.4","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"525e666b69f480307b846f081b294afae939c23f","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-0.0.4.tgz","fileCount":85,"integrity":"sha512-1fCCdqjQPZH/7LwpC1o3r9Xy3RCkRSeCg/9ktfqrGdeFQ/eWpT9+W9RCPSpirdc69Lc0BF/hnTuUY1iJcnrInQ==","signatures":[{"sig":"MEQCIBmcCuphOTapPhZDYz0DclZyAlfjg2PUjnZKLS0vKnVoAiBphbds2EaJscbSWR9+cS0WAx85+H81wRqekb1UfdQqfQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18067946},"main":"./src/index.js","type":"commonjs","exports":{".":"./src/index.js"},"_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"},"repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"10.9.2","description":"Library to support Brightspot Playwright tests","directories":{},"_nodeVersion":"22.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/playwright-brightspot_0.0.4_1777967354583_0.6951914604664073","host":"s3://npm-registry-packages-npm-production"}},"4.8.0":{"name":"@brightspot-playwright/playwright-brightspot","version":"4.8.0","author":{"name":"Brightspot"},"license":"Apache-2.0","_id":"@brightspot-playwright/playwright-brightspot@4.8.0","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"030717bd8c44f65e485d210e744f5926da595430","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-4.8.0.tgz","fileCount":86,"integrity":"sha512-+61Dwy5KtVx7K7OKLouwsbml2W3i7uEqyydgWIY1tpXypsnMn4+f/F4yiwh/PmokYsqxtBU7/tWKhY0fBGlPLA==","signatures":[{"sig":"MEUCIG20fu4ZBolNNwvYOtG9T/B6f+b8HvuTNJEbaoScGzFzAiEA8iCg4XwlmnEAz9McrYKh+ntImT+2gcHZtXmIzSdhwTs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18085932},"main":"./src/index.js","type":"commonjs","exports":{".":"./src/index.js"},"gitHead":"809cc1cdf02d4d253107754ceefd639e0e2ff1c6","_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"},"repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"10.9.2","description":"Library to support Brightspot Playwright tests","directories":{},"_nodeVersion":"22.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/playwright-brightspot_4.8.0_1777976439546_0.5809552532860098","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"@brightspot-playwright/playwright-brightspot","version":"5.0.0","author":{"name":"Brightspot"},"license":"Apache-2.0","_id":"@brightspot-playwright/playwright-brightspot@5.0.0","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"025a1c9b08d003e874dc970c5ce7172bf9e6cc65","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-5.0.0.tgz","fileCount":85,"integrity":"sha512-B+PW5XDXrcEy33u0nEvIj18s2915txOCdqxZONapi7QQGFEMsWXtuGuWXlHHh5+7xk7ZVww6D6MfdNEPkFxU+w==","signatures":[{"sig":"MEUCIBF7WYuBbMgsgY2C0xn5H94IKyecKzhqPqHBXu0siJ+yAiEAlTp1FIHKyOsvGpFTMFXI6suAZ4D69/VSX44LGWvAiVY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18067984},"main":"./src/index.js","type":"commonjs","exports":{".":"./src/index.js"},"gitHead":"809cc1cdf02d4d253107754ceefd639e0e2ff1c6","_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"},"repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"10.9.2","description":"Library to support Brightspot Playwright tests","directories":{},"_nodeVersion":"22.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/playwright-brightspot_5.0.0_1777976627097_0.9323902862053839","host":"s3://npm-registry-packages-npm-production"}},"4.8.1":{"name":"@brightspot-playwright/playwright-brightspot","version":"4.8.1","author":{"name":"Brightspot"},"license":"Apache-2.0","_id":"@brightspot-playwright/playwright-brightspot@4.8.1","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"22953cd854bc0504e8be4f9cacd8edbda15187c6","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-4.8.1.tgz","fileCount":86,"integrity":"sha512-625KcxSNRyP3e1JaBViHi9EzMiKZN9vTU6qzd+bGAmWSZCjDWRoKzMGtD/3e+FRsajesMN9mk9I7blzFI9wP+g==","signatures":[{"sig":"MEUCIQDY1+eZjRnFmz+G24/WqwHuG4YScKlP3s4GmQv0J8wrAQIgaGxNGVo5bqdWpAeNGZP737InmIrVDT8eA+EnG8b6hB0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18093181},"main":"./src/index.js","type":"commonjs","exports":{".":"./src/index.js"},"gitHead":"c7f81f4aca0ac0bfb5d2ae7413339d9e89f3adfd","_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"},"repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"10.9.2","description":"Library to support Brightspot Playwright tests","directories":{},"_nodeVersion":"22.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/playwright-brightspot_4.8.1_1777981180885_0.06220134851401227","host":"s3://npm-registry-packages-npm-production"}},"4.8.2":{"name":"@brightspot-playwright/playwright-brightspot","version":"4.8.2","author":{"name":"Brightspot"},"license":"Apache-2.0","_id":"@brightspot-playwright/playwright-brightspot@4.8.2","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"ca16ba884f1e1337e022d3138d4f99ae20e8ea73","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-4.8.2.tgz","fileCount":86,"integrity":"sha512-kCmnLw5y5S8Oo5c0WtpShtgA5hUwfaaoH+dyKfPFg2HN6VQ+2RW5CGg6luSopvfgLaEqY0CgrC7/mZC2JVrpsg==","signatures":[{"sig":"MEUCIFo24GRYadHErWteIPfhUeyEcLFBsuFPlf2yB3E5sny+AiEAnUF4vHf8FX2ERyiRpFNGkq5K1+SGgBpvGRVKpQxuoNk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18099807},"main":"./src/index.js","type":"commonjs","exports":{".":"./src/index.js"},"gitHead":"16d63cbf590dbd51829771e0bc80e4895be7a208","_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"},"repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"10.9.2","description":"Library to support Brightspot Playwright tests","directories":{},"_nodeVersion":"22.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/playwright-brightspot_4.8.2_1777984558252_0.9529336299711506","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"name":"@brightspot-playwright/playwright-brightspot","version":"5.0.1","author":{"name":"Brightspot"},"license":"Apache-2.0","_id":"@brightspot-playwright/playwright-brightspot@5.0.1","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"259035e6409040ddbd1ad7328212ca6b6cd04d92","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-5.0.1.tgz","fileCount":85,"integrity":"sha512-/5HZWGOPpEr9UOHn65xckSYSE2n6hw+JP8tWzsbvl9c0QZS+K+FKrYQ9cSZl7Lx7uOTtg4KchuaFtWDt5mJheg==","signatures":[{"sig":"MEUCIQDWoQb8HbilKTMQwqvMZuxKwJ2C1fY/wp7si0J/KyMsQgIgZPztQdZIjsmH27BTu5xLv23NOK7g+LFT1L95efipURU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18081435},"main":"./src/index.js","type":"commonjs","exports":{".":"./src/index.js"},"gitHead":"0b16d5c2548f97ea047f41f5c5a41a4049b3c1d2","_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"},"repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"10.9.2","description":"Library to support Brightspot Playwright tests","directories":{},"_nodeVersion":"22.13.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/playwright-brightspot_5.0.1_1782736314752_0.33805701098611163","host":"s3://npm-registry-packages-npm-production"}},"5.0.2":{"_id":"@brightspot-playwright/playwright-brightspot@5.0.2","bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"dist":{"shasum":"df38a6403e7dc10d82c9fdbb72ac73a6689d3959","tarball":"https://registry.npmjs.org/@brightspot-playwright/playwright-brightspot/-/playwright-brightspot-5.0.2.tgz","integrity":"sha512-O8xaicZoHSajQon/lAASEkArbMpxc88a8zmmesC9daJh38ITT3Fi0afncvGoOECyUtOLti41aOnAllFei7849w==","fileCount":85,"unpackedSize":18108583,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD2SQ+tp84Yqx5lyNzFqRM0vJWbmriORNsSHcArTdIgSAIhAP7aT3Sl7noT26x0kLjX6Y+kJ2Ag6MPx79Fs4TKnTHsU"}]},"main":"./src/index.js","name":"@brightspot-playwright/playwright-brightspot","type":"commonjs","author":{"name":"Brightspot"},"exports":{".":"./src/index.js"},"gitHead":"0b16d5c2548f97ea047f41f5c5a41a4049b3c1d2","license":"Apache-2.0","version":"5.0.2","_npmUser":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com","approver":{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}},"homepage":"https://github.com/perfectsense/playwright-brightspot#readme","repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"_npmVersion":"12.0.2","description":"Library to support Brightspot Playwright tests","directories":{},"maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"_nodeVersion":"24.18.1","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"eslint":"^8.32.0","prettier":"2.8.4"},"peerDependencies":{"playwright":"^1.41.0","@playwright/test":"^1.41.0"},"peerDependenciesMeta":{"playwright":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/playwright-brightspot_5.0.2_1785748611906_0.6508886812423369"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-29T12:58:24.989Z","modified":"2026-08-03T09:16:52.456Z","0.0.1":"2026-04-29T12:58:25.307Z","0.0.2":"2026-04-29T15:03:10.702Z","0.0.3":"2026-04-30T04:10:43.216Z","0.0.4":"2026-05-05T07:49:15.160Z","4.8.0":"2026-05-05T10:20:40.168Z","5.0.0":"2026-05-05T10:23:47.861Z","4.8.1":"2026-05-05T11:39:41.551Z","4.8.2":"2026-05-05T12:35:59.313Z","5.0.1":"2026-06-29T12:31:55.203Z","5.0.2":"2026-08-03T09:16:52.278Z"},"bugs":{"url":"https://github.com/perfectsense/playwright-brightspot/issues"},"author":{"name":"Brightspot"},"license":"Apache-2.0","homepage":"https://github.com/perfectsense/playwright-brightspot#readme","repository":{"url":"git+https://github.com/perfectsense/playwright-brightspot.git","type":"git"},"description":"Library to support Brightspot Playwright tests","maintainers":[{"name":"avinash_kharat_bsp","email":"avinash.kharat.ext@brightspot.com"}],"readme":"# playwright-brightspot\n\nLibrary to support Brightspot Playwright tests. Sister package to [`@cypress-brightspot/cypress-brightspot`](https://www.npmjs.com/package/@cypress-brightspot/cypress-brightspot).\n\n## Status\n\n**Scaffold (v0.0.1).** Public API surface is defined in `src/index.js`. Page objects and helpers currently re-export from the consumer repo's `e2e-playwright/` tree; they will be migrated into `src/pages/` and `src/helpers/` as the package matures.\n\n## Install\n\n```bash\nnpm install @playwright-brightspot/playwright-brightspot\n```\n\nPeer deps: `@playwright/test >= 1.40`, `playwright >= 1.40`.\n\n## Usage\n\n```js\nconst { loginPage, sitesPage, articleEditPage } = require('@playwright-brightspot/playwright-brightspot');\n\ntest('login and open sites', async ({ page }) => {\n  await page.goto('/cms');\n  await loginPage.login(page, username, password);\n  await sitesPage.openSiteSettings(page);\n});\n```\n\n## Override / extend\n\n### Override a fixture\n\nPlace a JSON file at `<repo>/fixtures/overrides/<fileName>.json` (or set `PWB_OVERRIDES_DIR`). The override-aware loaders pick it up automatically:\n\n```js\nconst { getCMSTestData } = require('@playwright-brightspot/playwright-brightspot');\nconst theme = getCMSTestData('themeData.json'); // override if present, else bundled default\n```\n\n### Extend a page object\n\n```js\nconst { BaseContentTypePage } = require('@playwright-brightspot/playwright-brightspot');\n\nclass ArticleEditPage50 extends BaseContentTypePage {\n  getContentTypeLabel(page) {\n    // Override the 5.0-specific selector that would otherwise pick up\n    // the \"Saved...\" toast.\n    return page.locator('.ContentEdit-status--v5, .ContentEdit-revisionLabel').first();\n  }\n}\n\nmodule.exports = new ArticleEditPage50();\n```\n\n## Roadmap\n\n- [ ] Migrate page objects from `../../e2e-playwright/page-objects/` into `src/pages/`\n- [ ] Migrate helpers (excluding `global-setup`, `global-teardown`, `testDataFactory` — those stay in consumer)\n- [ ] Bundle generic CMS fixtures under `src/shared-tests/fixtures/entities/{cms,contentTypes}/`\n- [ ] Ship a starter pack of `shared-tests/e2e/*.spec.js` consumers can run via `--config`\n- [ ] Provide `examples/playwright.config.js` template + `install.sh`\n- [ ] Expose page-object **classes** (not just singletons) for `extends`-based overrides\n- [ ] Decouple `playwright.config` reads in `SitesAndSettingsPage.js` and `BaseFEPage.js` behind a `configure({ baseUrl, env })` factory\n- [ ] Fixture override directory configurable via `PWB_OVERRIDES_DIR` env var (already supported in the helper)\n\n## License\n\nApache 2.0\n","readmeFilename":"README.md"}